Редагувати

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


GetFrameMacType function

The GetFrameMacType function returns the MAC type of the frame.

Syntax

DWORD WINAPI GetFrameMacType(
  _In_ HFRAME hFrame
);

Parameters

hFrame [in]

Handle to the frame.

Return value

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

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