1 out of 8 rated this helpful - Rate this topic

Direct3D 11 Return Codes

The following table contains return codes from API functions.

HRESULTDescription
D3D11_ERROR_FILE_NOT_FOUNDThe file was not found.
D3D11_ERROR_TOO_MANY_UNIQUE_STATE_OBJECTSThere are too many unique instances of a particular type of state object.
D3D11_ERROR_TOO_MANY_UNIQUE_VIEW_OBJECTSThere are too many unique instances of a particular type of view object.
D3D11_ERROR_DEFERRED_CONTEXT_MAP_WITHOUT_INITIAL_DISCARDThe first call to ID3D11DeviceContext::Map after either ID3D11Device::CreateDeferredContext or ID3D11DeviceContext::FinishCommandList per Resource was not D3D11_MAP_WRITE_DISCARD.
D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may not be a valid pointer.
D3DERR_WASSTILLDRAWINGThe previous blit operation that is transferring information to or from this surface is incomplete.
E_FAILAttempted to create a device with the debug layer enabled and the layer is not installed.
E_INVALIDARGAn invalid parameter was passed to the returning function.
E_OUTOFMEMORYDirect3D could not allocate sufficient memory to complete the call.
S_FALSEAlternate success value, indicating a successful but nonstandard completion (the precise meaning depends on context).
S_OKNo error occurred.

 

Related topics

Direct3D 11 Reference

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Community Additions

ADD
© 2013 Microsoft. All rights reserved.