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

pub unsafe fn NvAPI_EnumNvidiaUnAttachedDisplayHandle(
    thisEnum: u32,
    pNvUnAttachedDispHandle: *mut NvUnAttachedDisplayHandle
) -> i32

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

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