Microsoft DirectX 9.0 SDK Update (October 2004)

Framework.ExitCode Property

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves the sample framework exit code.

Definition

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

Property Value

System.Int32 . The sample framework exit code.

This property is read-only. 

Remarks

This table contains descriptions of possible ExitCode property values. There is no exit code value of 1.
ValueDescription
0Successful execution.
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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center