NVAPI Reference Documentation
NVIDIA
Release 384: June 27
2017

General NVAPI Defines, Structs, and Enums

Data Structures

struct  NvSBox
 
struct  NvGUID
 

Macros

#define NVAPI_GENERIC_STRING_MAX   4096
 
#define NVAPI_LONG_STRING_MAX   256
 
#define NVAPI_SHORT_STRING_MAX   64
 
#define NvGUID_Defined
 
#define NVAPI_MAX_PHYSICAL_GPUS   64
 
#define NVAPI_MAX_PHYSICAL_BRIDGES   100
 
#define NVAPI_PHYSICAL_GPUS   32
 
#define NVAPI_MAX_LOGICAL_GPUS   64
 
#define NVAPI_MAX_AVAILABLE_GPU_TOPOLOGIES   256
 
#define NVAPI_MAX_AVAILABLE_SLI_GROUPS   256
 
#define NVAPI_MAX_GPU_TOPOLOGIES   NVAPI_MAX_PHYSICAL_GPUS
 
#define NVAPI_MAX_GPU_PER_TOPOLOGY   8
 
#define NVAPI_MAX_DISPLAY_HEADS   2
 
#define NVAPI_ADVANCED_DISPLAY_HEADS   4
 
#define NVAPI_MAX_DISPLAYS   NVAPI_PHYSICAL_GPUS * NVAPI_ADVANCED_DISPLAY_HEADS
 
#define NVAPI_MAX_ACPI_IDS   16
 
#define NVAPI_MAX_VIEW_MODES   8
 
#define NV_MAX_HEADS   4
 
#define NV_MAX_HEADS   4
 
#define NVAPI_MAX_HEADS_PER_GPU   32
 
#define NV_MAX_VID_STREAMS   4
 
#define NV_MAX_VID_STREAMS_EX   20
 
#define NV_MAX_VID_PROFILES   4
 
#define NVAPI_SYSTEM_MAX_DISPLAYS   NVAPI_MAX_PHYSICAL_GPUS * NV_MAX_HEADS
 
#define NVAPI_SYSTEM_MAX_HWBCS   128
 
#define NVAPI_SYSTEM_HWBC_INVALID_ID   0xffffffff
 
#define NVAPI_MAX_AUDIO_DEVICES   16
 
#define MAKE_NVAPI_VERSION(typeName, ver)   (NvU32)(sizeof(typeName) | ((ver)<<16))
 
#define GET_NVAPI_VERSION(ver)   (NvU32)((ver)>>16)
 
#define GET_NVAPI_SIZE(ver)   (NvU32)((ver) & 0xffff)
 

Typedefs

typedef struct NvGUID NvLUID
 
typedef char NvAPI_String[NVAPI_GENERIC_STRING_MAX]
 
typedef char NvAPI_LongString[NVAPI_LONG_STRING_MAX]
 
typedef char NvAPI_ShortString[NVAPI_SHORT_STRING_MAX]
 

Detailed Description

Macro Definition Documentation

#define GET_NVAPI_SIZE (   ver)    (NvU32)((ver) & 0xffff)
#define GET_NVAPI_VERSION (   ver)    (NvU32)((ver)>>16)
#define MAKE_NVAPI_VERSION (   typeName,
  ver 
)    (NvU32)(sizeof(typeName) | ((ver)<<16))

NvAPI Version Definition
Maintain per structure specific version define using the MAKE_NVAPI_VERSION macro.
Usage: #define NV_GENLOCK_STATUS_VER MAKE_NVAPI_VERSION(NV_GENLOCK_STATUS, 1)

#define NV_MAX_HEADS   4

Maximum heads, each with NVAPI_DESKTOP_RES resolution.

Maximum number of heads, each with #NVAPI_DESKTOP_RES resolution.

#define NV_MAX_HEADS   4

Maximum heads, each with NVAPI_DESKTOP_RES resolution.

Maximum number of heads, each with #NVAPI_DESKTOP_RES resolution.

#define NV_MAX_VID_PROFILES   4

Maximum number of output video profiles supported.

#define NV_MAX_VID_STREAMS   4

Maximum number of input video streams, each with a #NVAPI_VIDEO_SRC_INFO.

#define NV_MAX_VID_STREAMS_EX   20

Increasing MAX no. of input video streams, each with a #NVAPI_VIDEO_SRC_INFO.

#define NVAPI_ADVANCED_DISPLAY_HEADS   4
#define NVAPI_GENERIC_STRING_MAX   4096
#define NVAPI_LONG_STRING_MAX   256
#define NVAPI_MAX_ACPI_IDS   16
#define NVAPI_MAX_AUDIO_DEVICES   16
#define NVAPI_MAX_AVAILABLE_GPU_TOPOLOGIES   256
#define NVAPI_MAX_AVAILABLE_SLI_GROUPS   256
#define NVAPI_MAX_DISPLAY_HEADS   2
#define NVAPI_MAX_DISPLAYS   NVAPI_PHYSICAL_GPUS * NVAPI_ADVANCED_DISPLAY_HEADS
#define NVAPI_MAX_GPU_PER_TOPOLOGY   8
#define NVAPI_MAX_GPU_TOPOLOGIES   NVAPI_MAX_PHYSICAL_GPUS
#define NVAPI_MAX_HEADS_PER_GPU   32
#define NVAPI_MAX_LOGICAL_GPUS   64
#define NVAPI_MAX_PHYSICAL_BRIDGES   100
#define NVAPI_MAX_PHYSICAL_GPUS   64
#define NVAPI_MAX_VIEW_MODES   8
#define NVAPI_PHYSICAL_GPUS   32
#define NVAPI_SHORT_STRING_MAX   64
#define NVAPI_SYSTEM_HWBC_INVALID_ID   0xffffffff
#define NVAPI_SYSTEM_MAX_DISPLAYS   NVAPI_MAX_PHYSICAL_GPUS * NV_MAX_HEADS
#define NVAPI_SYSTEM_MAX_HWBCS   128
#define NvGUID_Defined

Typedef Documentation

typedef char NvAPI_LongString[NVAPI_LONG_STRING_MAX]
typedef char NvAPI_ShortString[NVAPI_SHORT_STRING_MAX]
typedef char NvAPI_String[NVAPI_GENERIC_STRING_MAX]
typedef struct NvGUID NvLUID


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

NVIDIA