MacTypeToAddressType function
The MacTypeToAddressType function converts a given MAC type to an address type.
Syntax
DWORD WINAPI MacTypeToAddressType(
_In_ DWORD MacType
);
Parameters
-
MacType [in]
-
MAC type to be converted. Specify one of the following values:
MAC_TYPE_ETHERNET MAC_TYPE_TOKENRING MAC_TYPE_FDDI
Return value
If the function is successful, the return value is one of the following address types.
ADDRESS_TYPE_ETHERNET ADDRESS_TYPE_TOKENRING ADDRESS_TYPE_FDDI
If the function is unsuccessful, the MAC type is unknown, the return value is -1.
Remarks
Experts and parsers can call the MacTypeToAddressType function.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|