Framework.ExitCode Property |
Language: |
Retrieves the sample framework exit code.
Visual Basic Public ReadOnly Property ExitCode As Integer C# public int ExitCode { get; } C++ public:
property int ExitCode {
int get();
}JScript public function get ExitCode() : int
System.Int32
This property is read-only.
The sample framework exit code.
This table contains descriptions of possible ExitCode property values.
Value Description 0 Successful execution. 1 An undetermined error occurred. 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. 11 The device used upon exit was a Reference device type.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center