ReactOS 0.4.16-dev-122-g325d74c
wincred.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SecHandle
 
struct  _CREDENTIAL_ATTRIBUTEA
 
struct  _CREDENTIAL_ATTRIBUTEW
 
struct  _CREDENTIALA
 
struct  _CREDENTIALW
 
struct  _CREDENTIAL_TARGET_INFORMATIONA
 
struct  _CREDENTIAL_TARGET_INFORMATIONW
 
struct  _CREDUI_INFOA
 
struct  _CREDUI_INFOW
 
struct  _CERT_CREDENTIAL_INFO
 
struct  _USERNAME_TARGET_CREDENTIAL_INFO
 
struct  _BINARY_BLOB_CREDENTIAL_INFO
 

Macros

#define WINADVAPI   DECLSPEC_IMPORT
 
#define __SECHANDLE_DEFINED__
 
#define __WINE_CTXTHANDLE_DEFINED__
 
#define CERT_HASH_LENGTH   20
 
#define CRED_MAX_STRING_LENGTH   256
 
#define CRED_MAX_USERNAME_LENGTH   513
 
#define CRED_MAX_GENERIC_TARGET_NAME_LENGTH   32767
 
#define CRED_MAX_DOMAIN_TARGET_NAME_LENGTH   337
 
#define CRED_MAX_VALUE_SIZE   256
 
#define CRED_MAX_ATTRIBUTES   64
 
#define CRED_MAX_BLOB_SIZE   512
 
#define CRED_MAX_CREDENTIAL_BLOB_SIZE   (5 * CRED_MAX_BLOB_SIZE)
 
#define CREDUI_MAX_MESSAGE_LENGTH   32767
 
#define CREDUI_MAX_CAPTION_LENGTH   128
 
#define CREDUI_MAX_GENERIC_TARGET_LENGTH   CRED_MAX_GENERIC_TARGET_NAME_LENGTH
 
#define CREDUI_MAX_DOMAIN_TARGET_LENGTH   CRED_MAX_DOMAIN_TARGET_LENGTH
 
#define CREDUI_MAX_USERNAME_LENGTH   CRED_MAX_USERNAME_LENGTH
 
#define CREDUI_MAX_PASSWORD_LENGTH   (CRED_MAX_CREDENTIAL_BLOB_SIZE / 2)
 
#define CRED_FLAGS_PASSWORD_FOR_CERT   0x0001
 
#define CRED_FLAGS_PROMPT_NOW   0x0002
 
#define CRED_FLAGS_USERNAME_TARGET   0x0004
 
#define CRED_FLAGS_OWF_CRED_BLOB   0x0008
 
#define CRED_FLAGS_VALID_FLAGS   0x000f
 
#define CRED_TYPE_GENERIC   1
 
#define CRED_TYPE_DOMAIN_PASSWORD   2
 
#define CRED_TYPE_DOMAIN_CERTIFICATE   3
 
#define CRED_TYPE_DOMAIN_VISIBLE_PASSWORD   4
 
#define CRED_TYPE_GENERIC_CERTIFICATE   5
 
#define CRED_TYPE_MAXIMUM   6
 
#define CRED_TYPE_MAXIMUM_EX   (CRED_TYPE_MAXIMUM+1000)
 
#define CRED_PERSIST_NONE   0
 
#define CRED_PERSIST_SESSION   1
 
#define CRED_PERSIST_LOCAL_MACHINE   2
 
#define CRED_PERSIST_ENTERPRISE   3
 
#define CRED_TI_SERVER_FORMAT_UNKNOWN   1
 
#define CRED_TI_DOMAIN_FORMAT_UNKNOWN   2
 
#define CRED_TI_ONLY_PASSWORD_REQUIRED   4
 
#define CREDUI_FLAGS_INCORRECT_PASSWORD   0x00000001
 
#define CREDUI_FLAGS_DO_NOT_PERSIST   0x00000002
 
#define CREDUI_FLAGS_REQUEST_ADMINISTRATOR   0x00000004
 
#define CREDUI_FLAGS_EXCLUDE_CERTIFICATES   0x00000008
 
#define CREDUI_FLAGS_REQUIRE_CERTIFICATE   0x00000010
 
#define CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX   0x00000040
 
#define CREDUI_FLAGS_ALWAYS_SHOW_UI   0x00000080
 
#define CREDUI_FLAGS_REQUIRE_SMARTCARD   0x00000100
 
#define CREDUI_FLAGS_PASSWORD_ONLY_OK   0x00000200
 
#define CREDUI_FLAGS_VALIDATE_USERNAME   0x00000400
 
#define CREDUI_FLAGS_COMPLETE_USERNAME   0x00000800
 
#define CREDUI_FLAGS_PERSIST   0x00001000
 
#define CREDUI_FLAGS_SERVER_CREDENTIAL   0x00004000
 
#define CREDUI_FLAGS_EXPECT_CONFIRMATION   0x00020000
 
#define CREDUI_FLAGS_GENERIC_CREDENTIALS   0x00040000
 
#define CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS   0x00080000
 
#define CREDUI_FLAGS_KEEP_USERNAME   0x00100000
 
#define CRED_PRESERVE_CREDENTIAL_BLOB   0x00000001
 
#define CredDelete   WINELIB_NAME_AW(CredDelete)
 
#define CredEnumerate   WINELIB_NAME_AW(CredEnumerate)
 
#define CredIsMarshaledCredential   WINELIB_NAME_AW(CredIsMarshaledCredential)
 
#define CredMarshalCredential   WINELIB_NAME_AW(CredMarshalCredential)
 
#define CredRead   WINELIB_NAME_AW(CredRead)
 
#define CredReadDomainCredentials   WINELIB_NAME_AW(CredReadDomainCredentials)
 
#define CredRename   WINELIB_NAME_AW(CredRename)
 
#define CredUnmarshalCredential   WINELIB_NAME_AW(CredUnmarshalCredential)
 
#define CredWrite   WINELIB_NAME_AW(CredWrite)
 
#define CredUICmdLinePromptForCredentials   WINELIB_NAME_AW(CredUICmdLinePromptForCredentials)
 
#define CredUIConfirmCredentials   WINELIB_NAME_AW(CredUIConfirmCredentials)
 
#define CredUIParseUserName   WINELIB_NAME_AW(CredUIParseUserName)
 
#define CredUIPromptForCredentials   WINELIB_NAME_AW(CredUIPromptForCredentials)
 

Typedefs

typedef struct _SecHandle SecHandle
 
typedef struct _SecHandlePSecHandle
 
typedef SecHandle CtxtHandle
 
typedef PSecHandle PCtxtHandle
 
typedef struct _CREDENTIAL_ATTRIBUTEA CREDENTIAL_ATTRIBUTEA
 
typedef struct _CREDENTIAL_ATTRIBUTEAPCREDENTIAL_ATTRIBUTEA
 
typedef struct _CREDENTIAL_ATTRIBUTEW CREDENTIAL_ATTRIBUTEW
 
typedef struct _CREDENTIAL_ATTRIBUTEWPCREDENTIAL_ATTRIBUTEW
 
typedef struct _CREDENTIALA CREDENTIALA
 
typedef struct _CREDENTIALAPCREDENTIALA
 
typedef struct _CREDENTIALW CREDENTIALW
 
typedef struct _CREDENTIALWPCREDENTIALW
 
typedef struct _CREDENTIAL_TARGET_INFORMATIONA CREDENTIAL_TARGET_INFORMATIONA
 
typedef struct _CREDENTIAL_TARGET_INFORMATIONAPCREDENTIAL_TARGET_INFORMATIONA
 
typedef struct _CREDENTIAL_TARGET_INFORMATIONW CREDENTIAL_TARGET_INFORMATIONW
 
typedef struct _CREDENTIAL_TARGET_INFORMATIONWPCREDENTIAL_TARGET_INFORMATIONW
 
typedef struct _CREDUI_INFOA CREDUI_INFOA
 
typedef struct _CREDUI_INFOAPCREDUI_INFOA
 
typedef struct _CREDUI_INFOW CREDUI_INFOW
 
typedef struct _CREDUI_INFOWPCREDUI_INFOW
 
typedef enum _CRED_MARSHAL_TYPE CRED_MARSHAL_TYPE
 
typedef enum _CRED_MARSHAL_TYPEPCRED_MARSHAL_TYPE
 
typedef struct _CERT_CREDENTIAL_INFO CERT_CREDENTIAL_INFO
 
typedef struct _CERT_CREDENTIAL_INFOPCERT_CREDENTIAL_INFO
 
typedef struct _USERNAME_TARGET_CREDENTIAL_INFO USERNAME_TARGET_CREDENTIAL_INFO
 
typedef struct _BINARY_BLOB_CREDENTIAL_INFO BINARY_BLOB_CREDENTIAL_INFO
 
typedef struct _BINARY_BLOB_CREDENTIAL_INFOPBINARY_BLOB_CREDENTIAL_INFO
 

Enumerations

enum  _CRED_MARSHAL_TYPE { CertCredential = 1 , UsernameTargetCredential , BinaryBlobCredential }
 

Functions

WINADVAPI BOOL WINAPI CredDeleteA (_In_ LPCSTR, _In_ DWORD, _Reserved_ DWORD)
 
WINADVAPI BOOL WINAPI CredDeleteW (_In_ LPCWSTR, _In_ DWORD, _Reserved_ DWORD)
 
WINADVAPI BOOL WINAPI CredEnumerateA (_In_opt_ LPCSTR, _Reserved_ DWORD, _Out_ DWORD *Count, _Outptr_result_buffer_(*Count) PCREDENTIALA **)
 
WINADVAPI BOOL WINAPI CredEnumerateW (_In_opt_ LPCWSTR, _Reserved_ DWORD, _Out_ DWORD *Count, _Outptr_result_buffer_(*Count) PCREDENTIALW **)
 
WINADVAPI VOID WINAPI CredFree (_In_ PVOID)
 
WINADVAPI BOOL WINAPI CredGetSessionTypes (_In_ DWORD MaximumPersistCount, _Out_writes_(MaximumPersistCount) LPDWORD)
 
WINADVAPI BOOL WINAPI CredIsMarshaledCredentialA (_In_ LPCSTR)
 
WINADVAPI BOOL WINAPI CredIsMarshaledCredentialW (_In_ LPCWSTR)
 
WINADVAPI BOOL WINAPI CredMarshalCredentialA (_In_ CRED_MARSHAL_TYPE, _In_ PVOID, _Out_ LPSTR *)
 
WINADVAPI BOOL WINAPI CredMarshalCredentialW (_In_ CRED_MARSHAL_TYPE, _In_ PVOID, _Out_ LPWSTR *)
 
WINADVAPI BOOL WINAPI CredReadA (_In_ LPCSTR, _In_ DWORD, _Reserved_ DWORD, _Out_ PCREDENTIALA *)
 
WINADVAPI BOOL WINAPI CredReadW (_In_ LPCWSTR, _In_ DWORD, _Reserved_ DWORD, _Out_ PCREDENTIALW *)
 
WINADVAPI BOOL WINAPI CredReadDomainCredentialsA (_In_ PCREDENTIAL_TARGET_INFORMATIONA, _In_ DWORD, _Out_ DWORD *Count, _Outptr_result_buffer_(*Count) PCREDENTIALA **)
 
WINADVAPI BOOL WINAPI CredReadDomainCredentialsW (_In_ PCREDENTIAL_TARGET_INFORMATIONW, _In_ DWORD, _Out_ DWORD *Count, _Outptr_result_buffer_(*Count) PCREDENTIALW **)
 
WINADVAPI BOOL WINAPI CredRenameA (_In_ LPCSTR, _In_ LPCSTR, _In_ DWORD, _Reserved_ DWORD)
 
WINADVAPI BOOL WINAPI CredRenameW (_In_ LPCWSTR, _In_ LPCWSTR, _In_ DWORD, _Reserved_ DWORD)
 
WINADVAPI BOOL WINAPI CredUnmarshalCredentialA (_In_ LPCSTR, _Out_ PCRED_MARSHAL_TYPE, _Out_ PVOID *)
 
WINADVAPI BOOL WINAPI CredUnmarshalCredentialW (_In_ LPCWSTR, _Out_ PCRED_MARSHAL_TYPE, _Out_ PVOID *)
 
WINADVAPI BOOL WINAPI CredWriteA (_In_ PCREDENTIALA, _In_ DWORD)
 
WINADVAPI BOOL WINAPI CredWriteW (_In_ PCREDENTIALW, _In_ DWORD)
 
DWORD WINAPI CredUICmdLinePromptForCredentialsW (_In_opt_ PCWSTR, _Reserved_ PCtxtHandle, _In_ DWORD, _Inout_updates_(ulUserBufferSize) PWSTR, _In_ ULONG ulUserBufferSize, _Inout_updates_(ulPasswordBufferSize) PWSTR, _In_ ULONG ulPasswordBufferSize, _Inout_opt_ PBOOL, _In_ DWORD)
 
DWORD WINAPI CredUICmdLinePromptForCredentialsA (_In_opt_ PCSTR, _Reserved_ PCtxtHandle, _In_ DWORD, _Inout_updates_(ulUserBufferSize) PSTR, _In_ ULONG ulUserBufferSize, _Inout_updates_(ulPasswordBufferSize) PSTR, _In_ ULONG ulPasswordBufferSize, _Inout_opt_ PBOOL, _In_ DWORD)
 
DWORD WINAPI CredUIConfirmCredentialsW (_In_ PCWSTR, _In_ BOOL)
 
DWORD WINAPI CredUIConfirmCredentialsA (_In_ PCSTR, _In_ BOOL)
 
DWORD WINAPI CredUIParseUserNameW (_In_ PCWSTR, _Out_writes_(userBufferSize) PWSTR, _In_ ULONG userBufferSize, _Out_writes_(domainBufferSize) PWSTR, _In_ ULONG domainBufferSize)
 
DWORD WINAPI CredUIParseUserNameA (_In_ PCSTR, _Out_writes_(userBufferSize) PSTR, _In_ ULONG userBufferSize, _Out_writes_(domainBufferSize) PSTR, _In_ ULONG domainBufferSize)
 
DWORD WINAPI CredUIPromptForCredentialsW (_In_opt_ PCREDUI_INFOW, _In_opt_ PCWSTR, _Reserved_ PCtxtHandle, _In_ DWORD, _Inout_updates_(ulUserNameBufferSize) PWSTR, _In_ ULONG ulUserNameBufferSize, _Inout_updates_(ulPasswordBufferSize) PWSTR, _In_ ULONG ulPasswordBufferSize, _Inout_opt_ PBOOL, _In_ DWORD)
 
DWORD WINAPI CredUIPromptForCredentialsA (_In_opt_ PCREDUI_INFOA, _In_opt_ PCSTR, _Reserved_ PCtxtHandle, _In_ DWORD, _Inout_updates_(ulUserNameBufferSize) PSTR, _In_ ULONG ulUserNameBufferSize, _Inout_updates_(ulPasswordBufferSize) PSTR, _In_ ULONG ulPasswordBufferSize, _Inout_opt_ PBOOL, _In_ DWORD)
 
DWORD WINAPI CredUIStoreSSOCredW (_In_opt_ PCWSTR, _In_ PCWSTR, _In_ PCWSTR, _In_ BOOL)
 
DWORD WINAPI CredUIReadSSOCredW (_In_opt_ PCWSTR, _Outptr_ PWSTR *)
 

Macro Definition Documentation

◆ __SECHANDLE_DEFINED__

#define __SECHANDLE_DEFINED__

Definition at line 33 of file wincred.h.

◆ __WINE_CTXTHANDLE_DEFINED__

#define __WINE_CTXTHANDLE_DEFINED__

Definition at line 42 of file wincred.h.

◆ CERT_HASH_LENGTH

#define CERT_HASH_LENGTH   20

Definition at line 160 of file wincred.h.

◆ CRED_FLAGS_OWF_CRED_BLOB

#define CRED_FLAGS_OWF_CRED_BLOB   0x0008

Definition at line 200 of file wincred.h.

◆ CRED_FLAGS_PASSWORD_FOR_CERT

#define CRED_FLAGS_PASSWORD_FOR_CERT   0x0001

Definition at line 197 of file wincred.h.

◆ CRED_FLAGS_PROMPT_NOW

#define CRED_FLAGS_PROMPT_NOW   0x0002

Definition at line 198 of file wincred.h.

◆ CRED_FLAGS_USERNAME_TARGET

#define CRED_FLAGS_USERNAME_TARGET   0x0004

Definition at line 199 of file wincred.h.

◆ CRED_FLAGS_VALID_FLAGS

#define CRED_FLAGS_VALID_FLAGS   0x000f

Definition at line 201 of file wincred.h.

◆ CRED_MAX_ATTRIBUTES

#define CRED_MAX_ATTRIBUTES   64

Definition at line 184 of file wincred.h.

◆ CRED_MAX_BLOB_SIZE

#define CRED_MAX_BLOB_SIZE   512

Definition at line 186 of file wincred.h.

◆ CRED_MAX_CREDENTIAL_BLOB_SIZE

#define CRED_MAX_CREDENTIAL_BLOB_SIZE   (5 * CRED_MAX_BLOB_SIZE)

Definition at line 187 of file wincred.h.

◆ CRED_MAX_DOMAIN_TARGET_NAME_LENGTH

#define CRED_MAX_DOMAIN_TARGET_NAME_LENGTH   337

Definition at line 182 of file wincred.h.

◆ CRED_MAX_GENERIC_TARGET_NAME_LENGTH

#define CRED_MAX_GENERIC_TARGET_NAME_LENGTH   32767

Definition at line 181 of file wincred.h.

◆ CRED_MAX_STRING_LENGTH

#define CRED_MAX_STRING_LENGTH   256

Definition at line 179 of file wincred.h.

◆ CRED_MAX_USERNAME_LENGTH

#define CRED_MAX_USERNAME_LENGTH   513

Definition at line 180 of file wincred.h.

◆ CRED_MAX_VALUE_SIZE

#define CRED_MAX_VALUE_SIZE   256

Definition at line 183 of file wincred.h.

◆ CRED_PERSIST_ENTERPRISE

#define CRED_PERSIST_ENTERPRISE   3

Definition at line 216 of file wincred.h.

◆ CRED_PERSIST_LOCAL_MACHINE

#define CRED_PERSIST_LOCAL_MACHINE   2

Definition at line 215 of file wincred.h.

◆ CRED_PERSIST_NONE

#define CRED_PERSIST_NONE   0

Definition at line 213 of file wincred.h.

◆ CRED_PERSIST_SESSION

#define CRED_PERSIST_SESSION   1

Definition at line 214 of file wincred.h.

◆ CRED_PRESERVE_CREDENTIAL_BLOB

#define CRED_PRESERVE_CREDENTIAL_BLOB   0x00000001

Definition at line 242 of file wincred.h.

◆ CRED_TI_DOMAIN_FORMAT_UNKNOWN

#define CRED_TI_DOMAIN_FORMAT_UNKNOWN   2

Definition at line 220 of file wincred.h.

◆ CRED_TI_ONLY_PASSWORD_REQUIRED

#define CRED_TI_ONLY_PASSWORD_REQUIRED   4

Definition at line 221 of file wincred.h.

◆ CRED_TI_SERVER_FORMAT_UNKNOWN

#define CRED_TI_SERVER_FORMAT_UNKNOWN   1

Definition at line 219 of file wincred.h.

◆ CRED_TYPE_DOMAIN_CERTIFICATE

#define CRED_TYPE_DOMAIN_CERTIFICATE   3

Definition at line 206 of file wincred.h.

◆ CRED_TYPE_DOMAIN_PASSWORD

#define CRED_TYPE_DOMAIN_PASSWORD   2

Definition at line 205 of file wincred.h.

◆ CRED_TYPE_DOMAIN_VISIBLE_PASSWORD

#define CRED_TYPE_DOMAIN_VISIBLE_PASSWORD   4

Definition at line 207 of file wincred.h.

◆ CRED_TYPE_GENERIC

#define CRED_TYPE_GENERIC   1

Definition at line 204 of file wincred.h.

◆ CRED_TYPE_GENERIC_CERTIFICATE

#define CRED_TYPE_GENERIC_CERTIFICATE   5

Definition at line 208 of file wincred.h.

◆ CRED_TYPE_MAXIMUM

#define CRED_TYPE_MAXIMUM   6

Definition at line 209 of file wincred.h.

◆ CRED_TYPE_MAXIMUM_EX

#define CRED_TYPE_MAXIMUM_EX   (CRED_TYPE_MAXIMUM+1000)

Definition at line 210 of file wincred.h.

◆ CredDelete

#define CredDelete   WINELIB_NAME_AW(CredDelete)

Definition at line 246 of file wincred.h.

◆ CredEnumerate

#define CredEnumerate   WINELIB_NAME_AW(CredEnumerate)

Definition at line 266 of file wincred.h.

◆ CredIsMarshaledCredential

#define CredIsMarshaledCredential   WINELIB_NAME_AW(CredIsMarshaledCredential)

Definition at line 279 of file wincred.h.

◆ CredMarshalCredential

#define CredMarshalCredential   WINELIB_NAME_AW(CredMarshalCredential)

Definition at line 297 of file wincred.h.

◆ CredRead

#define CredRead   WINELIB_NAME_AW(CredRead)

Definition at line 317 of file wincred.h.

◆ CredReadDomainCredentials

#define CredReadDomainCredentials   WINELIB_NAME_AW(CredReadDomainCredentials)

Definition at line 337 of file wincred.h.

◆ CredRename

#define CredRename   WINELIB_NAME_AW(CredRename)

Definition at line 357 of file wincred.h.

◆ CREDUI_FLAGS_ALWAYS_SHOW_UI

#define CREDUI_FLAGS_ALWAYS_SHOW_UI   0x00000080

Definition at line 229 of file wincred.h.

◆ CREDUI_FLAGS_COMPLETE_USERNAME

#define CREDUI_FLAGS_COMPLETE_USERNAME   0x00000800

Definition at line 233 of file wincred.h.

◆ CREDUI_FLAGS_DO_NOT_PERSIST

#define CREDUI_FLAGS_DO_NOT_PERSIST   0x00000002

Definition at line 224 of file wincred.h.

◆ CREDUI_FLAGS_EXCLUDE_CERTIFICATES

#define CREDUI_FLAGS_EXCLUDE_CERTIFICATES   0x00000008

Definition at line 226 of file wincred.h.

◆ CREDUI_FLAGS_EXPECT_CONFIRMATION

#define CREDUI_FLAGS_EXPECT_CONFIRMATION   0x00020000

Definition at line 236 of file wincred.h.

◆ CREDUI_FLAGS_GENERIC_CREDENTIALS

#define CREDUI_FLAGS_GENERIC_CREDENTIALS   0x00040000

Definition at line 237 of file wincred.h.

◆ CREDUI_FLAGS_INCORRECT_PASSWORD

#define CREDUI_FLAGS_INCORRECT_PASSWORD   0x00000001

Definition at line 223 of file wincred.h.

◆ CREDUI_FLAGS_KEEP_USERNAME

#define CREDUI_FLAGS_KEEP_USERNAME   0x00100000

Definition at line 239 of file wincred.h.

◆ CREDUI_FLAGS_PASSWORD_ONLY_OK

#define CREDUI_FLAGS_PASSWORD_ONLY_OK   0x00000200

Definition at line 231 of file wincred.h.

◆ CREDUI_FLAGS_PERSIST

#define CREDUI_FLAGS_PERSIST   0x00001000

Definition at line 234 of file wincred.h.

◆ CREDUI_FLAGS_REQUEST_ADMINISTRATOR

#define CREDUI_FLAGS_REQUEST_ADMINISTRATOR   0x00000004

Definition at line 225 of file wincred.h.

◆ CREDUI_FLAGS_REQUIRE_CERTIFICATE

#define CREDUI_FLAGS_REQUIRE_CERTIFICATE   0x00000010

Definition at line 227 of file wincred.h.

◆ CREDUI_FLAGS_REQUIRE_SMARTCARD

#define CREDUI_FLAGS_REQUIRE_SMARTCARD   0x00000100

Definition at line 230 of file wincred.h.

◆ CREDUI_FLAGS_SERVER_CREDENTIAL

#define CREDUI_FLAGS_SERVER_CREDENTIAL   0x00004000

Definition at line 235 of file wincred.h.

◆ CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX

#define CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX   0x00000040

Definition at line 228 of file wincred.h.

◆ CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS

#define CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS   0x00080000

Definition at line 238 of file wincred.h.

◆ CREDUI_FLAGS_VALIDATE_USERNAME

#define CREDUI_FLAGS_VALIDATE_USERNAME   0x00000400

Definition at line 232 of file wincred.h.

◆ CREDUI_MAX_CAPTION_LENGTH

#define CREDUI_MAX_CAPTION_LENGTH   128

Definition at line 190 of file wincred.h.

◆ CREDUI_MAX_DOMAIN_TARGET_LENGTH

#define CREDUI_MAX_DOMAIN_TARGET_LENGTH   CRED_MAX_DOMAIN_TARGET_LENGTH

Definition at line 192 of file wincred.h.

◆ CREDUI_MAX_GENERIC_TARGET_LENGTH

#define CREDUI_MAX_GENERIC_TARGET_LENGTH   CRED_MAX_GENERIC_TARGET_NAME_LENGTH

Definition at line 191 of file wincred.h.

◆ CREDUI_MAX_MESSAGE_LENGTH

#define CREDUI_MAX_MESSAGE_LENGTH   32767

Definition at line 189 of file wincred.h.

◆ CREDUI_MAX_PASSWORD_LENGTH

#define CREDUI_MAX_PASSWORD_LENGTH   (CRED_MAX_CREDENTIAL_BLOB_SIZE / 2)

Definition at line 194 of file wincred.h.

◆ CREDUI_MAX_USERNAME_LENGTH

#define CREDUI_MAX_USERNAME_LENGTH   CRED_MAX_USERNAME_LENGTH

Definition at line 193 of file wincred.h.

◆ CredUICmdLinePromptForCredentials

#define CredUICmdLinePromptForCredentials   WINELIB_NAME_AW(CredUICmdLinePromptForCredentials)

Definition at line 407 of file wincred.h.

◆ CredUIConfirmCredentials

#define CredUIConfirmCredentials   WINELIB_NAME_AW(CredUIConfirmCredentials)

Definition at line 411 of file wincred.h.

◆ CredUIParseUserName

#define CredUIParseUserName   WINELIB_NAME_AW(CredUIParseUserName)

Definition at line 431 of file wincred.h.

◆ CredUIPromptForCredentials

#define CredUIPromptForCredentials   WINELIB_NAME_AW(CredUIPromptForCredentials)

Definition at line 461 of file wincred.h.

◆ CredUnmarshalCredential

#define CredUnmarshalCredential   WINELIB_NAME_AW(CredUnmarshalCredential)

Definition at line 375 of file wincred.h.

◆ CredWrite

#define CredWrite   WINELIB_NAME_AW(CredWrite)

Definition at line 379 of file wincred.h.

◆ WINADVAPI

#define WINADVAPI   DECLSPEC_IMPORT

Definition at line 29 of file wincred.h.

Typedef Documentation

◆ BINARY_BLOB_CREDENTIAL_INFO

◆ CERT_CREDENTIAL_INFO

◆ CRED_MARSHAL_TYPE

◆ CREDENTIAL_ATTRIBUTEA

◆ CREDENTIAL_ATTRIBUTEW

◆ CREDENTIAL_TARGET_INFORMATIONA

◆ CREDENTIAL_TARGET_INFORMATIONW

◆ CREDENTIALA

◆ CREDENTIALW

◆ CREDUI_INFOA

◆ CREDUI_INFOW

◆ CtxtHandle

Definition at line 43 of file wincred.h.

◆ PBINARY_BLOB_CREDENTIAL_INFO

◆ PCERT_CREDENTIAL_INFO

◆ PCRED_MARSHAL_TYPE

◆ PCREDENTIAL_ATTRIBUTEA

◆ PCREDENTIAL_ATTRIBUTEW

◆ PCREDENTIAL_TARGET_INFORMATIONA

◆ PCREDENTIAL_TARGET_INFORMATIONW

◆ PCREDENTIALA

◆ PCREDENTIALW

◆ PCREDUI_INFOA

◆ PCREDUI_INFOW

◆ PCtxtHandle

Definition at line 44 of file wincred.h.

◆ PSecHandle

◆ SecHandle

◆ USERNAME_TARGET_CREDENTIAL_INFO

Enumeration Type Documentation

◆ _CRED_MARSHAL_TYPE

Enumerator
CertCredential 
UsernameTargetCredential 
BinaryBlobCredential 

Definition at line 153 of file wincred.h.

154{
155 CertCredential = 1,
enum _CRED_MARSHAL_TYPE CRED_MARSHAL_TYPE
enum _CRED_MARSHAL_TYPE * PCRED_MARSHAL_TYPE
@ BinaryBlobCredential
Definition: wincred.h:157
@ UsernameTargetCredential
Definition: wincred.h:156
@ CertCredential
Definition: wincred.h:155

Function Documentation

◆ CredDeleteA()

WINADVAPI BOOL WINAPI CredDeleteA ( _In_  LPCSTR,
_In_  DWORD,
_Reserved_  DWORD 
)

◆ CredDeleteW()

WINADVAPI BOOL WINAPI CredDeleteW ( _In_  LPCWSTR,
_In_  DWORD,
_Reserved_  DWORD 
)

◆ CredEnumerateA()

WINADVAPI BOOL WINAPI CredEnumerateA ( _In_opt_  LPCSTR,
_Reserved_  DWORD,
_Out_ DWORD Count,
_Outptr_result_buffer_ *Count PCREDENTIALA **   
)

◆ CredEnumerateW()

WINADVAPI BOOL WINAPI CredEnumerateW ( _In_opt_  LPCWSTR,
_Reserved_  DWORD,
_Out_ DWORD Count,
_Outptr_result_buffer_ *Count PCREDENTIALW **   
)

◆ CredFree()

WINADVAPI VOID WINAPI CredFree ( _In_  PVOID)

◆ CredGetSessionTypes()

WINADVAPI BOOL WINAPI CredGetSessionTypes ( _In_ DWORD  MaximumPersistCount,
_Out_writes_(MaximumPersistCount)  LPDWORD 
)

◆ CredIsMarshaledCredentialA()

WINADVAPI BOOL WINAPI CredIsMarshaledCredentialA ( _In_  LPCSTR)

◆ CredIsMarshaledCredentialW()

WINADVAPI BOOL WINAPI CredIsMarshaledCredentialW ( _In_  LPCWSTR)

◆ CredMarshalCredentialA()

WINADVAPI BOOL WINAPI CredMarshalCredentialA ( _In_  CRED_MARSHAL_TYPE,
_In_  PVOID,
_Out_ LPSTR  
)

◆ CredMarshalCredentialW()

WINADVAPI BOOL WINAPI CredMarshalCredentialW ( _In_  CRED_MARSHAL_TYPE,
_In_  PVOID,
_Out_ LPWSTR  
)

◆ CredReadA()

WINADVAPI BOOL WINAPI CredReadA ( _In_  LPCSTR,
_In_  DWORD,
_Reserved_  DWORD,
_Out_ PCREDENTIALA  
)

◆ CredReadDomainCredentialsA()

WINADVAPI BOOL WINAPI CredReadDomainCredentialsA ( _In_  PCREDENTIAL_TARGET_INFORMATIONA,
_In_  DWORD,
_Out_ DWORD Count,
_Outptr_result_buffer_ *Count PCREDENTIALA **   
)

◆ CredReadDomainCredentialsW()

WINADVAPI BOOL WINAPI CredReadDomainCredentialsW ( _In_  PCREDENTIAL_TARGET_INFORMATIONW,
_In_  DWORD,
_Out_ DWORD Count,
_Outptr_result_buffer_ *Count PCREDENTIALW **   
)

◆ CredReadW()

WINADVAPI BOOL WINAPI CredReadW ( _In_  LPCWSTR,
_In_  DWORD,
_Reserved_  DWORD,
_Out_ PCREDENTIALW  
)

◆ CredRenameA()

WINADVAPI BOOL WINAPI CredRenameA ( _In_  LPCSTR,
_In_  LPCSTR,
_In_  DWORD,
_Reserved_  DWORD 
)

◆ CredRenameW()

WINADVAPI BOOL WINAPI CredRenameW ( _In_  LPCWSTR,
_In_  LPCWSTR,
_In_  DWORD,
_Reserved_  DWORD 
)

◆ CredUICmdLinePromptForCredentialsA()

DWORD WINAPI CredUICmdLinePromptForCredentialsA ( _In_opt_  PCSTR,
_Reserved_  PCtxtHandle,
_In_  DWORD,
_Inout_updates_(ulUserBufferSize)  PSTR,
_In_ ULONG  ulUserBufferSize,
_Inout_updates_(ulPasswordBufferSize)  PSTR,
_In_ ULONG  ulPasswordBufferSize,
_Inout_opt_  PBOOL,
_In_  DWORD 
)

◆ CredUICmdLinePromptForCredentialsW()

DWORD WINAPI CredUICmdLinePromptForCredentialsW ( _In_opt_  PCWSTR,
_Reserved_  PCtxtHandle,
_In_  DWORD,
_Inout_updates_(ulUserBufferSize)  PWSTR,
_In_ ULONG  ulUserBufferSize,
_Inout_updates_(ulPasswordBufferSize)  PWSTR,
_In_ ULONG  ulPasswordBufferSize,
_Inout_opt_  PBOOL,
_In_  DWORD 
)

◆ CredUIConfirmCredentialsA()

DWORD WINAPI CredUIConfirmCredentialsA ( _In_  PCSTR,
_In_  BOOL 
)

◆ CredUIConfirmCredentialsW()

DWORD WINAPI CredUIConfirmCredentialsW ( _In_  PCWSTR,
_In_  BOOL 
)

◆ CredUIParseUserNameA()

DWORD WINAPI CredUIParseUserNameA ( _In_  PCSTR,
_Out_writes_(userBufferSize)  PSTR,
_In_ ULONG  userBufferSize,
_Out_writes_(domainBufferSize)  PSTR,
_In_ ULONG  domainBufferSize 
)

◆ CredUIParseUserNameW()

DWORD WINAPI CredUIParseUserNameW ( _In_  PCWSTR,
_Out_writes_(userBufferSize)  PWSTR,
_In_ ULONG  userBufferSize,
_Out_writes_(domainBufferSize)  PWSTR,
_In_ ULONG  domainBufferSize 
)

◆ CredUIPromptForCredentialsA()

DWORD WINAPI CredUIPromptForCredentialsA ( _In_opt_  PCREDUI_INFOA,
_In_opt_  PCSTR,
_Reserved_  PCtxtHandle,
_In_  DWORD,
_Inout_updates_(ulUserNameBufferSize)  PSTR,
_In_ ULONG  ulUserNameBufferSize,
_Inout_updates_(ulPasswordBufferSize)  PSTR,
_In_ ULONG  ulPasswordBufferSize,
_Inout_opt_  PBOOL,
_In_  DWORD 
)

◆ CredUIPromptForCredentialsW()

DWORD WINAPI CredUIPromptForCredentialsW ( _In_opt_  PCREDUI_INFOW,
_In_opt_  PCWSTR,
_Reserved_  PCtxtHandle,
_In_  DWORD,
_Inout_updates_(ulUserNameBufferSize)  PWSTR,
_In_ ULONG  ulUserNameBufferSize,
_Inout_updates_(ulPasswordBufferSize)  PWSTR,
_In_ ULONG  ulPasswordBufferSize,
_Inout_opt_  PBOOL,
_In_  DWORD 
)

◆ CredUIReadSSOCredW()

DWORD WINAPI CredUIReadSSOCredW ( _In_opt_  PCWSTR,
_Outptr_ PWSTR  
)

◆ CredUIStoreSSOCredW()

DWORD WINAPI CredUIStoreSSOCredW ( _In_opt_  PCWSTR,
_In_  PCWSTR,
_In_  PCWSTR,
_In_  BOOL 
)

◆ CredUnmarshalCredentialA()

WINADVAPI BOOL WINAPI CredUnmarshalCredentialA ( _In_  LPCSTR,
_Out_  PCRED_MARSHAL_TYPE,
_Out_ PVOID  
)

◆ CredUnmarshalCredentialW()

WINADVAPI BOOL WINAPI CredUnmarshalCredentialW ( _In_  LPCWSTR,
_Out_  PCRED_MARSHAL_TYPE,
_Out_ PVOID  
)

◆ CredWriteA()

WINADVAPI BOOL WINAPI CredWriteA ( _In_  PCREDENTIALA,
_In_  DWORD 
)

◆ CredWriteW()

WINADVAPI BOOL WINAPI CredWriteW ( _In_  PCREDENTIALW,
_In_  DWORD 
)