GetNPPMacTypeAsNumber function
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.
Syntax
DWORD GetNPPMacTypeAsNumber(
_In_ HBLOB hBlob,
_Out_ LPDWORD lpMacType
);
Parameters
-
hBlob [in]
-
A handle to the specified BLOB.
-
lpMacType [out]
-
A pointer to the MAC type.
Return value
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
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|
Library |
|
DLL |
|