Group: Monitor Configuration (Vista) - Library: dxva2
How to adjust monitor brightness (Vista, monitor with DDC support)
BOOL GetNumberOfPhysicalMonitorsFromHMONITOR(
HMONITOR hMonitor,
LPDWORD pdwNumberOfPhysicalMonitors
);
DECLARE INTEGER GetNumberOfPhysicalMonitorsFromHMONITOR IN dxva2;
INTEGER hMonitor,;
LONG @pdwNumberOfPhysicalMonitors
hMonitor [in] A monitor handle. Monitor handles are returned by several Multiple Display Monitor functions, including EnumDisplayMonitors and MonitorFromWindow.
pdwNumberOfPhysicalMonitors [out] Receives the number of physical monitors associated with the monitor handle.
If the function succeeds, the return value is nonzero.
Call this function before calling GetPhysicalMonitorsFromHMONITOR.
This is a really long name for API function. The whole group of the Monitor Configuration functions sports very long, supposedly extra meaningful, function names.
This one I like especially -- GetNumberOfPhysicalMonitorsFromIDirect3DDevice9 -- though I might need to add changes to the PHP code on my site to accomodate names like this.
This must be a new Microsoft trend in naming functions. Otherwise we would have already enjoyed API functions like DownloadAFileFromFTPServerConnected instead of boringly undescriptive FtpGetFile. I must be raving.