DeviceCreationParameters.AdapterOrdinal Property |
Language: |
Retrieves an ordinal number that denotes the display adapter.
Visual Basic Public ReadOnly Property AdapterOrdinal As Integer C# public int AdapterOrdinal { get; } C++ public:
property int AdapterOrdinal {
int get();
}JScript public function get AdapterOrdinal() : int
System.Int32
This property is read-only.
An Int32 value that indicates an ordinal number that denotes the display adapter.
Use this ordinal as the adapter parameter for any of the Manager methods.
Note that different instances of Microsoft Direct3D objects can use different ordinals. For example, adapters can enter or leave a system when users add or remove monitors from a multiple-monitor system, or when they hot-swap a laptop. Consequently, this ordinal should be used only in a Direct3D instance known to be valid, such as the Direct3D object that created this Device.
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