DirectX SDK |
The DirectDrawEnum.GetMonitorHandle returns the monitor handle of the specified DirectDraw device.
object.GetName(index As Long) As Long
If the method succeeds, it returns the monitor handle of the device.
If the method fails, it raises an error, and Err.Number is set.