NVAPI Reference Documentation
NVIDIA
Release 495: October 2
2021

Data Structures | Functions
System - General Interface

Data Structures

struct  NV_CHIPSET_INFO_v4
 
struct  NV_LID_DOCK_PARAMS
 

Functions

NVAPI_INTERFACE NvAPI_SYS_GetChipSetInfo (NV_CHIPSET_INFO *pChipSetInfo)
 
NVAPI_INTERFACE NvAPI_SYS_GetLidAndDockInfo (NV_LID_DOCK_PARAMS *pLidAndDock)
 
NVAPI_INTERFACE NvAPI_SYS_GetDisplayIdFromGpuAndOutputId (NvPhysicalGpuHandle hPhysicalGpu, NvU32 outputId, NvU32 *displayId)
 
NVAPI_INTERFACE NvAPI_SYS_GetGpuAndOutputIdFromDisplayId (NvU32 displayId, NvPhysicalGpuHandle *hPhysicalGpu, NvU32 *outputId)
 
NVAPI_INTERFACE NvAPI_SYS_GetPhysicalGpuFromDisplayId (NvU32 displayId, NvPhysicalGpuHandle *hPhysicalGpu)
 

Detailed Description

The System APIs retrieve chipset information such as vendor/device name and IDs, and CPU information such as processor type, speed, embedded CPU name, etc.

Function Documentation

NVAPI_INTERFACE NvAPI_SYS_GetChipSetInfo ( NV_CHIPSET_INFO pChipSetInfo)

This function returns information about the system's chipset.

SUPPORTED OS: Windows 7 and higher

Since
Release: 95
Return values
NVAPI_INVALID_ARGUMENTpChipSetInfo is NULL.
NVAPI_OK*pChipSetInfo is now set.
NVAPI_INCOMPATIBLE_STRUCT_VERSIONNV_CHIPSET_INFO version not compatible with driver.
NVAPI_INTERFACE NvAPI_SYS_GetDisplayIdFromGpuAndOutputId ( NvPhysicalGpuHandle  hPhysicalGpu,
NvU32  outputId,
NvU32 displayId 
)

DESCRIPTION: This API converts a Physical GPU handle and output ID to a display ID.

SUPPORTED OS: Windows 7 and higher

Parameters
[in]hPhysicalGpuHandle to the physical GPU
[in]outputIdConnected display output ID on the target GPU - must only have one bit set
[out]displayIdPointer to an NvU32 which contains the display ID
Return values
NVAPI_OK- completed request
NVAPI_API_NOT_INTIALIZED- NVAPI not initialized
NVAPI_ERROR- miscellaneous error occurred
NVAPI_INVALID_ARGUMENT- Invalid input parameter.
NVAPI_INTERFACE NvAPI_SYS_GetGpuAndOutputIdFromDisplayId ( NvU32  displayId,
NvPhysicalGpuHandle *  hPhysicalGpu,
NvU32 outputId 
)

DESCRIPTION: This API converts a display ID to a Physical GPU handle and output ID.

SUPPORTED OS: Windows 7 and higher

Parameters
[in]displayIdDisplay ID of display to retrieve GPU and outputId for
[out]hPhysicalGpuHandle to the physical GPU
[out]outputId) Connected display output ID on the target GPU will only have one bit set.
Return values
NVAPI_OK
NVAPI_API_NOT_INTIALIZED
NVAPI_ID_OUT_OF_RANGEThe DisplayId corresponds to a display which is not within the normal outputId range.
NVAPI_ERROR
NVAPI_INVALID_ARGUMENT
NVAPI_INTERFACE NvAPI_SYS_GetLidAndDockInfo ( NV_LID_DOCK_PARAMS pLidAndDock)

DESCRIPTION: This function returns the current lid and dock information.

SUPPORTED OS: Windows 7 and higher

Since
Release: 177
Return values
NVAPI_OK
NVAPI_ERROR
NVAPI_NOT_SUPPORTED
NVAPI_HANDLE_INVALIDATED
NVAPI_API_NOT_INTIALIZED
NVAPI_INTERFACE NvAPI_SYS_GetPhysicalGpuFromDisplayId ( NvU32  displayId,
NvPhysicalGpuHandle *  hPhysicalGpu 
)

DESCRIPTION: This API retrieves the Physical GPU handle of the connected display

Since
Release: 313

SUPPORTED OS: Windows 7 and higher

Parameters
[in]displayId- Display ID of display to retrieve GPU handle
[out]hPhysicalGpu- Handle to the physical GPU
Return values
NVAPI_OK- completed request
NVAPI_API_NOT_INTIALIZED- NVAPI not initialized
NVAPI_ERROR- miscellaneous error occurred
NVAPI_INVALID_ARGUMENT- Invalid input parameter.


Copyright (c) 2007-2021 NVIDIA Corporation. All rights reserved.

NVIDIA