Funzione GetMacAddressFromBlob

La funzione GetMacAddressFromBlob recupera l'indirizzo MAC denominato da un BLOB.

Sintassi

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

Parametri

hBlob [in]

Gestire in un BLOB.

pOwnerName [in]

Puntatore al nome del proprietario del BLOB.

pCategoryName [in]

Puntatore al nome della categoria BLOB.

pTagName [in]

Puntatore al nome del tag BLOB.

pMacAddress [out]

Puntatore all'indirizzo MAC del BLOB.

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

SetMacAddressInBlob

GetBoolFromBlob

GetClassIDFromBlob

GetDwordFromBlob

GetNetworkInfoFromBlob

GetNPPAddressFilterFromBlob

GetNPPPatternFilterFromBlob

GetNPPTriggerFromBlob

GetStringFromBlob

GetStringsFromBlob