DestroyPhysicalMonitors function dxva2

Win32Result<bool> DestroyPhysicalMonitors(
  1. int dwPhysicalMonitorArraySize,
  2. Pointer<PHYSICAL_MONITOR> pPhysicalMonitorArray
)

Implementation

Win32Result<bool> DestroyPhysicalMonitors(
  int dwPhysicalMonitorArraySize,
  Pointer<PHYSICAL_MONITOR> pPhysicalMonitorArray,
) {
  resolveGetLastError();
  final result_ = _DestroyPhysicalMonitors(
    dwPhysicalMonitorArraySize,
    pPhysicalMonitorArray,
  );
  return .new(value: result_ != FALSE, error: GetLastError());
}