Microsoft DirectX 8.1 (C++) |
The SaveToBlob method saves the property data to a persistence format.
Syntax
HRESULT SaveToBlob(
LONG *pcSize,
BYTE **ppb
);
Parameters
pcSize
[out] Pointer to a variable that receives the size of the data, in bytes.
ppb
[out] Address of a pointer to an array of bytes that receives the data.
Return Value
Returns an HRESULT value. Possible values include the following:
Value | Description |
S_OK | Success. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | NULL pointer argument. |
Remarks
The method allocates memory for the byte array. The caller must free it, using the CoTaskMemFree function.
See Also