![]() |
NVAPI Reference Documentation
|
Release 361: January 27
|
The display driver APIs are used to retrieve information about the display driver.
Macro for constructing the version field of NV_DISPLAY_DRIVER_MEMORY_INFO_V1
Macro for constructing the version field of NV_DISPLAY_DRIVER_MEMORY_INFO_V2
Macro for constructing the version field of NV_DISPLAY_DRIVER_MEMORY_INFO_V3
| __nvapi_deprecated_function | ( | "Do not use this function - it is deprecated in release 290. | Instead, |
| use NvAPI_SYS_GetDriverAndBranchVersion." | |||
| ) |
| NVAPI_INTERFACE NvAPI_GPU_GetMemoryInfo | ( | NvPhysicalGpuHandle | hPhysicalGpu, |
| NV_DISPLAY_DRIVER_MEMORY_INFO * | pMemoryInfo | ||
| ) |
DESCRIPTION: This function retrieves the available driver memory footprint for the specified GPU.
SUPPORTED OS: Windows XP and higher
TCC_SUPPORTED
| [in] | hPhysicalGpu | Handle of the physical GPU for which the memory information is to be extracted. |
| [out] | pMemoryInfo | The memory footprint available in the driver. See NV_DISPLAY_DRIVER_MEMORY_INFO. |
| NVAPI_INVALID_ARGUMENT | pMemoryInfo is NULL. |
| NVAPI_OK | Call successful. |
| NVAPI_NVIDIA_DEVICE_NOT_FOUND | No NVIDIA GPU driving a display was found. |
| NVAPI_INCOMPATIBLE_STRUCT_VERSION | NV_DISPLAY_DRIVER_MEMORY_INFO structure version mismatch. |
| NVAPI_INTERFACE NvAPI_SYS_GetDriverAndBranchVersion | ( | NvU32 * | pDriverVersion, |
| NvAPI_ShortString | szBuildBranchString | ||
| ) |
DESCRIPTION: This API returns display driver version and driver-branch string.
SUPPORTED OS: Windows XP and higher
| [out] | pDriverVersion | Contains the driver version after successful return. |
| [out] | szBuildBranchString | Contains the driver-branch string after successful return. |
| NVAPI_INVALID_ARGUMENT,: | either pDriverVersion is NULL or enum index too big |
| NVAPI_OK | - completed request |
| NVAPI_API_NOT_INTIALIZED | - NVAPI not initialized |
| NVAPI_ERROR | - miscellaneous error occurred |
