mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 05:30:30 +00:00
advapi32: Constify some variables.
This commit is contained in:
parent
a17c7f0bd0
commit
7114094472
@ -754,7 +754,7 @@ 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],
|
||||
DWORD target_name_len, const BYTE key_data[KEY_SIZE],
|
||||
PCREDENTIALW *credentials, char **buffer,
|
||||
DWORD *len, DWORD *count)
|
||||
{
|
||||
|
@ -2735,7 +2735,7 @@ static void split_domain_account( const LSA_UNICODE_STRING *str, LSA_UNICODE_STR
|
||||
}
|
||||
}
|
||||
|
||||
static BOOL match_domain( ULONG idx, LSA_UNICODE_STRING *domain )
|
||||
static BOOL match_domain( ULONG idx, const LSA_UNICODE_STRING *domain )
|
||||
{
|
||||
ULONG len = strlenW( ACCOUNT_SIDS[idx].domain );
|
||||
|
||||
@ -2745,7 +2745,7 @@ static BOOL match_domain( ULONG idx, LSA_UNICODE_STRING *domain )
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
static BOOL match_account( ULONG idx, LSA_UNICODE_STRING *account )
|
||||
static BOOL match_account( ULONG idx, const LSA_UNICODE_STRING *account )
|
||||
{
|
||||
ULONG len = strlenW( ACCOUNT_SIDS[idx].account );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user