namespace NvAPIWrapper.Native.General { /// /// NvAPI status codes /// public enum Status { /// /// Success. Request is completed. /// Ok = 0, /// /// Generic error /// Error = -1, /// /// NVAPI support library cannot be loaded. /// LibraryNotFound = -2, /// /// Not implemented in current driver installation /// NoImplementation = -3, /// /// NvAPI_Initialize() has not been called (successfully) /// ApiNotInitialized = -4, /// /// Invalid argument /// InvalidArgument = -5, /// /// No NVIDIA display driver was found /// NvidiaDeviceNotFound = -6, /// /// No more to enumerate /// EndEnumeration = -7, /// /// Invalid handle /// InvalidHandle = -8, /// /// An argument's structure version is not supported /// IncompatibleStructureVersion = -9, /// /// Handle is no longer valid (likely due to GPU or display re-configuration) /// HandleInvalidated = -10, /// /// No NVIDIA OpenGL context is current (but needs to be) /// OpenGLContextNotCurrent = -11, /// /// An invalid pointer, usually NULL, was passed as a parameter /// InvalidPointer = -14, /// /// OpenGL Expert is not supported by the current drivers /// NoGLExpert = -12, /// /// OpenGL Expert is supported, but driver instrumentation is currently disabled /// InstrumentationDisabled = -13, /// /// Expected a logical GPU handle for one or more parameters /// ExpectedLogicalGPUHandle = -100, /// /// Expected a physical GPU handle for one or more parameters /// ExpectedPhysicalGPUHandle = -101, /// /// Expected an NV display handle for one or more parameters /// ExpectedDisplayHandle = -102, /// /// Used in some commands to indicate that the combination of parameters is not valid /// InvalidCombination = -103, /// /// Requested feature not supported in the selected GPU /// NotSupported = -104, /// /// NO port Id found for I2C transaction /// PortIdNotFound = -105, /// /// Expected an unattached display handle as one of the input param /// ExpectedUnattachedDisplayHandle = -106, /// /// Invalid performance level /// InvalidPerformanceLevel = -107, /// /// Device is busy, request not fulfilled /// DeviceBusy = -108, /// /// NVIDIA persist file is not found /// NvPersistFileNotFound = -109, /// /// NVIDIA persist data is not found /// PersistDataNotFound = -110, /// /// Expected TV output display /// ExpectedTVDisplay = -111, /// /// Expected TV output on D Connector - HDTV_EIAJ4120. /// ExpectedTVDisplayOnDConnector = -112, /// /// SLI is not active on this device /// NoActiveSLITopology = -113, /// /// Setup of SLI rendering mode is not possible right now /// SLIRenderingModeNotAllowed = -114, /// /// Expected digital flat panel /// ExpectedDigitalFlatPanel = -115, /// /// Argument exceeds expected size /// ArgumentExceedMaxSize = -116, /// /// Inhibit ON due to one of the flags in NV_GPU_DISPLAY_CHANGE_INHIBIT or SLI Active /// DeviceSwitchingNotAllowed = -117, /// /// Testing clocks not supported /// TestingClocksNotSupported = -118, /// /// The specified underscan config is from an unknown source (e.g. INF) /// UnknownUnderScanConfig = -119, /// /// Timeout while reconfiguring GPUs /// TimeoutReConfiguringGPUTopology = -120, /// /// Requested data was not found /// DataNotFound = -121, /// /// Expected analog display /// ExpectedAnalogDisplay = -122, /// /// No SLI video bridge present /// NoVideoLink = -123, /// /// NvAPI requires reboot for its settings to take effect /// RequiresReboot = -124, /// /// The function is not supported with the current hybrid mode. /// InvalidHybridMode = -125, /// /// The target types are not all the same /// MixedTargetTypes = -126, /// /// The function is not supported from 32-bit on a 64-bit system /// SYSWOW64NotSupported = -127, /// /// There is any implicit GPU topology active. Use NVAPI_SetHybridMode to change topology. /// ImplicitSetGPUTopologyChangeNotAllowed = -128, /// /// Prompt the user to close all non-migratable applications. /// RequestUserToCloseNonMigratableApps = -129, /// /// Could not allocate sufficient memory to complete the call /// OutOfMemory = -130, /// /// The previous operation that is transferring information to or from this surface is incomplete /// WasStillDrawing = -131, /// /// The file was not found /// FileNotFound = -132, /// /// There are too many unique instances of a particular type of state object /// TooManyUniqueStateObjects = -133, /// /// The method call is invalid. For example, a method's parameter may not be a valid pointer /// InvalidCall = -134, /// /// d3d10_1.dll can not be loaded /// D3D101LibraryNotFound = -135, /// /// Couldn't find the function in loaded DLL library /// FunctionNotFound = -136, /// /// Current User is not Administrator /// InvalidUserPrivilege = -137, /// /// The handle corresponds to GDIPrimary /// ExpectedNonPrimaryDisplayHandle = -138, /// /// Setting PhysX GPU requires that the GPU is compute capable /// ExpectedComputeGPUHandle = -139, /// /// Stereo part of NvAPI failed to initialize completely. Check if stereo driver is installed. /// StereoNotInitialized = -140, /// /// Access to stereo related registry keys or values failed. /// StereoRegistryAccessFailed = -141, /// /// Given registry profile type is not supported. /// StereoRegistryProfileTypeNotSupported = -142, /// /// Given registry value is not supported. /// StereoRegistryValueNotSupported = -143, /// /// Stereo is not enabled and function needed it to execute completely. /// StereoNotEnabled = -144, /// /// Stereo is not turned on and function needed it to execute completely. /// StereoNotTurnedOn = -145, /// /// Invalid device interface. /// StereoInvalidDeviceInterface = -146, /// /// Separation percentage or JPEG image capture quality out of [0-100] range. /// StereoParameterOutOfRange = -147, /// /// Given frustum adjust mode is not supported. /// StereoFrustumAdjustModeNotSupported = -148, /// /// The mosaic topology is not possible given the current state of HW /// TopologyNotPossible = -149, /// /// An attempt to do a display resolution mode change has failed /// ModeChangeFailed = -150, /// /// d3d11.dll/d3d11_beta.dll cannot be loaded. /// D3D11LibraryNotFound = -151, /// /// Address outside of valid range. /// InvalidAddress = -152, /// /// The pre-allocated string is too small to hold the result. /// StringTooSmall = -153, /// /// The input does not match any of the available devices. /// MatchingDeviceNotFound = -154, /// /// Driver is running. /// DriverRunning = -155, /// /// Driver is not running. /// DriverNotRunning = -156, /// /// A driver reload is required to apply these settings. /// ErrorDriverReloadRequired = -157, /// /// Intended setting is not allowed. /// SetNotAllowed = -158, /// /// Information can't be returned due to "advanced display topology". /// AdvancedDisplayTopologyRequired = -159, /// /// Setting is not found. /// SettingNotFound = -160, /// /// Setting size is too large. /// SettingSizeTooLarge = -161, /// /// There are too many settings for a profile. /// TooManySettingsInProfile = -162, /// /// Profile is not found. /// ProfileNotFound = -163, /// /// Profile name is duplicated. /// ProfileNameInUse = -164, /// /// Profile name is empty. /// ProfileNameEmpty = -165, /// /// Application not found in the Profile. /// ExecutableNotFound = -166, /// /// Application already exists in the other profile. /// ExecutableAlreadyInUse = -167, /// /// Data Type mismatch /// DataTypeMismatch = -168, /// /// The profile passed as parameter has been removed and is no longer valid. /// ProfileRemoved = -169, /// /// An unregistered resource was passed as a parameter. /// UnregisteredResource = -170, /// /// The DisplayId corresponds to a display which is not within the normal outputId range. /// IdOutOfRange = -171, /// /// Display topology is not valid so the driver cannot do a mode set on this configuration. /// DisplayConfigValidationFailed = -172, /// /// Display Port Multi-Stream topology has been changed. /// DPMSTChanged = -173, /// /// Input buffer is insufficient to hold the contents. /// InsufficientBuffer = -174, /// /// No access to the caller. /// AccessDenied = -175, /// /// The requested action cannot be performed without Mosaic being enabled. /// MosaicNotActive = -176, /// /// The surface is relocated away from video memory. /// ShareResourceRelocated = -177, /// /// The user should disable DWM before calling NvAPI. /// RequestUserToDisableDWM = -178, /// /// D3D device status is "D3DERR_DEVICELOST" or "D3DERR_DEVICENOTRESET" - the user has to reset the device. /// D3DDeviceLost = -179, /// /// The requested action cannot be performed in the current state. /// InvalidConfiguration = -180, /// /// Call failed as stereo handshake not completed. /// StereoHandshakeNotDone = -181, /// /// The path provided was too short to determine the correct NVDRS_APPLICATION /// ExecutablePathIsAmbiguous = -182, /// /// Default stereo profile is not currently defined /// DefaultStereoProfileIsNotDefined = -183, /// /// Default stereo profile does not exist /// DefaultStereoProfileDoesNotExist = -184, /// /// A cluster is already defined with the given configuration. /// ClusterAlreadyExists = -185, /// /// The input display id is not that of a multi stream enabled connector or a display device in a multi stream topology /// DPMSTDisplayIdExpected = -186, /// /// The input display id is not valid or the monitor associated to it does not support the current operation /// InvalidDisplayId = -187, /// /// While playing secure audio stream, stream goes out of sync /// StreamIsOutOfSync = -188, /// /// Older audio driver version than required /// IncompatibleAudioDriver = -189, /// /// Value already set, setting again not allowed. /// ValueAlreadySet = -190, /// /// Requested operation timed out /// Timeout = -191, /// /// The requested workstation feature set has incomplete driver internal allocation resources /// GPUWorkstationFeatureIncomplete = -192, /// /// Call failed because InitActivation was not called. /// StereoInitActivationNotDone = -193, /// /// The requested action cannot be performed without Sync being enabled. /// SyncNotActive = -194, /// /// The requested action cannot be performed without Sync Master being enabled. /// SyncMasterNotFound = -195, /// /// Invalid displays passed in the NV_GSYNC_DISPLAY pointer. /// InvalidSyncTopology = -196, /// /// 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. /// ECIDSignAlgoUnsupported = -197, /// /// The encrypted public key verification has failed. /// ECIDKeyVerificationFailed = -198, /// /// The device's firmware is out of date. /// FirmwareOutOfDate = -199, /// /// The device's firmware is not supported. /// FirmwareRevisionNotSupported = -200, /// /// The caller is not authorized to modify the License. /// LicenseCallerAuthenticationFailed = -201, /// /// The user tried to use a deferred context without registering the device first /// D3DDeviceNotRegistered = -202, /// /// Head or SourceId was not reserved for the VR Display before doing the Mode-Set. /// ResourceNotAcquired = -203, /// /// Provided timing is not supported. /// TimingNotSupported = -204, /// /// HDCP Encryption Failed for the device. Would be applicable when the device is HDCP Capable. /// HDCPEncryptionFailed = -205, /// /// Provided mode is over sink device pclk limitation. /// PCLKLimitationFailed = -206, /// /// No connector on GPU found. /// NoConnectorFound = -207, /// /// When a non-HDCP capable HMD is connected, we would inform user by this code. /// HDCPDisabled = -208, /// /// At least an API is still being called /// ApiInUse = -209, /// /// No display found on Nvidia GPU(s). /// NVIDIADisplayNotFound = -210 } }