Small fix.

This commit is contained in:
Andreas Mohr 1998-10-11 17:37:53 +00:00 committed by Alexandre Julliard
parent e6c12eeb04
commit c21650e17f
3 changed files with 4 additions and 3 deletions

View File

@ -1225,6 +1225,7 @@ HANDLE16 WINAPI FindFirstFile16( LPCSTR path, WIN32_FIND_DATA32A *data )
HGLOBAL16 handle; HGLOBAL16 handle;
FIND_FIRST_INFO *info; FIND_FIRST_INFO *info;
data->dwReserved0 = data->dwReserved1 = 0x0;
if (!path) return 0; if (!path) return 0;
if (!DOSFS_GetFullName( path, FALSE, &full_name )) if (!DOSFS_GetFullName( path, FALSE, &full_name ))
return INVALID_HANDLE_VALUE16; return INVALID_HANDLE_VALUE16;

View File

@ -76,7 +76,7 @@ VOID WINAPI _KERNEL32_86(CRITICAL_SECTION *lock)
/************************************************************************ /************************************************************************
* SYSLEVEL_EnterWin16Lock * SYSLEVEL_EnterWin16Lock
*/ */
VOID SYSLEVEL_EnterWin16Lock(VOID) VOID WINAPI SYSLEVEL_EnterWin16Lock(VOID)
{ {
TRACE(win32, "thread %04x (pid %d) about to enter\n", TRACE(win32, "thread %04x (pid %d) about to enter\n",
THREAD_Current()->teb_sel, getpid()); THREAD_Current()->teb_sel, getpid());
@ -90,7 +90,7 @@ VOID SYSLEVEL_EnterWin16Lock(VOID)
/************************************************************************ /************************************************************************
* SYSLEVEL_LeaveWin16Lock * SYSLEVEL_LeaveWin16Lock
*/ */
VOID SYSLEVEL_LeaveWin16Lock(VOID) VOID WINAPI SYSLEVEL_LeaveWin16Lock(VOID)
{ {
TRACE(win32, "thread %04x (pid %d) about to leave, count is %ld\n", TRACE(win32, "thread %04x (pid %d) about to leave, count is %ld\n",
THREAD_Current()->teb_sel, getpid(), Win16Mutex.RecursionCount); THREAD_Current()->teb_sel, getpid(), Win16Mutex.RecursionCount);

2
tools/winapi-check Normal file → Executable file
View File

@ -25,7 +25,7 @@ do
if [ -n "`echo "$j"|grep \)`" ] ; then if [ -n "`echo "$j"|grep \)`" ] ; then
FUNC="`echo $j|cut -f2 -d\)|cut -f1 -d'#'`" FUNC="`echo $j|cut -f2 -d\)|cut -f1 -d'#'`"
if [ -n "$FUNC" ] ; then if [ -n "$FUNC" ] ; then
if [ -z "`grep -B 1 $FUNC $FIND_LIST|egrep "WINAPI|__cdecl|DC_GET_VAL|DC_SET_MODE|REGS_ENTRYPOINT"`" ] ; then if [ -z "`grep -B 1 $FUNC $FIND_LIST|egrep "WINAPI|__cdecl|VFWAPI|DC_GET_VAL|DC_SET_MODE|REGS_ENTRYPOINT"`" ] ; then
case $FUNC in # "black list" case $FUNC in # "black list"
"GetBrushOrgEx16" ) ;; "GetBrushOrgEx16" ) ;;
"GetCurrentPositionEx16" ) ;; "GetCurrentPositionEx16" ) ;;