Function nvapi_hi::sys::dispcontrol::NvAPI_EnumNvidiaDisplayHandle [] [src]

pub unsafe fn NvAPI_EnumNvidiaDisplayHandle(
    thisEnum: u32,
    pNvDispHandle: *mut NvDisplayHandle
) -> i32

This function returns the handle of the NVIDIA display specified by the enum index (thisEnum). The client should keep enumerating until it returns NVAPI_END_ENUMERATION.

Note: Display handles can get invalidated on a modeset, so the calling applications need to renum the handles after every modeset.