GetMonitorDisplayAreaPosition function Null safety dxva2

int GetMonitorDisplayAreaPosition(
  1. int hMonitor,
  2. int ptPositionType,
  3. Pointer<Uint32> pdwMinimumPosition,
  4. Pointer<Uint32> pdwCurrentPosition,
  5. Pointer<Uint32> pdwMaximumPosition
)

Retrieves a monitor's minimum, maximum, and current horizontal or vertical position.

_BOOL GetMonitorDisplayAreaPosition(
  HANDLE           hMonitor,
  MC_POSITION_TYPE ptPositionType,
  LPDWORD          pdwMinimumPosition,
  LPDWORD          pdwCurrentPosition,
  LPDWORD          pdwMaximumPosition
);

Implementation

int GetMonitorDisplayAreaPosition(
        int hMonitor,
        int ptPositionType,
        Pointer<Uint32> pdwMinimumPosition,
        Pointer<Uint32> pdwCurrentPosition,
        Pointer<Uint32> pdwMaximumPosition) =>
    _GetMonitorDisplayAreaPosition(hMonitor, ptPositionType, pdwMinimumPosition,
        pdwCurrentPosition, pdwMaximumPosition);