Skip to main content

query_display_config

Function query_display_config 

Source
pub fn query_display_config(
    flags: QUERY_DISPLAY_CONFIG_FLAGS,
) -> Result<(Vec<DISPLAYCONFIG_PATH_INFO>, Vec<DISPLAYCONFIG_MODE_INFO>)>
Expand description

Convenience function for the QueryDisplayConfig function.

The call to GetDisplayConfigBufferSizes and the sizing of the paths and modes buffers are automatically done.

ยงErrors

Returns an error when QueryDisplayConfig fails.