DestroyPhysicalMonitors function (physicalmonitorenumerationapi.h)
Closes an array of physical monitor handles. Call this function to close an array of monitor handles obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function.
Syntax
_BOOL DestroyPhysicalMonitors(
[in] DWORD dwPhysicalMonitorArraySize,
[in] LPPHYSICAL_MONITOR pPhysicalMonitorArray
);
Parameters
[in] dwPhysicalMonitorArraySize
Number of elements in the pPhysicalMonitorArray array.
[in] pPhysicalMonitorArray
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | physicalmonitorenumerationapi.h |
Library | Dxva2.lib |
DLL | Dxva2.dll |