diff --git a/reactos/lib/ntdll/rtl/callback.c b/reactos/lib/ntdll/rtl/callback.c index 659845bc59c..e0d9a280fc4 100644 --- a/reactos/lib/ntdll/rtl/callback.c +++ b/reactos/lib/ntdll/rtl/callback.c @@ -1,4 +1,4 @@ -/* $Id: callback.c,v 1.3 2000/12/23 02:37:38 dwelch Exp $ +/* $Id: callback.c,v 1.4 2002/01/15 00:43:17 dwelch Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -16,7 +16,8 @@ /* TYPES *********************************************************************/ -typedef NTSTATUS (*CALLBACK_FUNCTION)(PVOID Argument, ULONG ArgumentLength); +typedef NTSTATUS STDCALL (*CALLBACK_FUNCTION)(PVOID Argument, + ULONG ArgumentLength); /* FUNCTIONS *****************************************************************/ diff --git a/reactos/ntoskrnl/ps/thread.c b/reactos/ntoskrnl/ps/thread.c index 9ccaf6d5441..ea968400884 100644 --- a/reactos/ntoskrnl/ps/thread.c +++ b/reactos/ntoskrnl/ps/thread.c @@ -1,4 +1,4 @@ -/* $Id: thread.c,v 1.84 2002/01/13 22:52:07 dwelch Exp $ +/* $Id: thread.c,v 1.85 2002/01/15 00:43:18 dwelch Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -509,7 +509,17 @@ NtW32Call (IN ULONG RoutineIndex, OUT PVOID* Result OPTIONAL, OUT PULONG ResultLength OPTIONAL) { - UNIMPLEMENTED; + PKTRAP_FRAME TrapFrame; + PETHREAD Thread; + PULONG OldStack; + + Thread = PsGetCurrentThread(); + if (Thread->Tcb.CallbackStack != NULL) + { + return(STATUS_UNSUCCESSFUL); + } + + } NTSTATUS STDCALL diff --git a/reactos/subsys/win32k/include/dib.h b/reactos/subsys/win32k/include/dib.h new file mode 100644 index 00000000000..54ef5c59d5c --- /dev/null +++ b/reactos/subsys/win32k/include/dib.h @@ -0,0 +1,6 @@ +#ifndef __WIN32K_DIB_H +#define __WIN32K_DIB_H + +int DIB_GetDIBWidthBytes(int width, int depth); + +#endif /* __WIN32K_DIB_H */