NvAPI_GPU_GetAllDisplayIds

Function NvAPI_GPU_GetAllDisplayIds 

Source
pub unsafe fn NvAPI_GPU_GetAllDisplayIds(
    hPhysicalGPU: NvPhysicalGpuHandle,
    pDisplayIds: *mut NV_GPU_DISPLAYIDS,
    pDisplayIdCount: *mut u32,
) -> NvAPI_Status
Expand description

This API returns display IDs for all possible outputs on the GPU. For DPMST connector, it will return display IDs for all the video sinks in the topology.

ยงReturns

  • NVAPI_INSUFFICIENT_BUFFER: When the input buffer(pDisplayIds) is less than the actual number of display IDs