GetStringFromBlob function
The GetStringFromBlob function returns a string located at a given position within a BLOB.
Syntax
DWORD GetStringFromBlob(
_In_ HBLOB hBlob,
_In_ const char *pOwnerName,
_In_ const char *pCategoryName,
_In_ const char *pTagName,
_Out_ const char **ppString
);
Parameters
-
hBlob [in]
-
A handle to the BLOB.
-
pOwnerName [in]
-
A BLOB Owner section where the string is located.
-
pCategoryName [in]
-
A BLOB Category section where the string is located.
-
pTagName [in]
-
The Tag of the requested string.
-
ppString [out]
-
A pointer to a variable that points to the returned string.
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.
If the specified Owner, Category, or Tag data does not exist, the function returns 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 |
|
Library |
|
DLL |
|