Two ADVAPI32 stubs: ImpersonateSelf32 and AccessCheck32. Spelling fixes.

This commit is contained in:
Andreas Mohr 1999-02-10 06:39:51 +00:00 committed by Alexandre Julliard
parent 01fb67de87
commit 123501fbc6
2 changed files with 24 additions and 6 deletions

View file

@ -101,8 +101,8 @@ LookupPrivilegeValue32W( LPCWSTR lpSystemName, LPCWSTR lpName, LPVOID lpLuid )
* GetFileSecurity32A [ADVAPI32.45] * GetFileSecurity32A [ADVAPI32.45]
* *
* Obtains Specified information about the security of a file or directory * Obtains Specified information about the security of a file or directory
* The information obtained is constrained by the callers acces rights and * The information obtained is constrained by the callers access rights and
* priviliges * privileges
*/ */
BOOL32 WINAPI BOOL32 WINAPI
GetFileSecurity32A( LPCSTR lpFileName, GetFileSecurity32A( LPCSTR lpFileName,
@ -118,8 +118,8 @@ GetFileSecurity32A( LPCSTR lpFileName,
* GetFileSecurity32W [ADVAPI32.46] * GetFileSecurity32W [ADVAPI32.46]
* *
* Obtains Specified information about the security of a file or directory * Obtains Specified information about the security of a file or directory
* The information obtained is constrained by the callers acces rights and * The information obtained is constrained by the callers access rights and
* priviliges * privileges
* *
* PARAMS * PARAMS
* lpFileName [] * lpFileName []
@ -642,3 +642,21 @@ RevertToSelf( void )
FIXME(advapi,"(), stub\n"); FIXME(advapi,"(), stub\n");
return TRUE; return TRUE;
} }
/******************************************************************************
* ImpersonateSelf [ADVAPI32.71]
*/
BOOL32 WINAPI
ImpersonateSelf32(DWORD/*SECURITY_IMPERSONATION_LEVEL*/ ImpersonationLevel)
{
FIXME(advapi, "(%08lx), stub\n", ImpersonationLevel);
return TRUE;
}
BOOL32 WINAPI
AccessCheck32(LPSECURITY_DESCRIPTOR pSecurityDescriptor, HANDLE32 ClientToken, DWORD DesiredAccess, LPVOID/*LPGENERIC_MAPPING*/ GenericMapping, LPVOID/*LPPRIVILEGE_SET*/ PrivilegeSet, LPDWORD PrivilegeSetLength, LPDWORD GrantedAccess, LPBOOL32 AccessStatus)
{
FIXME(advapi, "(%p, %04x, %08lx, %p, %p, %p, %p, %p), stub\n", pSecurityDescriptor, ClientToken, DesiredAccess, GenericMapping, PrivilegeSet, PrivilegeSetLength, GrantedAccess, AccessStatus);
*AccessStatus = TRUE;
return TRUE;
}

View file

@ -3,7 +3,7 @@ type win32
0000 stub AbortSystemShutdownA 0000 stub AbortSystemShutdownA
0001 stub AbortSystemShutdownW 0001 stub AbortSystemShutdownW
0002 stub AccessCheck 0002 stdcall AccessCheck(ptr long long ptr ptr ptr ptr ptr) AccessCheck32
0003 stub AccessCheckAndAuditAlarmA 0003 stub AccessCheckAndAuditAlarmA
0004 stub AccessCheckAndAuditAlarmW 0004 stub AccessCheckAndAuditAlarmW
0005 stub AddAccessAllowedAce 0005 stub AddAccessAllowedAce
@ -72,7 +72,7 @@ type win32
0068 stdcall GetUserNameW(ptr ptr) GetUserName32W 0068 stdcall GetUserNameW(ptr ptr) GetUserName32W
0069 stub ImpersonateLoggedOnUser 0069 stub ImpersonateLoggedOnUser
0070 stub ImpersonateNamedPipeClient 0070 stub ImpersonateNamedPipeClient
0071 stub ImpersonateSelf 0071 stdcall ImpersonateSelf(long) ImpersonateSelf32
0072 stub InitializeAcl 0072 stub InitializeAcl
0073 stdcall InitializeSecurityDescriptor(ptr long) InitializeSecurityDescriptor 0073 stdcall InitializeSecurityDescriptor(ptr long) InitializeSecurityDescriptor
0074 stdcall InitializeSid(ptr ptr long) InitializeSid 0074 stdcall InitializeSid(ptr ptr long) InitializeSid