Funzione SetMacAddressInBlob

La funzione SetMacAddressInBlob imposta l'indirizzo MAC richiesto di un BLOB.

Sintassi

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

Parametri

hBlob [in]

Gestire il BLOB da impostare.

pOwnerName [in]

Puntatore al nome del proprietario DEL BLOB impostato.

pCategoryName [in]

Puntatore al nome della categoria BLOB da impostare.

pTagName [in]

Puntatore al nome del tag BLOB impostato.

pMacAddress [in]

Puntatore all'indirizzo MAC del BLOB da impostare.

Valore restituito

Se la funzione ha esito positivo, il valore restituito viene NMERR_SUCCESS.

Se la funzione ha esito negativo, il valore restituito è un valore NMERR che indica l'errore.

Requisiti

Requisito Valore
Client minimo supportato
Windows 2000 Professional [solo app desktop]
Server minimo supportato
Windows 2000 Server [solo app desktop]
Intestazione
Netmon.h
Libreria
Npptools.lib
DLL
Npptools.dll

Vedi anche

GetMacAddressFromBlob

SetBoolInBlob

SetClassIDInBlob

SetDwordInBlob

SetNetworkInfoInBlob

SetNPPAddressFilterInBlob

SetNPPPatternFilterInBlob

SetNPPTriggerInBlob

SetStringInBlob