ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

cred.c File Reference
#include <advapi32.h>

Go to the source code of this file.

Defines

#define KEY_SIZE   8

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (cred)
static DWORD read_credential_blob (HKEY hkey, const BYTE key_data[KEY_SIZE], LPBYTE credential_blob, DWORD *credential_blob_size)
static DWORD registry_read_credential (HKEY hkey, PCREDENTIALW credential, const BYTE key_data[KEY_SIZE], char *buffer, DWORD *len)
static DWORD write_credential_blob (HKEY hkey, LPCWSTR target_name, DWORD type, const BYTE key_data[KEY_SIZE], const BYTE *credential_blob, DWORD credential_blob_size)
static DWORD registry_write_credential (HKEY hkey, const CREDENTIALW *credential, const BYTE key_data[KEY_SIZE], BOOL preserve_blob)
static DWORD open_cred_mgr_key (HKEY *hkey, BOOL open_for_write)
static DWORD get_cred_mgr_encryption_key (HKEY hkeyMgr, BYTE key_data[KEY_SIZE])
static LPWSTR get_key_name_for_target (LPCWSTR target_name, DWORD type)
static BOOL credential_matches_filter (HKEY hkeyCred, LPCWSTR filter)
static DWORD registry_enumerate_credentials (HKEY hkeyMgr, LPCWSTR filter, LPWSTR target_name, DWORD target_name_len, BYTE key_data[KEY_SIZE], PCREDENTIALW *credentials, char **buffer, DWORD *len, DWORD *count)
static INT convert_PCREDENTIALW_to_PCREDENTIALA (const CREDENTIALW *CredentialW, PCREDENTIALA CredentialA, INT len)
static INT convert_PCREDENTIALA_to_PCREDENTIALW (const CREDENTIALA *CredentialA, PCREDENTIALW CredentialW, INT len)
BOOL WINAPI CredDeleteA (LPCSTR TargetName, DWORD Type, DWORD Flags)
BOOL WINAPI CredDeleteW (LPCWSTR TargetName, DWORD Type, DWORD Flags)
BOOL WINAPI CredEnumerateA (LPCSTR Filter, DWORD Flags, DWORD *Count, PCREDENTIALA **Credentials)
BOOL WINAPI CredEnumerateW (LPCWSTR Filter, DWORD Flags, DWORD *Count, PCREDENTIALW **Credentials)
VOID WINAPI CredFree (PVOID Buffer)
BOOL WINAPI CredReadA (LPCSTR TargetName, DWORD Type, DWORD Flags, PCREDENTIALA *Credential)
BOOL WINAPI CredReadW (LPCWSTR TargetName, DWORD Type, DWORD Flags, PCREDENTIALW *Credential)
BOOL WINAPI CredReadDomainCredentialsA (PCREDENTIAL_TARGET_INFORMATIONA TargetInformation, DWORD Flags, DWORD *Size, PCREDENTIALA **Credentials)
BOOL WINAPI CredReadDomainCredentialsW (PCREDENTIAL_TARGET_INFORMATIONW TargetInformation, DWORD Flags, DWORD *Size, PCREDENTIALW **Credentials)
BOOL WINAPI CredWriteA (PCREDENTIALA Credential, DWORD Flags)
BOOL WINAPI CredWriteW (PCREDENTIALW Credential, DWORD Flags)
BOOL WINAPI CredGetSessionTypes (DWORD persistCount, LPDWORD persists)
BOOL WINAPI CredWriteDomainCredentialsW (PCREDENTIAL_TARGET_INFORMATIONW TargetInfo, PCREDENTIALW Credential, DWORD Flags)
BOOL WINAPI CredWriteDomainCredentialsA (PCREDENTIAL_TARGET_INFORMATIONA TargetInfo, PCREDENTIALA Credential, DWORD Flags)
BOOL WINAPI CredUnmarshalCredentialW (LPCWSTR MarshaledCredential, PCRED_MARSHAL_TYPE CredType, PVOID *Credential)
BOOL WINAPI CredUnmarshalCredentialA (LPCSTR MarshaledCredential, PCRED_MARSHAL_TYPE CredType, PVOID *Credential)

Variables

static const WCHAR wszCredentialManagerKey []
static const WCHAR wszEncryptionKeyValue [] = {'E','n','c','r','y','p','t','i','o','n','K','e','y',0}
static const WCHAR wszFlagsValue [] = {'F','l','a','g','s',0}
static const WCHAR wszTypeValue [] = {'T','y','p','e',0}
static const WCHAR wszCommentValue [] = {'C','o','m','m','e','n','t',0}
static const WCHAR wszLastWrittenValue [] = {'L','a','s','t','W','r','i','t','t','e','n',0}
static const WCHAR wszPersistValue [] = {'P','e','r','s','i','s','t',0}
static const WCHAR wszTargetAliasValue [] = {'T','a','r','g','e','t','A','l','i','a','s',0}
static const WCHAR wszUserNameValue [] = {'U','s','e','r','N','a','m','e',0}
static const WCHAR wszPasswordValue [] = {'P','a','s','s','w','o','r','d',0}

Generated on Sat May 26 2012 05:05:05 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.