namespace RGB.NET.Devices.Razer
{
///
/// Razer-SDK: Error codes for Chroma SDK. If the error is not defined here, refer to WinError.h from the Windows SDK.
///
public enum RazerError
{
///
/// Razer-SDK: Invalid.
///
Invalid = -1,
///
/// Razer-SDK: Success.
///
Success = 0,
///
/// Razer-SDK: Access denied.
///
AccessDenied = 5,
///
/// Razer-SDK: Invalid handle.
///
InvalidHandle = 6,
///
/// Razer-SDK: Not supported.
///
NotSupported = 50,
///
/// Razer-SDK: Invalid parameter.
///
InvalidParameter = 87,
///
/// Razer-SDK: The service has not been started.
///
ServiceNotActive = 1062,
///
/// Razer-SDK: Cannot start more than one instance of the specified program.
///
SingleInstanceApp = 1152,
///
/// Razer-SDK: Device not connected.
///
DeviceNotConnected = 1167,
///
/// Razer-SDK: Element not found.
///
NotFound = 1168,
///
/// Razer-SDK: Request aborted.
///
RequestAborted = 1235,
///
/// Razer-SDK: An attempt was made to perform an initialization operation when initialization has already been completed.
///
AlreadyInitialized = 1247,
///
/// Razer-SDK: Resource not available or disabled.
///
ResourceDisabled = 4309,
///
/// Razer-SDK: Device not available or supported.
///
DeviceNotAvailable = 4319,
///
/// Razer-SDK: The group or resource is not in the correct state to perform the requested operation.
///
NotValidState = 5023,
///
/// Razer-SDK: No more items.
///
NoMoreItems = 259,
///
/// Razer-SDK: General failure.
///
Failed = unchecked(-2147467259)
}
}