SetMacAddressInBlob function

The SetMacAddressInBlob function sets the requested MAC address of a BLOB.

Syntax

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

Parameters

hBlob [in]

Handle to the BLOB being set.

pOwnerName [in]

Pointer to the BLOB Owner name being set.

pCategoryName [in]

Pointer to the BLOB Category name being set.

pTagName [in]

Pointer to the BLOB Tag name being set.

pMacAddress [in]

Pointer to the MAC address of the BLOB being set.

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 indicates 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

GetMacAddressFromBlob

SetBoolInBlob

SetClassIDInBlob

SetDwordInBlob

SetNetworkInfoInBlob

SetNPPAddressFilterInBlob

SetNPPPatternFilterInBlob

SetNPPTriggerInBlob

SetStringInBlob