DestroyPhysicalMonitors function dxva2
Win32Result<bool>
DestroyPhysicalMonitors(
- int dwPhysicalMonitorArraySize,
- Pointer<
PHYSICAL_MONITOR> pPhysicalMonitorArray
Closes an array of physical monitor handles.
To learn more, see learn.microsoft.com/windows/win32/api/physicalmonitorenumerationapi/nf-physicalmonitorenumerationapi-destroyphysicalmonitors.
Implementation
Win32Result<bool> DestroyPhysicalMonitors(
int dwPhysicalMonitorArraySize,
Pointer<PHYSICAL_MONITOR> pPhysicalMonitorArray,
) {
resolveGetLastError();
final result_ = _DestroyPhysicalMonitors(
dwPhysicalMonitorArraySize,
pPhysicalMonitorArray,
);
return .new(value: result_ != FALSE, error: GetLastError());
}