SetMonitorDisplayAreaSize function Null safety dxva2

int SetMonitorDisplayAreaSize(
  1. int hMonitor,
  2. int stSizeType,
  3. int dwNewDisplayAreaWidthOrHeight
)

Sets the width or height of a monitor's display area.

_BOOL SetMonitorDisplayAreaSize(
  HANDLE       hMonitor,
  MC_SIZE_TYPE stSizeType,
  DWORD        dwNewDisplayAreaWidthOrHeight
);

Implementation

int SetMonitorDisplayAreaSize(
    int hMonitor, int stSizeType, int dwNewDisplayAreaWidthOrHeight) {
  final _SetMonitorDisplayAreaSize = _dxva2.lookupFunction<
      Int32 Function(IntPtr hMonitor, Uint32 stSizeType,
          Uint32 dwNewDisplayAreaWidthOrHeight),
      int Function(int hMonitor, int stSizeType,
          int dwNewDisplayAreaWidthOrHeight)>('SetMonitorDisplayAreaSize');
  return _SetMonitorDisplayAreaSize(
      hMonitor, stSizeType, dwNewDisplayAreaWidthOrHeight);
}