ntdll: Better match the PSDK types and fix the winapi_check warnings.

This commit is contained in:
Francois Gouget 2007-02-09 12:36:49 +01:00 committed by Alexandre Julliard
parent fe78739128
commit f3899c2651
3 changed files with 13 additions and 4 deletions

View File

@ -149,7 +149,7 @@ int CDECL NTDLL_abs( int i )
/********************************************************************* /*********************************************************************
* labs (NTDLL.@) * labs (NTDLL.@)
*/ */
long int CDECL NTDLL_labs( long int i ) long CDECL NTDLL_labs( long i )
{ {
return labs( i ); return labs( i );
} }

View File

@ -105,8 +105,8 @@ void __cdecl NTDLL_qsort( void *base, size_t nmemb, size_t size,
/********************************************************************* /*********************************************************************
* _lfind (NTDLL.@) * _lfind (NTDLL.@)
*/ */
void * __cdecl _lfind( const void *key, const void *base, size_t *nmemb, void * __cdecl _lfind( const void *key, const void *base, unsigned int *nmemb,
size_t size, int(*compar)(const void *, const void *) ) unsigned int size, int(*compar)(const void *, const void *) )
{ {
return lfind( key, base, nmemb, size, compar ); return lfind( key, base, nmemb, size, compar );
} }

View File

@ -2816,6 +2816,7 @@ WORD
int int
long long
obj_handle_t obj_handle_t
size_t
unsigned int unsigned int
unsigned long unsigned long
@ -2833,6 +2834,7 @@ ULONGLONG
ANSI_STRING * ANSI_STRING *
BOOLEAN * BOOLEAN *
BYTE *
CLIENT_ID * CLIENT_ID *
CONTEXT * CONTEXT *
CURDIR * CURDIR *
@ -2895,6 +2897,7 @@ PIMAGE_NT_HEADERS
PIMAGE_SECTION_HEADER PIMAGE_SECTION_HEADER
PIO_APC_ROUTINE PIO_APC_ROUTINE
PIO_STATUS_BLOCK PIO_STATUS_BLOCK
PKEY_MULTIPLE_VALUE_INFORMATION
PLARGE_INTEGER PLARGE_INTEGER
PLDR_MODULE * PLDR_MODULE *
PLONG PLONG
@ -2914,11 +2917,14 @@ PRTL_THREAD_START_ROUTINE
PRTL_USER_PROCESS_PARAMETERS PRTL_USER_PROCESS_PARAMETERS
PRTL_WORK_ITEM_ROUTINE PRTL_WORK_ITEM_ROUTINE
PSECURITY_DESCRIPTOR PSECURITY_DESCRIPTOR
PSECURITY_DESCRIPTOR *
PSECURITY_DESCRIPTOR_CONTROL PSECURITY_DESCRIPTOR_CONTROL
PSECURITY_QUALITY_OF_SERVICE PSECURITY_QUALITY_OF_SERVICE
PSID PSID
PSID * PSID *
PSID_IDENTIFIER_AUTHORITY PSID_IDENTIFIER_AUTHORITY
PSLIST_ENTRY
PSLIST_HEADER
PSTRING PSTRING
PSYSTEM_MODULE_INFORMATION PSYSTEM_MODULE_INFORMATION
PTIME_FIELDS PTIME_FIELDS
@ -2927,6 +2933,7 @@ PTOKEN_GROUPS
PTOKEN_PRIVILEGES PTOKEN_PRIVILEGES
PULARGE_INTEGER PULARGE_INTEGER
PULONG PULONG
PULONG_PTR
PUNICODE_STRING PUNICODE_STRING
PVECTORED_EXCEPTION_HANDLER PVECTORED_EXCEPTION_HANDLER
PVOID PVOID
@ -2946,7 +2953,6 @@ RTL_USER_PROCESS_PARAMETERS **
SECURITY_DESCRIPTOR * SECURITY_DESCRIPTOR *
SIZE_T * SIZE_T *
STRING * STRING *
TEB *
UINT * UINT *
ULONG * ULONG *
ULONGLONG * ULONGLONG *
@ -2954,9 +2960,12 @@ UNICODE_STRING *
USHORT * USHORT *
VOID * VOID *
WCHAR ** WCHAR **
char **
int * int *
int (*)(void *, void *)
obj_handle_t * obj_handle_t *
union cptable * union cptable *
unsigned int *
va_list va_list
va_list * va_list *
void * void *