The following table contains return codes from API functions.
| HRESULT | Description |
|---|---|
| E_ACCESSDENIED | The following functions can return E_ACCESSDENIED: Xbox One only supports one Direct3D device at a time. You can check for E_ACCESSDENIED to see if the device has already been created by either the same process or another exclusive-mode process. |
| 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. |
| S_FALSE | Alternate success value, indicating a successful but nonstandard completion (the precise meaning depends on context). |
| S_OK | No error occurred. |