Share via


GetFrameMacHeaderLength

The GetFrameMacHeaderLength function returns the length, in bytes, of the MAC header of the frame.

DWORD WINAPIGetFrameMacHeaderLength(HFRAMEhFrame);

Parameters

  • hFrame
    [in] Handle to the frame.

Return Values

If the function is successful, the return value is the length — in bytes — of the MAC header.

If the function is not successful, or an unknown MAC type is encountered, the return value is zero.

Remarks

Experts and parsers can call the GetFrameMacHeaderLength 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.