WriteBlobToFile function

The WriteBlobToFile function writes a BLOB to a file.

Syntax

DWORD WriteBlobToFile(
  _In_       HBLOB hBlob,
  _In_ const char  *pFileName
);

Parameters

hBlob [in]

Handle to the BLOB.

pFileName [in]

Pointer to the name of the file, in which the BLOB is saved.

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