Expand description
Implementation of DDC/CI traits on Windows.
§Example
extern crate ddc;
use ddc::Ddc;
use ddc_winapi::Monitor;
for mut ddc in Monitor::enumerate().unwrap() {
let mccs_version = ddc.get_vcp_feature(0xdf).unwrap();
println!("MCCS version: {:04x}", mccs_version.maximum());
}
Structs§
- Monitor
- A handle to an attached monitor that allows the use of DDC/CI operations.
Functions§
- enumerate_
monitors - Enumerates all
HMONITOR
s using theEnumDisplayMonitors
WinAPI call. - get_
physical_ monitors_ from_ hmonitor - WinAPI
GetPhysicalMonitorsFromHMONITOR