Enum nvapi_hi::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

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.

Methods

impl Status
[src]

[src]

[src]

Important traits for Cloned<I>
[src]

Trait Implementations

impl Debug for Status
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialOrd<Status> for Status
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

1.0.0
[src]

This method tests less than (for self and other) and is used by the < operator. Read more

1.0.0
[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

1.0.0
[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

1.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]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Copy for Status
[src]

impl From<ArgumentRangeError> for Status
[src]

[src]

Performs the conversion.

impl Serialize for Status
[src]

[src]

impl Clone for Status
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Error for Status
[src]

[src]

impl Into<i32> for Status
[src]

[src]

impl PartialEq<Status> for Status
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for Status
[src]

impl Display for Status
[src]

[src]

impl Hash for Status
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'de> Deserialize<'de> for Status
[src]

[src]