NVAPI Reference Documentation
NVIDIA
Release 361: January 27
2016

Data Structures | Defines | Typedefs | Functions
Graphics Driver APIs

Data Structures

struct  NV_DISPLAY_DRIVER_VERSION
struct  NV_DISPLAY_DRIVER_MEMORY_INFO_V1
struct  NV_DISPLAY_DRIVER_MEMORY_INFO_V2
struct  NV_DISPLAY_DRIVER_MEMORY_INFO_V3

Defines

#define NV_DISPLAY_DRIVER_VERSION_VER   MAKE_NVAPI_VERSION(NV_DISPLAY_DRIVER_VERSION,1)
#define NV_DISPLAY_DRIVER_MEMORY_INFO_VER_1   MAKE_NVAPI_VERSION(NV_DISPLAY_DRIVER_MEMORY_INFO_V1,1)
#define NV_DISPLAY_DRIVER_MEMORY_INFO_VER_2   MAKE_NVAPI_VERSION(NV_DISPLAY_DRIVER_MEMORY_INFO_V2,2)
#define NV_DISPLAY_DRIVER_MEMORY_INFO_VER_3   MAKE_NVAPI_VERSION(NV_DISPLAY_DRIVER_MEMORY_INFO_V3,3)
#define NV_DISPLAY_DRIVER_MEMORY_INFO_VER   NV_DISPLAY_DRIVER_MEMORY_INFO_VER_3

Typedefs

typedef
NV_DISPLAY_DRIVER_MEMORY_INFO_V3 
NV_DISPLAY_DRIVER_MEMORY_INFO

Functions

 __nvapi_deprecated_function ("Do not use this function - it is deprecated in release 290. Instead, use NvAPI_SYS_GetDriverAndBranchVersion.") NVAPI_INTERFACE NvAPI_GetDisplayDriverVersion(NvDisplayHandle hNvDisplay
NVAPI_INTERFACE NvAPI_SYS_GetDriverAndBranchVersion (NvU32 *pDriverVersion, NvAPI_ShortString szBuildBranchString)
NVAPI_INTERFACE NvAPI_GPU_GetMemoryInfo (NvPhysicalGpuHandle hPhysicalGpu, NV_DISPLAY_DRIVER_MEMORY_INFO *pMemoryInfo)

Detailed Description

The display driver APIs are used to retrieve information about the display driver.


Define Documentation

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


Typedef Documentation


Function Documentation

__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

Since:
Release: 177
Parameters:
[in]hPhysicalGpuHandle of the physical GPU for which the memory information is to be extracted.
[out]pMemoryInfoThe memory footprint available in the driver. See NV_DISPLAY_DRIVER_MEMORY_INFO.
Return values:
NVAPI_INVALID_ARGUMENTpMemoryInfo is NULL.
NVAPI_OKCall successful.
NVAPI_NVIDIA_DEVICE_NOT_FOUNDNo NVIDIA GPU driving a display was found.
NVAPI_INCOMPATIBLE_STRUCT_VERSIONNV_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

Parameters:
[out]pDriverVersionContains the driver version after successful return.
[out]szBuildBranchStringContains the driver-branch string after successful return.
Return values:
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


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

NVIDIA