This documentation is archived and is not being maintained.
ResultCode Enumeration (Microsoft.DirectX.Direct3D)
Defines result codes.
Definition
| Visual Basic | Public Enum ResultCode |
| C# | public enum ResultCode |
| C++ | public enum class ResultCode |
| JScript | public enum ResultCode |
Members
| Member | Value | Description |
| InvalidCall | -2005530516 | Method call is invalid; for example, a method's parameter might not be a valid pointer. |
| InvalidDevice | -2005530517 | Requested device type is not valid. |
| NotAvailable | -2005530518 | Device does not support the queried technique. |
| DeviceNotReset | -2005530519 | Device has been lost but can be reset at this time. |
| DeviceLost | -2005530520 | Device has been lost but cannot be reset at this time. Therefore, rendering is not possible. |
| UnsupportedTextureFilter | -2005530590 | Device does not support the specified texture filter. |
| UnsupportedFactorValue | -2005530593 | Device does not support the specified texture factor value. |
| ConflictingTextureFilter | -2005530594 | Current texture filters cannot be used together. |
| TooManyOperations | -2005530595 | Application is requesting more texture-filtering operations than the device supports. |
| UnsupportedAlphaArgument | -2005530596 | Device does not support a specified texture-blending argument for the alpha channel. |
| UnsupportedAlphaOperation | -2005530597 | Device does not support a specified texture-blending operation for the alpha channel. |
| UnsupportedColorArgument | -2005530598 | Device does not support a specified texture-blending argument for color values. |
| UnsupportedColorOperation | -2005530599 | Device does not support a specified texture-blending operation for color values. |
| WrongTextureFormat | -2005530600 | Pixel format of the texture surface is not valid. |
| Success | 0 | Operation was successful. |
Enumeration Information
| Namespace | Microsoft.DirectX.Direct3D |
| Assembly | Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) |
| Strong Name | Microsoft.DirectX.Direct3D,
Version=1.0.900.0,
Culture=neutral,
PublicKeyToken=d3231b57b74a1492 |