Better match the PSDK types and update win32.api to fix the winapi_check warnings.

This commit is contained in:
Francois Gouget 2007-10-23 15:31:27 +02:00 committed by Alexandre Julliard
parent 602ab961c4
commit b1335db353
4 changed files with 25 additions and 3 deletions

View File

@ -580,7 +580,7 @@ AdjustTokenGroups( HANDLE TokenHandle, BOOL ResetToDefault, PTOKEN_GROUPS NewSta
BOOL WINAPI BOOL WINAPI
AdjustTokenPrivileges( HANDLE TokenHandle, BOOL DisableAllPrivileges, AdjustTokenPrivileges( HANDLE TokenHandle, BOOL DisableAllPrivileges,
PTOKEN_PRIVILEGES NewState, DWORD BufferLength, PTOKEN_PRIVILEGES NewState, DWORD BufferLength,
PTOKEN_PRIVILEGES PreviousState, LPDWORD ReturnLength ) PTOKEN_PRIVILEGES PreviousState, PDWORD ReturnLength )
{ {
NTSTATUS status; NTSTATUS status;

View File

@ -1305,7 +1305,7 @@ BOOL WINAPI CryptRetrieveObjectByUrlW(LPCWSTR pszURL, LPCSTR pszObjectOid,
* CertDllVerifyRevocation (CRYPTNET.@) * CertDllVerifyRevocation (CRYPTNET.@)
*/ */
BOOL WINAPI CertDllVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType, BOOL WINAPI CertDllVerifyRevocation(DWORD dwEncodingType, DWORD dwRevType,
DWORD cContext, void *rgpvContext[], DWORD dwFlags, DWORD cContext, PVOID rgpvContext[], DWORD dwFlags,
PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus) PCERT_REVOCATION_PARA pRevPara, PCERT_REVOCATION_STATUS pRevStatus)
{ {
FIXME("(%08x, %d, %d, %p, %08x, %p, %p): stub\n", dwEncodingType, dwRevType, FIXME("(%08x, %d, %d, %p, %08x, %p, %p): stub\n", dwEncodingType, dwRevType,

View File

@ -1253,7 +1253,7 @@ BOOL WINAPI AccessCheckAndAuditAlarmA(LPCSTR,LPVOID,LPSTR,LPSTR,PSECURITY
BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL); BOOL WINAPI AccessCheckAndAuditAlarmW(LPCWSTR,LPVOID,LPWSTR,LPWSTR,PSECURITY_DESCRIPTOR,DWORD,PGENERIC_MAPPING,BOOL,LPDWORD,LPBOOL,LPBOOL);
#define AccessCheckAndAuditAlarm WINELIB_NAME_AW(AccessCheckAndAuditAlarm) #define AccessCheckAndAuditAlarm WINELIB_NAME_AW(AccessCheckAndAuditAlarm)
BOOL WINAPI AccessCheckByType(PSECURITY_DESCRIPTOR,PSID,HANDLE,DWORD,POBJECT_TYPE_LIST,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL); BOOL WINAPI AccessCheckByType(PSECURITY_DESCRIPTOR,PSID,HANDLE,DWORD,POBJECT_TYPE_LIST,DWORD,PGENERIC_MAPPING,PPRIVILEGE_SET,LPDWORD,LPDWORD,LPBOOL);
BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,LPDWORD); BOOL WINAPI AdjustTokenPrivileges(HANDLE,BOOL,PTOKEN_PRIVILEGES,DWORD,PTOKEN_PRIVILEGES,PDWORD);
BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *); BOOL WINAPI AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY,BYTE,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,DWORD,PSID *);
BOOL WINAPI AllocateLocallyUniqueId(PLUID); BOOL WINAPI AllocateLocallyUniqueId(PLUID);
BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD); BOOL WINAPI AreAllAccessesGranted(DWORD,DWORD);

View File

@ -147,6 +147,7 @@ PSID *
PSID_IDENTIFIER_AUTHORITY PSID_IDENTIFIER_AUTHORITY
PSID_NAME_USE PSID_NAME_USE
PTOKEN_GROUPS PTOKEN_GROUPS
PTOKEN_PRIVILEGES
PTRACE_GUID_REGISTRATION PTRACE_GUID_REGISTRATION
PTRACEHANDLE PTRACEHANDLE
PTRUSTED_DOMAIN_AUTH_INFORMATION PTRUSTED_DOMAIN_AUTH_INFORMATION
@ -797,6 +798,27 @@ void
LPCWSTR LPCWSTR
LPWSTR LPWSTR
%%cryptnet.dll
%long
BOOL
DWORD
%ptr
DWORD *
LPVOID
PCERT_REVOCATION_PARA
PCERT_REVOCATION_STATUS
PCRYPT_URL_ARRAY
PCRYPT_URL_INFO
PVOID[]
%str
LPCSTR
%%ctl3d32.dll %%ctl3d32.dll
%long %long