NVAPI_STEREO_PARAMETER_OUT_OF_RANGE=-147,// Separation percentage or JPEG image capture quality is out of [0-100] range.
NVAPI_STEREO_FRUSTUM_ADJUST_MODE_NOT_SUPPORTED=-148,// The given frustum adjust mode is not supported.
NVAPI_TOPO_NOT_POSSIBLE=-149,// The mosaic topology is not possible given the current state of the hardware.
NVAPI_MODE_CHANGE_FAILED=-150,// An attempt to do a display resolution mode change has failed.
NVAPI_D3D11_LIBRARY_NOT_FOUND=-151,// d3d11.dll/d3d11_beta.dll cannot be loaded.
NVAPI_INVALID_ADDRESS=-152,// Address is outside of valid range.
NVAPI_STRING_TOO_SMALL=-153,// The pre-allocated string is too small to hold the result.
NVAPI_MATCHING_DEVICE_NOT_FOUND=-154,// The input does not match any of the available devices.
NVAPI_DRIVER_RUNNING=-155,// Driver is running.
NVAPI_DRIVER_NOTRUNNING=-156,// Driver is not running.
NVAPI_ERROR_DRIVER_RELOAD_REQUIRED=-157,// A driver reload is required to apply these settings.
NVAPI_SET_NOT_ALLOWED=-158,// Intended setting is not allowed.
NVAPI_ADVANCED_DISPLAY_TOPOLOGY_REQUIRED=-159,// Information can't be returned due to "advanced display topology".
NVAPI_SETTING_NOT_FOUND=-160,// Setting is not found.
NVAPI_SETTING_SIZE_TOO_LARGE=-161,// Setting size is too large.
NVAPI_TOO_MANY_SETTINGS_IN_PROFILE=-162,// There are too many settings for a profile.
NVAPI_PROFILE_NOT_FOUND=-163,// Profile is not found.
NVAPI_PROFILE_NAME_IN_USE=-164,// Profile name is duplicated.
NVAPI_PROFILE_NAME_EMPTY=-165,// Profile name is empty.
NVAPI_EXECUTABLE_NOT_FOUND=-166,// Application not found in the Profile.
NVAPI_EXECUTABLE_ALREADY_IN_USE=-167,// Application already exists in the other profile.
NVAPI_DATATYPE_MISMATCH=-168,// Data Type mismatch
NVAPI_PROFILE_REMOVED=-169,// The profile passed as parameter has been removed and is no longer valid.
NVAPI_UNREGISTERED_RESOURCE=-170,// An unregistered resource was passed as a parameter.
NVAPI_ID_OUT_OF_RANGE=-171,// The DisplayId corresponds to a display which is not within the normal outputId range.
NVAPI_DISPLAYCONFIG_VALIDATION_FAILED=-172,// Display topology is not valid so the driver cannot do a mode set on this configuration.
NVAPI_DPMST_CHANGED=-173,// Display Port Multi-Stream topology has been changed.
NVAPI_INSUFFICIENT_BUFFER=-174,// Input buffer is insufficient to hold the contents.
NVAPI_ACCESS_DENIED=-175,// No access to the caller.
NVAPI_MOSAIC_NOT_ACTIVE=-176,// The requested action cannot be performed without Mosaic being enabled.
NVAPI_SHARE_RESOURCE_RELOCATED=-177,// The surface is relocated away from video memory.
NVAPI_REQUEST_USER_TO_DISABLE_DWM=-178,// The user should disable DWM before calling NvAPI.
NVAPI_D3D_DEVICE_LOST=-179,// D3D device status is D3DERR_DEVICELOST or D3DERR_DEVICENOTRESET - the user has to reset the device.
NVAPI_INVALID_CONFIGURATION=-180,// The requested action cannot be performed in the current state.
NVAPI_STEREO_HANDSHAKE_NOT_DONE=-181,// Call failed as stereo handshake not completed.
NVAPI_EXECUTABLE_PATH_IS_AMBIGUOUS=-182,// The path provided was too short to determine the correct NVDRS_APPLICATION
NVAPI_DEFAULT_STEREO_PROFILE_IS_NOT_DEFINED=-183,// Default stereo profile is not currently defined
NVAPI_DEFAULT_STEREO_PROFILE_DOES_NOT_EXIST=-184,// Default stereo profile does not exist
NVAPI_CLUSTER_ALREADY_EXISTS=-185,// A cluster is already defined with the given configuration.
NVAPI_DPMST_DISPLAY_ID_EXPECTED=-186,// The input display id is not that of a multi stream enabled connector or a display device in a multi stream topology
NVAPI_INVALID_DISPLAY_ID=-187,// The input display id is not valid or the monitor associated to it does not support the current operation
NVAPI_STREAM_IS_OUT_OF_SYNC=-188,// While playing secure audio stream, stream goes out of sync
NVAPI_INCOMPATIBLE_AUDIO_DRIVER=-189,// Older audio driver version than required
NVAPI_VALUE_ALREADY_SET=-190,// Value already set, setting again not allowed.
NVAPI_TIMEOUT=-191,// Requested operation timed out
NVAPI_GPU_WORKSTATION_FEATURE_INCOMPLETE=-192,// The requested workstation feature set has incomplete driver internal allocation resources
NVAPI_STEREO_INIT_ACTIVATION_NOT_DONE=-193,// Call failed because InitActivation was not called.
NVAPI_SYNC_NOT_ACTIVE=-194,// The requested action cannot be performed without Sync being enabled.
NVAPI_SYNC_MASTER_NOT_FOUND=-195,// The requested action cannot be performed without Sync Master being enabled.
NVAPI_INVALID_SYNC_TOPOLOGY=-196,// Invalid displays passed in the NV_GSYNC_DISPLAY pointer.
NVAPI_ECID_SIGN_ALGO_UNSUPPORTED=-197,// The specified signing algorithm is not supported. Either an incorrect value was entered or the current installed driver/hardware does not support the input value.
NVAPI_ECID_KEY_VERIFICATION_FAILED=-198,// The encrypted public key verification has failed.
NVAPI_FIRMWARE_OUT_OF_DATE=-199,// The device's firmware is out of date.
NVAPI_FIRMWARE_REVISION_NOT_SUPPORTED=-200,// The device's firmware is not supported.
}NvAPI_Status;
/*
*Declarationsfromfromnvapi.h
*/
#define NVAPI_MAX_THERMAL_SENSORS_PER_GPU 3
// Used in NV_GPU_THERMAL_SETTINGS
typedefenum
{
NVAPI_THERMAL_TARGET_NONE=0,
NVAPI_THERMAL_TARGET_GPU=1,// GPU core temperature requires NvPhysicalGpuHandle
NVAPI_THERMAL_TARGET_MEMORY=2,// GPU memory temperature requires NvPhysicalGpuHandle
NVAPI_THERMAL_TARGET_POWER_SUPPLY=4,// GPU power supply temperature requires NvPhysicalGpuHandle
NVAPI_THERMAL_TARGET_BOARD=8,// GPU board ambient temperature requires NvPhysicalGpuHandle
NVAPI_THERMAL_TARGET_VCD_BOARD=9,// Visual Computing Device Board temperature requires NvVisualComputingDeviceHandle
NVAPI_THERMAL_TARGET_VCD_INLET=10,// Visual Computing Device Inlet temperature requires NvVisualComputingDeviceHandle
NVAPI_THERMAL_TARGET_VCD_OUTLET=11,// Visual Computing Device Outlet temperature requires NvVisualComputingDeviceHandle
NVAPI_THERMAL_TARGET_ALL=15,
NVAPI_THERMAL_TARGET_UNKNOWN=-1,
}NV_THERMAL_TARGET;
// Used in NV_GPU_THERMAL_SETTINGS
typedefenum
{
NVAPI_THERMAL_CONTROLLER_NONE=0,
NVAPI_THERMAL_CONTROLLER_GPU_INTERNAL,
NVAPI_THERMAL_CONTROLLER_ADM1032,
NVAPI_THERMAL_CONTROLLER_MAX6649,
NVAPI_THERMAL_CONTROLLER_MAX1617,
NVAPI_THERMAL_CONTROLLER_LM99,
NVAPI_THERMAL_CONTROLLER_LM89,
NVAPI_THERMAL_CONTROLLER_LM64,
NVAPI_THERMAL_CONTROLLER_ADT7473,
NVAPI_THERMAL_CONTROLLER_SBMAX6649,
NVAPI_THERMAL_CONTROLLER_VBIOSEVT,
NVAPI_THERMAL_CONTROLLER_OS,
NVAPI_THERMAL_CONTROLLER_UNKNOWN=-1,
}NV_THERMAL_CONTROLLER;
// Used in NvAPI_GPU_GetThermalSettings()
typedefstruct
{
NvU32version;// structure version
NvU32count;// number of associated thermal sensors