Monitor DestroyPhysicalMonitors Function
Monitor Configuration API |
Previous | Next |
DestroyPhysicalMonitors Function
Closes an array of open monitor handles. Call this function to close an array of monitor handles obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function.
Syntax
BOOL DestroyPhysicalMonitors( DWORD dwPhysicalMonitorArraySize , LPPHYSICAL_MONITOR pPhysicalMonitorArray );
Parameters
dwPhysicalMonitorArraySize
[in] Number of elements in the pPhysicalMonitorArray array.
pPhysicalMonitorArray
[in] Pointer to an array of PHYSICAL_MONITOR structures.
Return Value
If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.
Requirements
Client: Requires Windows Vista.
Header: Include PhysicalMonitorEnumerationAPI.h.
Library: Use dxva2.lib.
See Also
Previous | Next |