GetMonitorTechnologyType function

Retrieves the type of technology used by a monitor.

Syntax

_BOOL GetMonitorTechnologyType(
  HANDLE                       hMonitor,
  LPMC_DISPLAY_TECHNOLOGY_TYPE pdtyDisplayTechnologyType
);

Parameters

hMonitor

Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9.

pdtyDisplayTechnologyType

Receives the technology type, specified as a member of the MC_DISPLAY_TECHNOLOGY_TYPE enumeration.

Return Value

If the function succeeds, the return value is TRUE. If the function fails, the return value is FALSE. To get extended error information, call GetLastError.

Remarks

This function does not support every display technology. If a monitor uses a display technology that is supported by this function, the GetMonitorCapabilities function returns the MC_CAPS_DISPLAY_TECHNOLOGY_TYPE flag. If that flag is absent, the GetMonitorTechnologyType function fails.

Some monitor technologies do not support certain monitor configuration functions. For example, the DegaussMonitor function is supported only for cathode ray tube (CRT) monitors. To find out whether a specific function is supported, call GetMonitorCapabilities.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header highlevelmonitorconfigurationapi.h
Library Dxva2.lib
DLL Dxva2.dll

See Also

Monitor Configuration Functions