advapi32: Constify some variables.

This commit is contained in:
Andrew Talbot 2010-07-26 21:54:20 +01:00 committed by Alexandre Julliard
parent 27816c7c32
commit 8d5f7fe13f
2 changed files with 4 additions and 4 deletions

View File

@ -24,7 +24,7 @@ const char * debugstr_sid(PSID sid);
BOOL ADVAPI_IsLocalComputer(LPCWSTR ServerName);
BOOL ADVAPI_GetComputerSid(PSID sid);
BOOL lookup_local_wellknown_name(LSA_UNICODE_STRING*, PSID, LPDWORD, LPWSTR, LPDWORD, PSID_NAME_USE, BOOL*);
BOOL lookup_local_user_name(LSA_UNICODE_STRING*, PSID, LPDWORD, LPWSTR, LPDWORD, PSID_NAME_USE, BOOL*);
BOOL lookup_local_wellknown_name(const LSA_UNICODE_STRING*, PSID, LPDWORD, LPWSTR, LPDWORD, PSID_NAME_USE, BOOL*);
BOOL lookup_local_user_name(const LSA_UNICODE_STRING*, PSID, LPDWORD, LPWSTR, LPDWORD, PSID_NAME_USE, BOOL*);
#endif /* __WINE_ADVAPI32MISC_H */

View File

@ -2764,7 +2764,7 @@ static BOOL match_account( ULONG idx, const LSA_UNICODE_STRING *account )
/*
* Helper function for LookupAccountNameW
*/
BOOL lookup_local_wellknown_name( LSA_UNICODE_STRING *account_and_domain,
BOOL lookup_local_wellknown_name( const LSA_UNICODE_STRING *account_and_domain,
PSID Sid, LPDWORD cbSid,
LPWSTR ReferencedDomainName,
LPDWORD cchReferencedDomainName,
@ -2827,7 +2827,7 @@ BOOL lookup_local_wellknown_name( LSA_UNICODE_STRING *account_and_domain,
return ret;
}
BOOL lookup_local_user_name( LSA_UNICODE_STRING *account_and_domain,
BOOL lookup_local_user_name( const LSA_UNICODE_STRING *account_and_domain,
PSID Sid, LPDWORD cbSid,
LPWSTR ReferencedDomainName,
LPDWORD cchReferencedDomainName,