Partager via


SetClassIDInBlob

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

DWORDSetClassIDInBlob(HBLOBhBlob,
const char*pOwnerName,
const char*pCategoryName,
const char*pTagName,
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 Values

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

Client Requires Windows XP, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Header

Declared in Netmon.h.

Library

Link to Npptools.lib.

DLL Requires Npptools.dll.

See Also

GetClassIDFromBlob, SetBoolInBlob, SetDwordInBlob, SetMacAddressInBlob, SetNetworkInfoInBlob, SetNPPAddressFilterInBlob, SetNPPPatternFilterInBlob, SetNPPTriggerInBlob, SetStringInBlob