Enum nvapi_hi::sys::Status
[−]
[src]
#[repr(i32)]pub enum Status { Ok, Error, LibraryNotFound, NoImplementation, ApiNotInitialized, InvalidArgument, NvidiaDeviceNotFound, EndEnumeration, InvalidHandle, IncompatibleStructVersion, HandleInvalidated, OpenglContextNotCurrent, InvalidPointer, NoGlExpert, InstrumentationDisabled, NoGlNsight, ExpectedLogicalGpuHandle, ExpectedPhysicalGpuHandle, ExpectedDisplayHandle, InvalidCombination, NotSupported, PortidNotFound, ExpectedUnattachedDisplayHandle, InvalidPerfLevel, DeviceBusy, NvPersistFileNotFound, PersistDataNotFound, ExpectedTvDisplay, ExpectedTvDisplayOnDconnector, NoActiveSliTopology, SliRenderingModeNotallowed, ExpectedDigitalFlatPanel, ArgumentExceedMaxSize, DeviceSwitchingNotAllowed, TestingClocksNotSupported, UnknownUnderscanConfig, TimeoutReconfiguringGpuTopo, DataNotFound, ExpectedAnalogDisplay, NoVidlink, RequiresReboot, InvalidHybridMode, MixedTargetTypes, Syswow64NotSupported, ImplicitSetGpuTopologyChangeNotAllowed, RequestUserToCloseNonMigratableApps, OutOfMemory, WasStillDrawing, FileNotFound, TooManyUniqueStateObjects, InvalidCall, D3d101LibraryNotFound, FunctionNotFound, InvalidUserPrivilege, ExpectedNonPrimaryDisplayHandle, ExpectedComputeGpuHandle, StereoNotInitialized, StereoRegistryAccessFailed, StereoRegistryProfileTypeNotSupported, StereoRegistryValueNotSupported, StereoNotEnabled, StereoNotTurnedOn, StereoInvalidDeviceInterface, StereoParameterOutOfRange, StereoFrustumAdjustModeNotSupported, TopoNotPossible, ModeChangeFailed, D3d11LibraryNotFound, InvalidAddress, StringTooSmall, MatchingDeviceNotFound, DriverRunning, DriverNotrunning, ErrorDriverReloadRequired, SetNotAllowed, AdvancedDisplayTopologyRequired, SettingNotFound, SettingSizeTooLarge, TooManySettingsInProfile, ProfileNotFound, ProfileNameInUse, ProfileNameEmpty, ExecutableNotFound, ExecutableAlreadyInUse, DatatypeMismatch, ProfileRemoved, UnregisteredResource, IdOutOfRange, DisplayconfigValidationFailed, DpmstChanged, InsufficientBuffer, AccessDenied, MosaicNotActive, ShareResourceRelocated, RequestUserToDisableDwm, D3dDeviceLost, InvalidConfiguration, StereoHandshakeNotDone, ExecutablePathIsAmbiguous, DefaultStereoProfileIsNotDefined, DefaultStereoProfileDoesNotExist, ClusterAlreadyExists, DpmstDisplayIdExpected, InvalidDisplayId, StreamIsOutOfSync, IncompatibleAudioDriver, ValueAlreadySet, Timeout, GpuWorkstationFeatureIncomplete, StereoInitActivationNotDone, SyncNotActive, SyncMasterNotFound, InvalidSyncTopology, EcidSignAlgoUnsupported, EcidKeyVerificationFailed, FirmwareOutOfDate, FirmwareRevisionNotSupported, LicenseCallerAuthenticationFailed, D3dDeviceNotRegistered, ResourceNotAcquired, TimingNotSupported, HdcpEncryptionFailed, PclkLimitationFailed, NoConnectorFound, HdcpDisabled, ApiInUse, NvidiaDisplayNotFound, PrivSecViolation, IncorrectVendor, DisplayInUse, UnsupportedConfigNonHdcpHmd, MaxDisplayLimitReached, InvalidDirectModeDisplay, GpuInDebugMode, }
NvAPI Status Values
All NvAPI functions return one of these codes.
Variants
OkSuccess. Request is completed.
ErrorGeneric error
LibraryNotFoundNVAPI support library cannot be loaded.
NoImplementationnot implemented in current driver installation
ApiNotInitializedNvAPI_Initialize has not been called (successfully)
InvalidArgumentThe argument/parameter value is not valid or NULL.
NvidiaDeviceNotFoundNo NVIDIA display driver, or NVIDIA GPU driving a display, was found.
EndEnumerationNo more items to enumerate
InvalidHandleInvalid handle
IncompatibleStructVersionAn argument's structure version is not supported
HandleInvalidatedThe handle is no longer valid (likely due to GPU or display re-configuration)
OpenglContextNotCurrentNo NVIDIA OpenGL context is current (but needs to be)
InvalidPointerAn invalid pointer, usually NULL, was passed as a parameter
NoGlExpertOpenGL Expert is not supported by the current drivers
InstrumentationDisabledOpenGL Expert is supported, but driver instrumentation is currently disabled
NoGlNsightOpenGL does not support Nsight
ExpectedLogicalGpuHandleExpected a logical GPU handle for one or more parameters
ExpectedPhysicalGpuHandleExpected a physical GPU handle for one or more parameters
ExpectedDisplayHandleExpected an NV display handle for one or more parameters
InvalidCombinationThe combination of parameters is not valid.
NotSupportedRequested feature is not supported in the selected GPU
PortidNotFoundNo port ID was found for the I2C transaction
ExpectedUnattachedDisplayHandleExpected an unattached display handle as one of the input parameters.
InvalidPerfLevelInvalid perf level
DeviceBusyDevice is busy; request not fulfilled
NvPersistFileNotFoundNV persist file is not found
PersistDataNotFoundNV persist data is not found
ExpectedTvDisplayExpected a TV output display
ExpectedTvDisplayOnDconnectorExpected a TV output on the D Connector - HDTV_EIAJ4120.
NoActiveSliTopologySLI is not active on this device.
SliRenderingModeNotallowedSetup of SLI rendering mode is not possible right now.
ExpectedDigitalFlatPanelExpected a digital flat panel.
ArgumentExceedMaxSizeArgument exceeds the expected size.
DeviceSwitchingNotAllowedInhibit is ON due to one of the flags in NV_GPU_DISPLAY_CHANGE_INHIBIT or SLI active.
TestingClocksNotSupportedTesting of clocks is not supported.
UnknownUnderscanConfigThe specified underscan config is from an unknown source (e.g. INF)
TimeoutReconfiguringGpuTopoTimeout while reconfiguring GPUs
DataNotFoundRequested data was not found
ExpectedAnalogDisplayExpected an analog display
NoVidlinkNo SLI video bridge is present
RequiresRebootNVAPI requires a reboot for the settings to take effect
InvalidHybridModeThe function is not supported with the current Hybrid mode.
MixedTargetTypesThe target types are not all the same
Syswow64NotSupportedThe function is not supported from 32-bit on a 64-bit system.
ImplicitSetGpuTopologyChangeNotAllowedThere is no implicit GPU topology active. Use NVAPI_SetHybridMode to change topology.
RequestUserToCloseNonMigratableAppsPrompt the user to close all non-migratable applications.
OutOfMemoryCould not allocate sufficient memory to complete the call.
WasStillDrawingThe previous operation that is transferring information to or from this surface is incomplete.
FileNotFoundThe file was not found.
TooManyUniqueStateObjectsThere are too many unique instances of a particular type of state object.
InvalidCallThe method call is invalid. For example, a method's parameter may not be a valid pointer.
D3d101LibraryNotFoundd3d10_1.dll cannot be loaded.
FunctionNotFoundCouldn't find the function in the loaded DLL.
InvalidUserPrivilegeCurrent User is not Admin.
ExpectedNonPrimaryDisplayHandleThe handle corresponds to GDIPrimary.
ExpectedComputeGpuHandleSetting Physx GPU requires that the GPU is compute-capable.
StereoNotInitializedThe Stereo part of NVAPI failed to initialize completely. Check if the stereo driver is installed.
StereoRegistryAccessFailedAccess to stereo-related registry keys or values has failed.
StereoRegistryProfileTypeNotSupportedThe given registry profile type is not supported.
StereoRegistryValueNotSupportedThe given registry value is not supported.
StereoNotEnabledStereo is not enabled and the function needed it to execute completely.
StereoNotTurnedOnStereo is not turned on and the function needed it to execute completely.
StereoInvalidDeviceInterfaceInvalid device interface.
StereoParameterOutOfRangeSeparation percentage or JPEG image capture quality is out of [0-100] range.
StereoFrustumAdjustModeNotSupportedThe given frustum adjust mode is not supported.
TopoNotPossibleThe mosaic topology is not possible given the current state of the hardware.
ModeChangeFailedAn attempt to do a display resolution mode change has failed.
D3d11LibraryNotFoundd3d11.dll/d3d11_beta.dll cannot be loaded.
InvalidAddressAddress is outside of valid range.
StringTooSmallThe pre-allocated string is too small to hold the result.
MatchingDeviceNotFoundThe input does not match any of the available devices.
DriverRunningDriver is running.
DriverNotrunningDriver is not running.
ErrorDriverReloadRequiredA driver reload is required to apply these settings.
SetNotAllowedIntended setting is not allowed.
AdvancedDisplayTopologyRequiredInformation can't be returned due to "advanced display topology".
SettingNotFoundSetting is not found.
SettingSizeTooLargeSetting size is too large.
TooManySettingsInProfileThere are too many settings for a profile.
ProfileNotFoundProfile is not found.
ProfileNameInUseProfile name is duplicated.
ProfileNameEmptyProfile name is empty.
ExecutableNotFoundApplication not found in the Profile.
ExecutableAlreadyInUseApplication already exists in the other profile.
DatatypeMismatchData Type mismatch
ProfileRemovedThe profile passed as parameter has been removed and is no longer valid.
UnregisteredResourceAn unregistered resource was passed as a parameter.
IdOutOfRangeThe DisplayId corresponds to a display which is not within the normal outputId range.
DisplayconfigValidationFailedDisplay topology is not valid so the driver cannot do a mode set on this configuration.
DpmstChangedDisplay Port Multi-Stream topology has been changed.
InsufficientBufferInput buffer is insufficient to hold the contents.
AccessDeniedNo access to the caller.
MosaicNotActiveThe requested action cannot be performed without Mosaic being enabled.
The surface is relocated away from video memory.
RequestUserToDisableDwmThe user should disable DWM before calling NvAPI.
D3dDeviceLostD3D device status is D3DERR_DEVICELOST or D3DERR_DEVICENOTRESET - the user has to reset the device.
InvalidConfigurationThe requested action cannot be performed in the current state.
StereoHandshakeNotDoneCall failed as stereo handshake not completed.
ExecutablePathIsAmbiguousThe path provided was too short to determine the correct NVDRS_APPLICATION
DefaultStereoProfileIsNotDefinedDefault stereo profile is not currently defined
DefaultStereoProfileDoesNotExistDefault stereo profile does not exist
ClusterAlreadyExistsA cluster is already defined with the given configuration.
DpmstDisplayIdExpectedThe input display id is not that of a multi stream enabled connector or a display device in a multi stream topology
InvalidDisplayIdThe input display id is not valid or the monitor associated to it does not support the current operation
StreamIsOutOfSyncWhile playing secure audio stream, stream goes out of sync
IncompatibleAudioDriverOlder audio driver version than required
ValueAlreadySetValue already set, setting again not allowed.
TimeoutRequested operation timed out
GpuWorkstationFeatureIncompleteThe requested workstation feature set has incomplete driver internal allocation resources
StereoInitActivationNotDoneCall failed because InitActivation was not called.
SyncNotActiveThe requested action cannot be performed without Sync being enabled.
SyncMasterNotFoundThe requested action cannot be performed without Sync Master being enabled.
InvalidSyncTopologyInvalid displays passed in the NV_GSYNC_DISPLAY pointer.
EcidSignAlgoUnsupportedThe specified signing algorithm is not supported. Either an incorrect value was entered or the current installed driver/hardware does not support the input value.
EcidKeyVerificationFailedThe encrypted public key verification has failed.
FirmwareOutOfDateThe device's firmware is out of date.
FirmwareRevisionNotSupportedThe device's firmware is not supported.
LicenseCallerAuthenticationFailedThe caller is not authorized to modify the License.
D3dDeviceNotRegisteredThe user tried to use a deferred context without registering the device first
ResourceNotAcquiredHead or SourceId was not reserved for the VR Display before doing the Modeset.
TimingNotSupportedProvided timing is not supported.
HdcpEncryptionFailedHDCP Encryption Failed for the device. Would be applicable when the device is HDCP Capable.
PclkLimitationFailedProvided mode is over sink device pclk limitation.
NoConnectorFoundNo connector on GPU found.
HdcpDisabledWhen a non-HDCP capable HMD is connected, we would inform user by this code.
ApiInUseAtleast an API is still being called
NvidiaDisplayNotFoundNo display found on Nvidia GPU(s).
PrivSecViolationPriv security violation, improper access to a secured register.
IncorrectVendorNVAPI cannot be called by this vendor
DisplayInUseDirectMode Display is already in use
UnsupportedConfigNonHdcpHmdThe Config is having Non-NVidia GPU with Non-HDCP HMD connected
MaxDisplayLimitReachedGPU's Max Display Limit has Reached
InvalidDirectModeDisplayDirectMode not Enabled on the Display
GpuInDebugModeGPU is in debug mode, OC is NOT allowed.
Methods
impl Status[src]
pub fn from_raw(raw: i32) -> Result<Status, ArgumentRangeError>[src]
pub fn raw(&self) -> i32[src]
ⓘImportant traits for Cloned<I>pub fn values() -> Cloned<Iter<'static, Status>>[src]
Trait Implementations
impl Debug for Status[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more
impl PartialOrd<Status> for Status[src]
fn partial_cmp(&self, __arg_0: &Status) -> Option<Ordering>[src]
This method returns an ordering between self and other values if one exists. Read more
fn lt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than (for self and other) and is used by the < operator. Read more
fn le(&self, other: &Rhs) -> bool1.0.0[src]
This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
fn gt(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than (for self and other) and is used by the > operator. Read more
fn ge(&self, other: &Rhs) -> bool1.0.0[src]
This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
impl Ord for Status[src]
fn cmp(&self, __arg_0: &Status) -> Ordering[src]
This method returns an Ordering between self and other. Read more
fn max(self, other: Self) -> Self1.21.0[src]
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self1.21.0[src]
Compares and returns the minimum of two values. Read more
impl Copy for Status[src]
impl From<ArgumentRangeError> for Status[src]
fn from(ArgumentRangeError) -> Status[src]
Performs the conversion.
impl Serialize for Status[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer, [src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
impl Clone for Status[src]
fn clone(&self) -> Status[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Error for Status[src]
fn description(&self) -> &str[src]
impl Into<i32> for Status[src]
impl PartialEq<Status> for Status[src]
fn eq(&self, __arg_0: &Status) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Eq for Status[src]
impl Display for Status[src]
impl Hash for Status[src]
fn hash<__H>(&self, __arg_0: &mut __H) where
__H: Hasher, [src]
__H: Hasher,
Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl<'de> Deserialize<'de> for Status[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<Status, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>, [src]
__deserializer: __D
) -> Result<Status, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,