Редагувати

Поділитися через


GetFrameFromFrameHandle function

The GetFrameFromFrameHandle function returns a pointer to a frame from a frame handle.

Syntax

ULPFRAME WINAPI GetFrameFromFrameHandle(
  _In_ HFRAME hFrame
);

Parameters

hFrame [in]

Handle to the frame.

Return value

If the function is successful, the return value is a pointer to the frame.

If the function is unsuccessful, the return value is 0.

Remarks

The GetFrameFromFrameHandle function retrieves data that cannot be retrieved by the other helper functions that Network Monitor provides. Use the following functions whenever possible.

GetFrameDstAddressOffset
GetFrameSrcAddressOffset
GetFrameCaptureHandle
GetFrameDestAddress
GetFrameSourceAddress
GetFrameMacHeaderLength
GetFrameLength
GetFrameStoredLength
GetFrameMacType
GetFrameNumber
GetFrameTimeStamp

Experts and parsers can call the GetFrameFromFrameHandle function.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Netmon.h
Library
Nmapi.lib
DLL
Nmapi.dll