Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the error from the last function call of the function-linking-graph.
Syntax
HRESULT GetLastError(
[out, optional] ID3DBlob **ppErrorBuffer
);
Parameters
[out, optional] ppErrorBuffer
Type: ID3DBlob**
An pointer to a variable that receives a pointer to the ID3DBlob interface that you can use to access the error.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the Direct3D 11 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11shader.h |
Library | D3DCompiler.lib |
DLL | D3DCompiler_47.dll |