Correct compiler-agnostic stdcall function pointers. Patch by Mike Nordell.

svn path=/trunk/; revision=7458
This commit is contained in:
Thomas Bluemel 2004-01-05 13:49:18 +00:00
parent 83cc821fc7
commit 1354f5b5a9
3 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
/* $Id: create.c,v 1.77 2004/01/04 11:40:56 gvg Exp $ /* $Id: create.c,v 1.78 2004/01/05 13:49:18 weiden Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries * PROJECT: ReactOS system libraries
@ -146,14 +146,14 @@ BOOL STDCALL CreateProcessA
BOOL bRetVal; BOOL bRetVal;
STARTUPINFOW wsiStartupInfo; STARTUPINFOW wsiStartupInfo;
NTSTATUS STDCALL (*pTrue) NTSTATUS STDCALL_FUNC (*pTrue)
( (
UNICODE_STRING *, UNICODE_STRING *,
ANSI_STRING *, ANSI_STRING *,
BOOLEAN BOOLEAN
); );
ULONG STDCALL (*pRtlMbStringToUnicodeSize)(ANSI_STRING *); ULONG STDCALL_FUNC (*pRtlMbStringToUnicodeSize)(ANSI_STRING *);
DPRINT("CreateProcessA(%s)\n", lpApplicationName); DPRINT("CreateProcessA(%s)\n", lpApplicationName);

View file

@ -1,4 +1,4 @@
/* $Id: callback.c,v 1.8 2002/10/31 00:02:01 dwelch Exp $ /* $Id: callback.c,v 1.9 2004/01/05 13:49:18 weiden Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -16,7 +16,7 @@
/* TYPES *********************************************************************/ /* TYPES *********************************************************************/
typedef NTSTATUS STDCALL (*CALLBACK_FUNCTION)(PVOID Argument, typedef NTSTATUS STDCALL_FUNC (*CALLBACK_FUNCTION)(PVOID Argument,
ULONG ArgumentLength); ULONG ArgumentLength);
/* FUNCTIONS *****************************************************************/ /* FUNCTIONS *****************************************************************/

View file

@ -1631,7 +1631,7 @@ RtlInitializeHeapManager(VOID)
* @implemented * @implemented
*/ */
NTSTATUS STDCALL NTSTATUS STDCALL
RtlEnumProcessHeaps(DWORD STDCALL(*func)(void*,LONG), RtlEnumProcessHeaps(DWORD STDCALL_FUNC(*func)(void*,LONG),
LONG lParam) LONG lParam)
{ {
NTSTATUS Status = STATUS_SUCCESS; NTSTATUS Status = STATUS_SUCCESS;