Function nvapi_sys::gpu::display::NvAPI_GPU_GetAllDisplayIds
[−]
[src]
pub unsafe fn NvAPI_GPU_GetAllDisplayIds(
hPhysicalGPU: NvPhysicalGpuHandle,
pDisplayIds: *mut NV_GPU_DISPLAYIDS,
pDisplayIdCount: *mut u32
) -> NvAPI_Status
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