Used to help determin what display modes are availible.
[Visual Basic] Overloads Public Shared Function ModeAvailible( _ ByVal AdapterIndex As Integer, _ ByVal Width As Integer, _ ByVal Height As Integer, _ ByVal BitDepth As Integer _ ) As Boolean
[C#] public static bool ModeAvailible( intAdapterIndex, intWidth, intHeight, intBitDepth );
Parameters
AdapterIndex
The index of the adapter to test.
Width
The width of the display mode to test for.
Height
The height of the display mode to test for.
BitDepth
The bit depth to test for. Only 16bit or 32bit is allowed otherwise argument exception is raised.