Export (0) Print
Expand All
Expand Minimize

DestroyPhysicalMonitors function

Applies to: desktop apps only

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

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

PhysicalMonitorEnumerationAPI.h

Library

Dxva2.lib

DLL

Dxva2.dll

See also

Monitor Configuration Functions
DestroyPhysicalMonitor Function

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Community Additions

ADD
Show:
© 2014 Microsoft