The GetFrameMacType function returns the MAC type of the frame.
DWORD WINAPIGetFrameMacType(HFRAMEhFrame);
Parameters
- hFrame
[in] Handle to the frame.
Return Values
The function returns the MAC type of the frame, which can have one of the following values.
- MAC_TYPE_UNKNOWN
- MAC_TYPE_ETHERNET
- MAC_TYPE_TOKENRING
- MAC_TYPE_FDDI
Remarks
Experts and parsers can call the GetFrameMacType 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. |