DestroyPhysicalMonitors function Null safety dxva2
- int dwPhysicalMonitorArraySize,
- Pointer<
PHYSICAL_MONITOR> pPhysicalMonitorArray
Closes an array of physical monitor handles. Call this function to close an array of monitor handles obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function.
_BOOL DestroyPhysicalMonitors(
DWORD dwPhysicalMonitorArraySize,
LPPHYSICAL_MONITOR pPhysicalMonitorArray
);
Implementation
int DestroyPhysicalMonitors(int dwPhysicalMonitorArraySize,
Pointer<PHYSICAL_MONITOR> pPhysicalMonitorArray) {
final _DestroyPhysicalMonitors = _dxva2.lookupFunction<
Int32 Function(Uint32 dwPhysicalMonitorArraySize,
Pointer<PHYSICAL_MONITOR> pPhysicalMonitorArray),
int Function(int dwPhysicalMonitorArraySize,
Pointer<PHYSICAL_MONITOR> pPhysicalMonitorArray)>(
'DestroyPhysicalMonitors');
return _DestroyPhysicalMonitors(
dwPhysicalMonitorArraySize, pPhysicalMonitorArray);
}