[−][src]Enum nvapi_sys::status::Status
NvAPI Status Values
All NvAPI functions return one of these codes.
Variants
Success. Request is completed.
Generic error
NVAPI support library cannot be loaded.
not implemented in current driver installation
NvAPI_Initialize has not been called (successfully)
The argument/parameter value is not valid or NULL.
No NVIDIA display driver, or NVIDIA GPU driving a display, was found.
No more items to enumerate
Invalid handle
An argument's structure version is not supported
The handle is no longer valid (likely due to GPU or display re-configuration)
No NVIDIA OpenGL context is current (but needs to be)
An invalid pointer, usually NULL, was passed as a parameter
OpenGL Expert is not supported by the current drivers
OpenGL Expert is supported, but driver instrumentation is currently disabled
OpenGL does not support Nsight
Expected a logical GPU handle for one or more parameters
Expected a physical GPU handle for one or more parameters
Expected an NV display handle for one or more parameters
The combination of parameters is not valid.
Requested feature is not supported in the selected GPU
No port ID was found for the I2C transaction
Expected an unattached display handle as one of the input parameters.
Invalid perf level
Device is busy; request not fulfilled
NV persist file is not found
NV persist data is not found
Expected a TV output display
Expected a TV output on the D Connector - HDTV_EIAJ4120.
SLI is not active on this device.
Setup of SLI rendering mode is not possible right now.
Expected a digital flat panel.
Argument exceeds the expected size.
Inhibit is ON due to one of the flags in NV_GPU_DISPLAY_CHANGE_INHIBIT or SLI active.
Testing of clocks is not supported.
The specified underscan config is from an unknown source (e.g. INF)
Timeout while reconfiguring GPUs
Requested data was not found
Expected an analog display
No SLI video bridge is present
NVAPI requires a reboot for the settings to take effect
The function is not supported with the current Hybrid mode.
The target types are not all the same
The function is not supported from 32-bit on a 64-bit system.
There is no implicit GPU topology active. Use NVAPI_SetHybridMode to change topology.
Prompt the user to close all non-migratable applications.
Could not allocate sufficient memory to complete the call.
The previous operation that is transferring information to or from this surface is incomplete.
The file was not found.
There are too many unique instances of a particular type of state object.
The method call is invalid. For example, a method's parameter may not be a valid pointer.
d3d10_1.dll cannot be loaded.
Couldn't find the function in the loaded DLL.
Current User is not Admin.
The handle corresponds to GDIPrimary.
Setting Physx GPU requires that the GPU is compute-capable.
The Stereo part of NVAPI failed to initialize completely. Check if the stereo driver is installed.
Access to stereo-related registry keys or values has failed.
The given registry profile type is not supported.
The given registry value is not supported.
Stereo is not enabled and the function needed it to execute completely.
Stereo is not turned on and the function needed it to execute completely.
Invalid device interface.
Separation percentage or JPEG image capture quality is out of [0-100] range.
The given frustum adjust mode is not supported.
The mosaic topology is not possible given the current state of the hardware.
An attempt to do a display resolution mode change has failed.
d3d11.dll/d3d11_beta.dll cannot be loaded.
Address is outside of valid range.
The pre-allocated string is too small to hold the result.
The input does not match any of the available devices.
Driver is running.
Driver is not running.
A driver reload is required to apply these settings.
Intended setting is not allowed.
Information can't be returned due to "advanced display topology".
Setting is not found.
Setting size is too large.
There are too many settings for a profile.
Profile is not found.
Profile name is duplicated.
Profile name is empty.
Application not found in the Profile.
Application already exists in the other profile.
Data Type mismatch
The profile passed as parameter has been removed and is no longer valid.
An unregistered resource was passed as a parameter.
The DisplayId corresponds to a display which is not within the normal outputId range.
Display topology is not valid so the driver cannot do a mode set on this configuration.
Display Port Multi-Stream topology has been changed.
Input buffer is insufficient to hold the contents.
No access to the caller.
The requested action cannot be performed without Mosaic being enabled.
The surface is relocated away from video memory.
The user should disable DWM before calling NvAPI.
D3D device status is D3DERR_DEVICELOST or D3DERR_DEVICENOTRESET - the user has to reset the device.
The requested action cannot be performed in the current state.
Call failed as stereo handshake not completed.
The path provided was too short to determine the correct NVDRS_APPLICATION
Default stereo profile is not currently defined
Default stereo profile does not exist
A cluster is already defined with the given configuration.
The input display id is not that of a multi stream enabled connector or a display device in a multi stream topology
The input display id is not valid or the monitor associated to it does not support the current operation
While playing secure audio stream, stream goes out of sync
Older audio driver version than required
Value already set, setting again not allowed.
Requested operation timed out
The requested workstation feature set has incomplete driver internal allocation resources
Call failed because InitActivation was not called.
The requested action cannot be performed without Sync being enabled.
The requested action cannot be performed without Sync Master being enabled.
Invalid displays passed in the NV_GSYNC_DISPLAY pointer.
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.
The encrypted public key verification has failed.
The device's firmware is out of date.
The device's firmware is not supported.
The caller is not authorized to modify the License.
The user tried to use a deferred context without registering the device first
Head or SourceId was not reserved for the VR Display before doing the Modeset.
Provided timing is not supported.
HDCP Encryption Failed for the device. Would be applicable when the device is HDCP Capable.
Provided mode is over sink device pclk limitation.
No connector on GPU found.
When a non-HDCP capable HMD is connected, we would inform user by this code.
Atleast an API is still being called
No display found on Nvidia GPU(s).
Priv security violation, improper access to a secured register.
NVAPI cannot be called by this vendor
DirectMode Display is already in use
The Config is having Non-NVidia GPU with Non-HDCP HMD connected
GPU's Max Display Limit has Reached
DirectMode not Enabled on the Display
GPU is in debug mode, OC is NOT allowed.
Implementations
impl Status
[src]
pub fn from_raw(raw: NvAPI_Status) -> Result<Self, ArgumentRangeError>
[src]
pub fn raw(&self) -> NvAPI_Status
[src]
pub fn values() -> Cloned<Iter<'static, Self>>
[src]
Trait Implementations
impl Clone for Status
[src]
impl Copy for Status
[src]
impl Debug for Status
[src]
impl<'de> Deserialize<'de> for Status
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for Status
[src]
impl Eq for Status
[src]
impl Error for Status
[src]
fn description(&self) -> &str
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl From<ArgumentRangeError> for Status
[src]
fn from(_: ArgumentRangeError) -> Self
[src]
impl Hash for Status
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Into<i32> for Status
[src]
fn into(self) -> NvAPI_Status
[src]
impl Ord for Status
[src]
fn cmp(&self, other: &Status) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Status> for Status
[src]
impl PartialOrd<Status> for Status
[src]
fn partial_cmp(&self, other: &Status) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for Status
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for Status
[src]
impl StructuralPartialEq for Status
[src]
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,