Direct3D 12 Return Codes
The following are return codes from API functions. For more return codes, see DXGI_ERROR.
| Symbolic | Code | Description |
|---|---|---|
| D3D12_ERROR_ADAPTER_NOT_FOUND | The specified cached PSO was created on a different adapter and cannot be reused on the current adapter. | |
| D3D12_ERROR_DRIVER_VERSION_MISMATCH | The specified cached PSO was created on a different driver version and cannot be reused on the current adapter. | |
| D3DERR_INVALIDCALL | The method call is invalid. For example, a method's parameter may not be a valid pointer. | |
| D3DERR_WASSTILLDRAWING | The previous blit operation that is transferring information to or from this surface is incomplete. | |
| E_FAIL | Attempted to create a device with the debug layer enabled and the layer is not installed. | |
| E_INVALIDARG | An invalid parameter was passed to the returning function. | |
| E_OUTOFMEMORY | Direct3D could not allocate sufficient memory to complete the call. | |
| E_NOTIMPL | The method call isn't implemented with the passed parameter combination. | |
| S_FALSE | Alternate success value, indicating a successful but nonstandard completion (the precise meaning depends on context). | |
| S_OK | No error occurred. | |
| 10 entries | ||
Article text from the Win32 documentation (opens in a new tab), by Microsoft, under the CC BY 4.0 (opens in a new tab) licence.