|Microsoft DirectX 9.0|
The SaveToBlob method saves the property data to a persistence format.
HRESULT SaveToBlob( LONG *pcSize, BYTE **ppb );
[out] Pointer to a variable that receives the size of the data, in bytes.
[out] Address of a pointer to an array of bytes that receives the data.
Returns an HRESULT value. Possible values include the following:
|E_POINTER||NULL pointer argument.|
The method allocates memory for the byte array. The caller must free it, using the CoTaskMemFree function.
All property names and values are truncated to 40 characters in length. For this reason, XML is the preferred persistence format. See IXml2Dex Interface.
Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.
Library: Use strmiids.lib.