![]() |
![]() |
![]() |
DeviceCreationParameters.AdapterOrdinal Property |
Language: |
Retrieves an ordinal number that denotes the display adapter.
Visual Basic .NET Public ReadOnly Property AdapterOrdinal As Integer C# public int AdapterOrdinal { get; } Managed C++ public: __property int get_AdapterOrdinal(); JScript .NET public function get AdapterOrdinal() : int
System.Int32 . An Int32
This property is read-only.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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center