SetMonitorDisplayAreaPosition function Null safety dxva2

int SetMonitorDisplayAreaPosition(
  1. int hMonitor,
  2. int ptPositionType,
  3. int dwNewPosition
)

Sets the horizontal or vertical position of a monitor's display area. Increasing the horizontal position moves the display area toward the right side of the screen; decreasing it moves the display area toward the left. Increasing the vertical position moves the display area toward the top of the screen; decreasing it moves the display area toward the bottom.

_BOOL SetMonitorDisplayAreaPosition(
  HANDLE           hMonitor,
  MC_POSITION_TYPE ptPositionType,
  DWORD            dwNewPosition
);

Implementation

int SetMonitorDisplayAreaPosition(
        int hMonitor, int ptPositionType, int dwNewPosition) =>
    _SetMonitorDisplayAreaPosition(hMonitor, ptPositionType, dwNewPosition);