D3DWriteBlobToFile function
Writes a memory blob to a file on disk.
Syntax
HRESULT WINAPI D3DWriteBlobToFile( in ID3DBlob pBlob, in LPCWSTR pFileName, in BOOL bOverwrite );
Parameters
- pBlob [in]
-
Type: ID3DBlob*
A pointer to a ID3DBlob interface that contains the memory blob to write to the file that the pFileName parameter specifies.
- pFileName [in]
-
Type: LPCWSTR
A pointer to a constant null-terminated string that contains the name of the file to which to write.
- bOverwrite [in]
-
Type: BOOL
A Boolean value that specifies whether to overwrite information in the pFileName file. TRUE specifies to overwrite information and FALSE specifies not to overwrite information.
Return value
Type: HRESULT
Returns one of the Direct3D 11 return codes.
Remarks
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also