GetMonitorTechnologyType function Null safety dxva2
Retrieves the type of technology used by a monitor.
_BOOL GetMonitorTechnologyType(
HANDLE hMonitor,
LPMC_DISPLAY_TECHNOLOGY_TYPE pdtyDisplayTechnologyType
);
Implementation
int GetMonitorTechnologyType(
int hMonitor, Pointer<Int32> pdtyDisplayTechnologyType) {
final _GetMonitorTechnologyType = _dxva2.lookupFunction<
Int32 Function(IntPtr hMonitor, Pointer<Int32> pdtyDisplayTechnologyType),
int Function(
int hMonitor,
Pointer<Int32>
pdtyDisplayTechnologyType)>('GetMonitorTechnologyType');
return _GetMonitorTechnologyType(hMonitor, pdtyDisplayTechnologyType);
}