![]() |
![]() |
![]() |
Framework.ExitCode Property |
Language: |
Retrieves the sample framework exit code.
Visual Basic .NET Public ReadOnly Property ExitCode As Integer C# public int ExitCode { get; } Managed C++ public: __property int get_ExitCode(); JScript .NET public function get ExitCode() : int
System.Int32 . The sample framework exit code.
This property is read-only.
This table contains descriptions of possible ExitCode property values. There is no exit code value of 1.
Value Description 0 Successful execution. 2 No compatible Microsoft® Direct3D® device could be found. 3 No Device object could be found with the specified device settings. 4 The Microsoft DirectX® software development kit (SDK) media file could not be found. 5 The Device object has a nonzero reference count, meaning that some objects were not released. 6 An error occurred when attempting to create the Device object. 7 An error occurred when attempting to reset the Device object. 8 An error occurred in the device creation callback function. 9 An error occurred in the device creation callback function. 10 The incorrect version of DirectX or D3DX is installed.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center