Monitor GetMonitorTechnologyType Function
Monitor Configuration API |
Previous | Next |
GetMonitorTechnologyType Function
Retrieves the type of technology used by a monitor.
Syntax
BOOL GetMonitorTechnologyType( HANDLE hMonitor, LPMC_DISPLAY_TECHNOLOGY_TYPE pdtyDisplayTechnologyType );
Parameters
hMonitor
[in] Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9.
pdtyDisplayTechnologyType
[out] 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
Client: Requires Windows Vista.
Header: Include HighLevelMonitorConfigurationAPI.h.
Library: Use dxva2.lib.
See Also
Previous | Next |