SetClassIDInBlob function

The SetClassIDInBlob function sets the named class identifier value of a BLOB.

Syntax

DWORD SetClassIDInBlob(
  _In_       HBLOB hBlob,
  _In_ const char  *pOwnerName,
  _In_ const char  *pCategoryName,
  _In_ const char  *pTagName,
  _In_ const CLSID *pClsID
);

Parameters

hBlob [in]

Handle to a BLOB.

pOwnerName [in]

Pointer to the BLOB Owner name that is set.

pCategoryName [in]

Pointer to the BLOB Category name that is set.

pTagName [in]

Pointer to the BLOB Tag name that is set.

pClsID [in]

Pointer to the class identifier of the BLOB that is 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

GetClassIDFromBlob

SetBoolInBlob

SetDwordInBlob

SetMacAddressInBlob

SetNetworkInfoInBlob

SetNPPAddressFilterInBlob

SetNPPPatternFilterInBlob

SetNPPTriggerInBlob

SetStringInBlob