Framework.ExitCode Property

Language:

Retrieves the sample framework exit code.

Definition

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

Property Value

System.Int32
The sample framework exit code.

This property is read-only. 

Remarks

This table contains descriptions of possible ExitCode property values.
ValueDescription
0Successful execution.
1An undetermined error occurred.
2No compatible Microsoft Direct3D device could be found.
3No Device object could be found with the specified device settings.
4The Microsoft DirectX software development kit (SDK) media file could not be found.
5The Device object has a nonzero reference count, meaning that some objects were not released.
6An error occurred when attempting to create the Device object.
7An error occurred when attempting to reset the Device object.
8An error occurred in the device creation callback function.
9An error occurred in the device creation callback function.
10The incorrect version of DirectX or D3DX is installed.
11The 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