DirectX SDK |
This section pertains only to application development in Visual Basic. See Direct3D Immediate Mode C/C++ Tutorials.
A Visual Basic application initiates enumeration by retrieving a reference to an enumerator class. For the Using Device Enumeration tutorial, you need to declare references to the following enumerator classes:
The process of enumerating devices for your application can be broken down into the following steps:
The first step for an application that uses device enumeration is to retrieve a reference to a DirectDraw driver. The Enumeration sample uses the following application-defined subroutine call to enumerate the drivers that can be used by DirectDraw:
' Get driver information. EnumDriver
Driver enumeration is explained in Step 1.1: Enumerate Driver Information.
For more information on starting device enumeration, see Starting Device Enumeration.