Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The GetNPPMacTypeAsNumber function retrieves the MAC type from the NetworkInfo category of the NPP section of the BLOB and converts the type data into a MAC type number.
DWORDGetNPPMacTypeAsNumber(HBLOBhBlob,
LPDWORDlpMacType);
Parameters
- hBlob
[in] A handle to the specified BLOB. - lpMacType
[out] A pointer to the MAC type.
Return Values
If the function is successful, the return value is NMERR_SUCCESS.
If the tag is unavailable, the return value is MAC_TYPE_UNKNOWN.
Remarks
This function maps the tag, NPP:NetworkInfo:MacType to the MAC_TYPE_* as defined in the Npptypes.h file.
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 Npptools.lib. |
| DLL | Requires Npptools.dll. |