GetMacAddressFromBlob function

The GetMacAddressFromBlob function retrieves the named MAC address from a BLOB.

Syntax

DWORD GetMacAddressFromBlob(
  _In_        HBLOB hBlob,
  _In_  const char  *pOwnerName,
  _In_  const char  *pCategoryName,
  _In_  const char  *pTagName,
  _Out_       BYTE  *pMacAddress
);

Parameters

hBlob [in]

Handle to a BLOB.

pOwnerName [in]

Pointer to the BLOB owner name.

pCategoryName [in]

Pointer to the BLOB category name.

pTagName [in]

Pointer to the BLOB tag name.

pMacAddress [out]

Pointer to the MAC address of the BLOB.

Return value

If the function is successful, the return value is NMERR_SUCCESS.

If the function is unsuccessful, the return value is a NMERR value that describes the error.

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
Npptools.lib
DLL
Npptools.dll

See also

SetMacAddressInBlob

GetBoolFromBlob

GetClassIDFromBlob

GetDwordFromBlob

GetNetworkInfoFromBlob

GetNPPAddressFilterFromBlob

GetNPPPatternFilterFromBlob

GetNPPTriggerFromBlob

GetStringFromBlob

GetStringsFromBlob