D3DWriteBlobToFile function (d3dcompiler.h)
Note You can use this API to develop your Windows Store apps, but you can't use it in apps that you submit to the Windows Store.
Syntax
HRESULT D3DWriteBlobToFile(
[in] ID3DBlob *pBlob,
[in] LPCWSTR pFileName,
[in] BOOL bOverwrite
);
Parameters
[in] pBlob
Type: ID3DBlob*
A pointer to a ID3DBlob interface that contains the memory blob to write to the file that the pFileName parameter specifies.
[in] pFileName
Type: LPCWSTR
A pointer to a constant null-terminated string that contains the name of the file to which to write.
[in] bOverwrite
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
Note The D3dcompiler_44.dll or later version of the file contains the D3DWriteBlobToFile compiler function.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3dcompiler.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |