IODisplayCreateInfoDictionary

Function IODisplayCreateInfoDictionary 

Source
pub unsafe extern "C-unwind" fn IODisplayCreateInfoDictionary(
    framebuffer: io_service_t,
    options: IOOptionBits,
) -> Option<CFRetained<CFDictionary>>
Available on crate features graphics and libc only.
Expand description

Create a CFDictionary with information about display hardware.

The CFDictionary created by this function contains information about the display hardware associated with a framebuffer. The keys for the dictionary are listed in IOGraphicsTypes.h.

Parameter framebuffer: The IOService handle for an IOFramebuffer service.

Parameter options: Use IODisplayDictionaryOptions to specify which keys to include.

Returns: The returned CFDictionary that should be released by the caller with CFRelease().