typedef HRESULT (FAR PASCAL * LPD3DENUMDEVICESCALLBACK)
(LPGUID lpGuid, LPSTR lpDeviceDescription,
LPSTR lpDeviceName, LPD3DDEVICEDESC lpD3DHWDeviceDesc,
LPD3DDEVICEDESC lpD3DHELDeviceDesc, LPVOID lpUserArg);
Prototype definition for the callback function to enumerate installed Direct3D devices.
ˇApplications should return one of the following values:
Cancel the enumeration.
Continue the enumeration.
lpGuid
Address of a globally unique identifier (GUID).
lpDeviceDescription
Address of a textual description of the device.
lpDeviceName
Address of the device name.
lpD3DHWDeviceDesc
Address containing the hardware capabilities of the Direct3D device.
lpD3DHELDeviceDesc
Address containing the emulated capabilities of the Direct3D device.
lpUserArg
Address of application-defined data passed to this callback function.
When determining the order in which to call callback functions, the system searches the objects highest in the hierarchy first, and then calls their callback functions in the order in which they were created.