Share via


GetFrameFromFrameHandle

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

ULPFRAME WINAPIGetFrameFromFrameHandle(HFRAMEhFrame);

Parameters

  • hFrame
    [in] Handle to the frame.

Return Values

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

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Nmapi.lib.

DLL Requires Nmapi.dll.