GetMonitorRedGreenOrBlueDrive function Null safety dxva2

int GetMonitorRedGreenOrBlueDrive(
  1. int hMonitor,
  2. int dtDriveType,
  3. Pointer<Uint32> pdwMinimumDrive,
  4. Pointer<Uint32> pdwCurrentDrive,
  5. Pointer<Uint32> pdwMaximumDrive
)

Retrieves a monitor's red, green, or blue drive value.

_BOOL GetMonitorRedGreenOrBlueDrive(
  HANDLE        hMonitor,
  MC_DRIVE_TYPE dtDriveType,
  LPDWORD       pdwMinimumDrive,
  LPDWORD       pdwCurrentDrive,
  LPDWORD       pdwMaximumDrive
);

Implementation

int GetMonitorRedGreenOrBlueDrive(
        int hMonitor,
        int dtDriveType,
        Pointer<Uint32> pdwMinimumDrive,
        Pointer<Uint32> pdwCurrentDrive,
        Pointer<Uint32> pdwMaximumDrive) =>
    _GetMonitorRedGreenOrBlueDrive(hMonitor, dtDriveType, pdwMinimumDrive,
        pdwCurrentDrive, pdwMaximumDrive);