Docs.rs
windows-sys-0.59.0
windows-sys 0.59.0
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kennykerr
Dependencies
windows-targets ^0.52.6
normal
Versions
100%
of the crate is documented
Platform
x86_64-pc-windows-msvc
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
windows_sys
0.59.0
Module Credentials
Structs
Constants
Functions
Type Aliases
Unions
In windows_sys::Win32::Security
Module
windows_sys
::
Win32
::
Security
::
Credentials
Copy item path
[
−
]
Structs
§
BINARY_BLOB_CREDENTIAL_INFO
CERT_CREDENTIAL_INFO
CREDENTIALA
CREDENTIALW
CREDENTIAL_ATTRIBUTEA
CREDENTIAL_ATTRIBUTEW
CREDENTIAL_TARGET_INFORMATIONA
CREDENTIAL_TARGET_INFORMATIONW
CREDSSP_CRED
CREDSSP_CRED_EX
CREDUI_INFOA
CREDUI_INFOW
KeyCredentialManagerInfo
OPENCARDNAMEA
OPENCARDNAMEW
OPENCARDNAME_EXA
OPENCARDNAME_EXW
OPENCARD_SEARCH_CRITERIAA
OPENCARD_SEARCH_CRITERIAW
READER_SEL_REQUEST
READER_SEL_REQUEST_0_0
READER_SEL_REQUEST_0_1
READER_SEL_RESPONSE
SCARD_ATRMASK
SCARD_IO_REQUEST
SCARD_READERSTATEA
SCARD_READERSTATEW
SCARD_T0_COMMAND
SCARD_T0_REQUEST
SCARD_T1_REQUEST
SecHandle
SecPkgContext_ClientCreds
USERNAME_TARGET_CREDENTIAL_INFO
Constants
§
BinaryBlobCredential
BinaryBlobForSystem
CERT_HASH_LENGTH
CREDSSP_CRED_EX_VERSION
CREDSSP_FLAG_REDIRECT
CREDSSP_NAME
CREDSSP_SERVER_AUTH_CERTIFICATE
CREDSSP_SERVER_AUTH_LOOPBACK
CREDSSP_SERVER_AUTH_NEGOTIATE
CREDUIWIN_AUTHPACKAGE_ONLY
CREDUIWIN_CHECKBOX
CREDUIWIN_DOWNLEVEL_HELLO_AS_SMART_CARD
CREDUIWIN_ENUMERATE_ADMINS
CREDUIWIN_ENUMERATE_CURRENT_USER
CREDUIWIN_GENERIC
CREDUIWIN_IGNORE_CLOUDAUTHORITY_NAME
CREDUIWIN_IN_CRED_ONLY
CREDUIWIN_PACK_32_WOW
CREDUIWIN_PREPROMPTING
CREDUIWIN_SECURE_PROMPT
CREDUI_FLAGS_ALWAYS_SHOW_UI
CREDUI_FLAGS_COMPLETE_USERNAME
CREDUI_FLAGS_DO_NOT_PERSIST
CREDUI_FLAGS_EXCLUDE_CERTIFICATES
CREDUI_FLAGS_EXPECT_CONFIRMATION
CREDUI_FLAGS_GENERIC_CREDENTIALS
CREDUI_FLAGS_INCORRECT_PASSWORD
CREDUI_FLAGS_KEEP_USERNAME
CREDUI_FLAGS_PASSWORD_ONLY_OK
CREDUI_FLAGS_PERSIST
CREDUI_FLAGS_REQUEST_ADMINISTRATOR
CREDUI_FLAGS_REQUIRE_CERTIFICATE
CREDUI_FLAGS_REQUIRE_SMARTCARD
CREDUI_FLAGS_SERVER_CREDENTIAL
CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX
CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS
CREDUI_FLAGS_VALIDATE_USERNAME
CREDUI_MAX_CAPTION_LENGTH
CREDUI_MAX_DOMAIN_TARGET_LENGTH
CREDUI_MAX_GENERIC_TARGET_LENGTH
CREDUI_MAX_MESSAGE_LENGTH
CREDUI_MAX_USERNAME_LENGTH
CRED_ALLOW_NAME_RESOLUTION
CRED_CACHE_TARGET_INFORMATION
CRED_ENUMERATE_ALL_CREDENTIALS
CRED_FLAGS_NGC_CERT
CRED_FLAGS_OWF_CRED_BLOB
CRED_FLAGS_PASSWORD_FOR_CERT
CRED_FLAGS_PROMPT_NOW
CRED_FLAGS_REQUIRE_CONFIRMATION
CRED_FLAGS_USERNAME_TARGET
CRED_FLAGS_VALID_FLAGS
CRED_FLAGS_VALID_INPUT_FLAGS
CRED_FLAGS_VSM_PROTECTED
CRED_FLAGS_WILDCARD_MATCH
CRED_LOGON_TYPES_MASK
CRED_MAX_ATTRIBUTES
CRED_MAX_CREDENTIAL_BLOB_SIZE
CRED_MAX_DOMAIN_TARGET_NAME_LENGTH
CRED_MAX_GENERIC_TARGET_NAME_LENGTH
CRED_MAX_STRING_LENGTH
CRED_MAX_TARGETNAME_ATTRIBUTE_LENGTH
CRED_MAX_TARGETNAME_NAMESPACE_LENGTH
CRED_MAX_USERNAME_LENGTH
CRED_MAX_VALUE_SIZE
CRED_PACK_GENERIC_CREDENTIALS
CRED_PACK_ID_PROVIDER_CREDENTIALS
CRED_PACK_PROTECTED_CREDENTIALS
CRED_PACK_WOW_BUFFER
CRED_PERSIST_ENTERPRISE
CRED_PERSIST_LOCAL_MACHINE
CRED_PERSIST_NONE
CRED_PERSIST_SESSION
CRED_PRESERVE_CREDENTIAL_BLOB
CRED_PROTECT_AS_SELF
CRED_PROTECT_TO_SYSTEM
CRED_SESSION_WILDCARD_NAME
CRED_SESSION_WILDCARD_NAME_A
CRED_SESSION_WILDCARD_NAME_W
CRED_TARGETNAME_ATTRIBUTE_BATCH
CRED_TARGETNAME_ATTRIBUTE_BATCH_A
CRED_TARGETNAME_ATTRIBUTE_BATCH_W
CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE
CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_A
CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_W
CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE
CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_A
CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_W
CRED_TARGETNAME_ATTRIBUTE_NAME
CRED_TARGETNAME_ATTRIBUTE_NAME_A
CRED_TARGETNAME_ATTRIBUTE_NAME_W
CRED_TARGETNAME_ATTRIBUTE_NETWORK
CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT
CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_A
CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_W
CRED_TARGETNAME_ATTRIBUTE_NETWORK_A
CRED_TARGETNAME_ATTRIBUTE_NETWORK_W
CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE
CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_A
CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_W
CRED_TARGETNAME_ATTRIBUTE_SERVICE
CRED_TARGETNAME_ATTRIBUTE_SERVICE_A
CRED_TARGETNAME_ATTRIBUTE_SERVICE_W
CRED_TARGETNAME_ATTRIBUTE_TARGET
CRED_TARGETNAME_ATTRIBUTE_TARGET_A
CRED_TARGETNAME_ATTRIBUTE_TARGET_W
CRED_TARGETNAME_DOMAIN_NAMESPACE
CRED_TARGETNAME_DOMAIN_NAMESPACE_A
CRED_TARGETNAME_DOMAIN_NAMESPACE_W
CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_A
CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_W
CRED_TI_CREATE_EXPLICIT_CRED
CRED_TI_DNSTREE_IS_DFS_SERVER
CRED_TI_DOMAIN_FORMAT_UNKNOWN
CRED_TI_ONLY_PASSWORD_REQUIRED
CRED_TI_SERVER_FORMAT_UNKNOWN
CRED_TI_USERNAME_TARGET
CRED_TI_VALID_FLAGS
CRED_TI_WORKGROUP_MEMBER
CRED_TYPE_DOMAIN_CERTIFICATE
CRED_TYPE_DOMAIN_EXTENDED
CRED_TYPE_DOMAIN_PASSWORD
CRED_TYPE_DOMAIN_VISIBLE_PASSWORD
CRED_TYPE_GENERIC
CRED_TYPE_GENERIC_CERTIFICATE
CRED_TYPE_MAXIMUM
CRED_TYPE_MAXIMUM_EX
CRED_UNPROTECT_ALLOW_TO_SYSTEM
CRED_UNPROTECT_AS_SELF
CertCredential
CredForSystemProtection
CredTrustedProtection
CredUnprotected
CredUserProtection
CredsspCertificateCreds
CredsspCredEx
CredsspPasswordCreds
CredsspSchannelCreds
CredsspSubmitBufferBoth
CredsspSubmitBufferBothOld
FILE_DEVICE_SMARTCARD
GUID_DEVINTERFACE_SMARTCARD_READER
KeyCredentialManagerOperationErrorStateCertificateFailure
KeyCredentialManagerOperationErrorStateDeviceJoinFailure
KeyCredentialManagerOperationErrorStateHardwareFailure
KeyCredentialManagerOperationErrorStateNone
KeyCredentialManagerOperationErrorStatePinExistsFailure
KeyCredentialManagerOperationErrorStatePolicyFailure
KeyCredentialManagerOperationErrorStateRemoteSessionFailure
KeyCredentialManagerOperationErrorStateTokenFailure
KeyCredentialManagerPinChange
KeyCredentialManagerPinReset
KeyCredentialManagerProvisioning
MAXIMUM_ATTR_STRING_LENGTH
MAXIMUM_SMARTCARD_READERS
RSR_MATCH_TYPE_ALL_CARDS
RSR_MATCH_TYPE_READER_AND_CONTAINER
RSR_MATCH_TYPE_SERIAL_NUMBER
SCARD_ABSENT
SCARD_ALL_READERS
SCARD_ATR_LENGTH
SCARD_AUDIT_CHV_FAILURE
SCARD_AUDIT_CHV_SUCCESS
SCARD_CLASS_COMMUNICATIONS
SCARD_CLASS_ICC_STATE
SCARD_CLASS_IFD_PROTOCOL
SCARD_CLASS_MECHANICAL
SCARD_CLASS_PERF
SCARD_CLASS_POWER_MGMT
SCARD_CLASS_PROTOCOL
SCARD_CLASS_SECURITY
SCARD_CLASS_SYSTEM
SCARD_CLASS_VENDOR_DEFINED
SCARD_CLASS_VENDOR_INFO
SCARD_COLD_RESET
SCARD_DEFAULT_READERS
SCARD_EJECT_CARD
SCARD_LEAVE_CARD
SCARD_LOCAL_READERS
SCARD_NEGOTIABLE
SCARD_POWERED
SCARD_POWER_DOWN
SCARD_PRESENT
SCARD_PROTOCOL_DEFAULT
SCARD_PROTOCOL_OPTIMAL
SCARD_PROTOCOL_RAW
SCARD_PROTOCOL_T0
SCARD_PROTOCOL_T1
SCARD_PROTOCOL_UNDEFINED
SCARD_PROVIDER_CSP
SCARD_PROVIDER_KSP
SCARD_PROVIDER_PRIMARY
SCARD_READER_CONFISCATES
SCARD_READER_CONTACTLESS
SCARD_READER_EJECTS
SCARD_READER_SWALLOWS
SCARD_READER_TYPE_EMBEDDEDSE
SCARD_READER_TYPE_IDE
SCARD_READER_TYPE_KEYBOARD
SCARD_READER_TYPE_NFC
SCARD_READER_TYPE_NGC
SCARD_READER_TYPE_PARALELL
SCARD_READER_TYPE_PCMCIA
SCARD_READER_TYPE_SCSI
SCARD_READER_TYPE_SERIAL
SCARD_READER_TYPE_TPM
SCARD_READER_TYPE_UICC
SCARD_READER_TYPE_USB
SCARD_READER_TYPE_VENDOR
SCARD_RESET_CARD
SCARD_SCOPE_SYSTEM
SCARD_SCOPE_TERMINAL
SCARD_SCOPE_USER
SCARD_SHARE_DIRECT
SCARD_SHARE_EXCLUSIVE
SCARD_SHARE_SHARED
SCARD_SPECIFIC
SCARD_STATE_ATRMATCH
SCARD_STATE_CHANGED
SCARD_STATE_EMPTY
SCARD_STATE_EXCLUSIVE
SCARD_STATE_IGNORE
SCARD_STATE_INUSE
SCARD_STATE_MUTE
SCARD_STATE_PRESENT
SCARD_STATE_UNAVAILABLE
SCARD_STATE_UNAWARE
SCARD_STATE_UNKNOWN
SCARD_STATE_UNPOWERED
SCARD_SWALLOWED
SCARD_SYSTEM_READERS
SCARD_T0_CMD_LENGTH
SCARD_T0_HEADER_LENGTH
SCARD_T1_EPILOGUE_LENGTH
SCARD_T1_EPILOGUE_LENGTH_LRC
SCARD_T1_MAX_IFS
SCARD_T1_PROLOGUE_LENGTH
SCARD_UNKNOWN
SCARD_UNPOWER_CARD
SCARD_WARM_RESET
SCERR_NOCARDNAME
SCERR_NOGUIDS
SC_DLG_FORCE_UI
SC_DLG_MINIMAL_UI
SC_DLG_NO_UI
SECPKG_ALT_ATTR
SECPKG_ATTR_C_FULL_IDENT_TOKEN
STATUS_ACCOUNT_DISABLED
STATUS_ACCOUNT_EXPIRED
STATUS_ACCOUNT_LOCKED_OUT
STATUS_ACCOUNT_RESTRICTION
STATUS_AUTHENTICATION_FIREWALL_FAILED
STATUS_DOWNGRADE_DETECTED
STATUS_LOGON_FAILURE
STATUS_LOGON_TYPE_NOT_GRANTED
STATUS_NO_SUCH_LOGON_SESSION
STATUS_NO_SUCH_USER
STATUS_PASSWORD_EXPIRED
STATUS_PASSWORD_MUST_CHANGE
STATUS_WRONG_PASSWORD
TS_SSP_NAME
TS_SSP_NAME_A
UsernameForPackedCredentials
UsernameTargetCredential
szOID_TS_KP_TS_SERVER_AUTH
Functions
§
CredDeleteA
⚠
CredDeleteW
⚠
CredEnumerateA
⚠
CredEnumerateW
⚠
CredFindBestCredentialA
⚠
CredFindBestCredentialW
⚠
CredFree
⚠
CredGetSessionTypes
⚠
CredGetTargetInfoA
⚠
CredGetTargetInfoW
⚠
CredIsMarshaledCredentialA
⚠
CredIsMarshaledCredentialW
⚠
CredIsProtectedA
⚠
CredIsProtectedW
⚠
CredMarshalCredentialA
⚠
CredMarshalCredentialW
⚠
CredPackAuthenticationBufferA
⚠
CredPackAuthenticationBufferW
⚠
CredProtectA
⚠
CredProtectW
⚠
CredReadA
⚠
CredReadDomainCredentialsA
⚠
CredReadDomainCredentialsW
⚠
CredReadW
⚠
CredRenameA
⚠
CredRenameW
⚠
CredUICmdLinePromptForCredentialsA
⚠
CredUICmdLinePromptForCredentialsW
⚠
CredUIConfirmCredentialsA
⚠
CredUIConfirmCredentialsW
⚠
CredUIParseUserNameA
⚠
CredUIParseUserNameW
⚠
CredUIPromptForCredentialsA
⚠
CredUIPromptForCredentialsW
⚠
CredUIPromptForWindowsCredentialsA
⚠
CredUIPromptForWindowsCredentialsW
⚠
CredUIReadSSOCredW
⚠
CredUIStoreSSOCredW
⚠
CredUnPackAuthenticationBufferA
⚠
CredUnPackAuthenticationBufferW
⚠
CredUnmarshalCredentialA
⚠
CredUnmarshalCredentialW
⚠
CredUnprotectA
⚠
CredUnprotectW
⚠
CredWriteA
⚠
CredWriteDomainCredentialsA
⚠
CredWriteDomainCredentialsW
⚠
CredWriteW
⚠
GetOpenCardNameA
⚠
GetOpenCardNameW
⚠
KeyCredentialManagerFreeInformation
⚠
KeyCredentialManagerGetInformation
⚠
KeyCredentialManagerGetOperationErrorStates
⚠
KeyCredentialManagerShowUIOperation
⚠
SCardAccessStartedEvent
⚠
SCardAddReaderToGroupA
⚠
SCardAddReaderToGroupW
⚠
SCardAudit
⚠
SCardBeginTransaction
⚠
SCardCancel
⚠
SCardConnectA
⚠
SCardConnectW
⚠
SCardControl
⚠
SCardDisconnect
⚠
SCardDlgExtendedError
⚠
SCardEndTransaction
⚠
SCardEstablishContext
⚠
SCardForgetCardTypeA
⚠
SCardForgetCardTypeW
⚠
SCardForgetReaderA
⚠
SCardForgetReaderGroupA
⚠
SCardForgetReaderGroupW
⚠
SCardForgetReaderW
⚠
SCardFreeMemory
⚠
SCardGetAttrib
⚠
SCardGetCardTypeProviderNameA
⚠
SCardGetCardTypeProviderNameW
⚠
SCardGetDeviceTypeIdA
⚠
SCardGetDeviceTypeIdW
⚠
SCardGetProviderIdA
⚠
SCardGetProviderIdW
⚠
SCardGetReaderDeviceInstanceIdA
⚠
SCardGetReaderDeviceInstanceIdW
⚠
SCardGetReaderIconA
⚠
SCardGetReaderIconW
⚠
SCardGetStatusChangeA
⚠
SCardGetStatusChangeW
⚠
SCardGetTransmitCount
⚠
SCardIntroduceCardTypeA
⚠
SCardIntroduceCardTypeW
⚠
SCardIntroduceReaderA
⚠
SCardIntroduceReaderGroupA
⚠
SCardIntroduceReaderGroupW
⚠
SCardIntroduceReaderW
⚠
SCardIsValidContext
⚠
SCardListCardsA
⚠
SCardListCardsW
⚠
SCardListInterfacesA
⚠
SCardListInterfacesW
⚠
SCardListReaderGroupsA
⚠
SCardListReaderGroupsW
⚠
SCardListReadersA
⚠
SCardListReadersW
⚠
SCardListReadersWithDeviceInstanceIdA
⚠
SCardListReadersWithDeviceInstanceIdW
⚠
SCardLocateCardsA
⚠
SCardLocateCardsByATRA
⚠
SCardLocateCardsByATRW
⚠
SCardLocateCardsW
⚠
SCardReadCacheA
⚠
SCardReadCacheW
⚠
SCardReconnect
⚠
SCardReleaseContext
⚠
SCardReleaseStartedEvent
⚠
SCardRemoveReaderFromGroupA
⚠
SCardRemoveReaderFromGroupW
⚠
SCardSetAttrib
⚠
SCardSetCardTypeProviderNameA
⚠
SCardSetCardTypeProviderNameW
⚠
SCardState
⚠
SCardStatusA
⚠
SCardStatusW
⚠
SCardTransmit
⚠
SCardUIDlgSelectCardA
⚠
SCardUIDlgSelectCardW
⚠
SCardWriteCacheA
⚠
SCardWriteCacheW
⚠
Type Aliases
§
CREDSPP_SUBMIT_TYPE
CREDUIWIN_FLAGS
CREDUI_FLAGS
CRED_ENUMERATE_FLAGS
CRED_FLAGS
CRED_MARSHAL_TYPE
CRED_PACK_FLAGS
CRED_PERSIST
CRED_PROTECTION_TYPE
CRED_TYPE
KeyCredentialManagerOperationErrorStates
KeyCredentialManagerOperationType
LPOCNCHKPROC
LPOCNCONNPROCA
LPOCNCONNPROCW
LPOCNDSCPROC
READER_SEL_REQUEST_MATCH_TYPE
SCARD_SCOPE
SCARD_STATE
Unions
§
READER_SEL_REQUEST_0
SCARD_T0_REQUEST_0