SetMonitorDisplayAreaSize function 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) =>
    _SetMonitorDisplayAreaSize(
        hMonitor, stSizeType, dwNewDisplayAreaWidthOrHeight);