DestroyPhysicalMonitor function Null safety dxva2

int DestroyPhysicalMonitor(
  1. int hMonitor
)

Closes a handle to a physical monitor. Call this function to close a monitor handle obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function.

_BOOL DestroyPhysicalMonitor(
  HANDLE hMonitor
);

Implementation

int DestroyPhysicalMonitor(int hMonitor) {
  final _DestroyPhysicalMonitor = _dxva2.lookupFunction<
      Int32 Function(IntPtr hMonitor),
      int Function(int hMonitor)>('DestroyPhysicalMonitor');
  return _DestroyPhysicalMonitor(hMonitor);
}