DestroyPhysicalMonitor function dxva2
Closes a handle to a physical monitor.
To learn more, see learn.microsoft.com/windows/win32/api/physicalmonitorenumerationapi/nf-physicalmonitorenumerationapi-destroyphysicalmonitor.
Implementation
Win32Result<bool> DestroyPhysicalMonitor(HANDLE hMonitor) {
resolveGetLastError();
final result_ = _DestroyPhysicalMonitor(hMonitor);
return .new(value: result_ != FALSE, error: GetLastError());
}