SetStringInBlob function

The SetStringInBlob function sets a string at a given location within a BLOB.

Syntax

DWORD SetStringInBlob(
  _In_       HBLOB hBlob,
  _In_ const char  *pOwnerName,
  _In_ const char  *pCategoryName,
  _In_ const char  *pTagName,
  _In_ const char  *pString
);

Parameters

hBlob [in]

A handle to the BLOB.

pOwnerName [in]

A pointer to the Owner section of the BLOB, where the string is set.

pCategoryName [in]

A pointer to the Category section of the BLOB, where the string is set.

pTagName [in]

A pointer to the Tag of the requested string.

pString [in]

A pointer to the variable where a pointer to the string will be returned.

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 problem.

If the specified Owner, Category, or Tag information does not exist, the return value is NMERR_BLOB_ENTRY_DOES_NOT_EXIST.

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

GetStringFromBlob

SetBoolInBlob

SetClassIDInBlob

SetDwordInBlob

SetMacAddressInBlob

SetNetworkInfoInBlob

SetNPPAddressFilterInBlob

SetNPPPatternFilterInBlob

SetNPPTriggerInBlob