winresult 0.1.3

windows result codes
Documentation
// WARNING: this file is auto-generated by xtask gen and may be overwritten

use super::*;


/// The action was cancelled by an SCardCancel request.
pub const E_CANCELLED : HResultError = HResultError::from_constant(0x80100002); // SCARD_E_CANCELLED

/// The supplied handle was invalid.
pub const E_INVALID_HANDLE : HResultError = HResultError::from_constant(0x80100003); // SCARD_E_INVALID_HANDLE

/// One or more of the supplied parameters could not be properly interpreted.
pub const E_INVALID_PARAMETER : HResultError = HResultError::from_constant(0x80100004); // SCARD_E_INVALID_PARAMETER

/// Registry startup information is missing or invalid.
pub const E_INVALID_TARGET : HResultError = HResultError::from_constant(0x80100005); // SCARD_E_INVALID_TARGET

/// Not enough memory available to complete this command.
pub const E_NO_MEMORY : HResultError = HResultError::from_constant(0x80100006); // SCARD_E_NO_MEMORY

/// The data buffer to receive returned data is too small for the returned data.
pub const E_INSUFFICIENT_BUFFER : HResultError = HResultError::from_constant(0x80100008); // SCARD_E_INSUFFICIENT_BUFFER

/// The specified reader name is not recognized.
pub const E_UNKNOWN_READER : HResultError = HResultError::from_constant(0x80100009); // SCARD_E_UNKNOWN_READER

/// The user-specified timeout value has expired.
pub const E_TIMEOUT : HResultError = HResultError::from_constant(0x8010000A); // SCARD_E_TIMEOUT

/// The smart card cannot be accessed because of other connections outstanding.
pub const E_SHARING_VIOLATION : HResultError = HResultError::from_constant(0x8010000B); // SCARD_E_SHARING_VIOLATION

/// The operation requires a smart card, but no smart card is currently in the device.
pub const E_NO_SMARTCARD : HResultError = HResultError::from_constant(0x8010000C); // SCARD_E_NO_SMARTCARD

/// The specified smart card name is not recognized.
pub const E_UNKNOWN_CARD : HResultError = HResultError::from_constant(0x8010000D); // SCARD_E_UNKNOWN_CARD

/// The system could not dispose of the media in the requested manner.
pub const E_CANT_DISPOSE : HResultError = HResultError::from_constant(0x8010000E); // SCARD_E_CANT_DISPOSE

/// The requested protocols are incompatible with the protocol currently in use with the smart card.
pub const E_PROTO_MISMATCH : HResultError = HResultError::from_constant(0x8010000F); // SCARD_E_PROTO_MISMATCH

/// The reader or smart card is not ready to accept commands.
pub const E_NOT_READY : HResultError = HResultError::from_constant(0x80100010); // SCARD_E_NOT_READY

/// One or more of the supplied parameters values could not be properly interpreted.
pub const E_INVALID_VALUE : HResultError = HResultError::from_constant(0x80100011); // SCARD_E_INVALID_VALUE

/// The action was cancelled by the system, presumably to log off or shut down.
pub const E_SYSTEM_CANCELLED : HResultError = HResultError::from_constant(0x80100012); // SCARD_E_SYSTEM_CANCELLED

/// An ATR obtained from the registry is not a valid ATR string.
pub const E_INVALID_ATR : HResultError = HResultError::from_constant(0x80100015); // SCARD_E_INVALID_ATR

/// An attempt was made to end a non-existent transaction.
pub const E_NOT_TRANSACTED : HResultError = HResultError::from_constant(0x80100016); // SCARD_E_NOT_TRANSACTED

/// The specified reader is not currently available for use.
pub const E_READER_UNAVAILABLE : HResultError = HResultError::from_constant(0x80100017); // SCARD_E_READER_UNAVAILABLE

/// The PCI Receive buffer was too small.
pub const E_PCI_TOO_SMALL : HResultError = HResultError::from_constant(0x80100019); // SCARD_E_PCI_TOO_SMALL

/// The reader driver does not meet minimal requirements for support.
pub const E_READER_UNSUPPORTED : HResultError = HResultError::from_constant(0x8010001A); // SCARD_E_READER_UNSUPPORTED

/// The reader driver did not produce a unique reader name.
pub const E_DUPLICATE_READER : HResultError = HResultError::from_constant(0x8010001B); // SCARD_E_DUPLICATE_READER

/// The smart card does not meet minimal requirements for support.
pub const E_CARD_UNSUPPORTED : HResultError = HResultError::from_constant(0x8010001C); // SCARD_E_CARD_UNSUPPORTED

/// The Smart Card Resource Manager is not running.
pub const E_NO_SERVICE : HResultError = HResultError::from_constant(0x8010001D); // SCARD_E_NO_SERVICE

/// The Smart Card Resource Manager has shut down.
pub const E_SERVICE_STOPPED : HResultError = HResultError::from_constant(0x8010001E); // SCARD_E_SERVICE_STOPPED

/// An unexpected card error has occurred.
pub const E_UNEXPECTED : HResultError = HResultError::from_constant(0x8010001F); // SCARD_E_UNEXPECTED

/// No Primary Provider can be found for the smart card.
pub const E_ICC_INSTALLATION : HResultError = HResultError::from_constant(0x80100020); // SCARD_E_ICC_INSTALLATION

/// The requested order of object creation is not supported.
pub const E_ICC_CREATEORDER : HResultError = HResultError::from_constant(0x80100021); // SCARD_E_ICC_CREATEORDER

/// This smart card does not support the requested feature.
pub const E_UNSUPPORTED_FEATURE : HResultError = HResultError::from_constant(0x80100022); // SCARD_E_UNSUPPORTED_FEATURE

/// The identified directory does not exist in the smart card.
pub const E_DIR_NOT_FOUND : HResultError = HResultError::from_constant(0x80100023); // SCARD_E_DIR_NOT_FOUND

/// The identified file does not exist in the smart card.
pub const E_FILE_NOT_FOUND : HResultError = HResultError::from_constant(0x80100024); // SCARD_E_FILE_NOT_FOUND

/// The supplied path does not represent a smart card directory.
pub const E_NO_DIR : HResultError = HResultError::from_constant(0x80100025); // SCARD_E_NO_DIR

/// The supplied path does not represent a smart card file.
pub const E_NO_FILE : HResultError = HResultError::from_constant(0x80100026); // SCARD_E_NO_FILE

/// Access is denied to this file.
pub const E_NO_ACCESS : HResultError = HResultError::from_constant(0x80100027); // SCARD_E_NO_ACCESS

/// The smart card does not have enough memory to store the information.
pub const E_WRITE_TOO_MANY : HResultError = HResultError::from_constant(0x80100028); // SCARD_E_WRITE_TOO_MANY

/// There was an error trying to set the smart card file object pointer.
pub const E_BAD_SEEK : HResultError = HResultError::from_constant(0x80100029); // SCARD_E_BAD_SEEK

/// The supplied PIN is incorrect.
pub const E_INVALID_CHV : HResultError = HResultError::from_constant(0x8010002A); // SCARD_E_INVALID_CHV

/// An unrecognized error code was returned from a layered component.
pub const E_UNKNOWN_RES_MNG : HResultError = HResultError::from_constant(0x8010002B); // SCARD_E_UNKNOWN_RES_MNG

/// The requested certificate does not exist.
pub const E_NO_SUCH_CERTIFICATE : HResultError = HResultError::from_constant(0x8010002C); // SCARD_E_NO_SUCH_CERTIFICATE

/// The requested certificate could not be obtained.
pub const E_CERTIFICATE_UNAVAILABLE : HResultError = HResultError::from_constant(0x8010002D); // SCARD_E_CERTIFICATE_UNAVAILABLE

/// Cannot find a smart card reader.
pub const E_NO_READERS_AVAILABLE : HResultError = HResultError::from_constant(0x8010002E); // SCARD_E_NO_READERS_AVAILABLE

/// A communications error with the smart card has been detected. Retry the operation.
pub const E_COMM_DATA_LOST : HResultError = HResultError::from_constant(0x8010002F); // SCARD_E_COMM_DATA_LOST

/// The requested key container does not exist on the smart card.
pub const E_NO_KEY_CONTAINER : HResultError = HResultError::from_constant(0x80100030); // SCARD_E_NO_KEY_CONTAINER

/// The Smart Card Resource Manager is too busy to complete this operation.
pub const E_SERVER_TOO_BUSY : HResultError = HResultError::from_constant(0x80100031); // SCARD_E_SERVER_TOO_BUSY

/// The smart card PIN cache has expired.
pub const E_PIN_CACHE_EXPIRED : HResultError = HResultError::from_constant(0x80100032); // SCARD_E_PIN_CACHE_EXPIRED

/// The smart card PIN cannot be cached.
pub const E_NO_PIN_CACHE : HResultError = HResultError::from_constant(0x80100033); // SCARD_E_NO_PIN_CACHE

/// The smart card is read only and cannot be written to.
pub const E_READ_ONLY_CARD : HResultError = HResultError::from_constant(0x80100034); // SCARD_E_READ_ONLY_CARD