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
* PROJECT: ReactOS system libraries
@ -146,14 +146,14 @@ BOOL STDCALL CreateProcessA
BOOL bRetVal;
STARTUPINFOW wsiStartupInfo;
NTSTATUS STDCALL (*pTrue)
NTSTATUS STDCALL_FUNC (*pTrue)
(
UNICODE_STRING *,
ANSI_STRING *,
BOOLEAN
);
ULONG STDCALL (*pRtlMbStringToUnicodeSize)(ANSI_STRING *);
ULONG STDCALL_FUNC (*pRtlMbStringToUnicodeSize)(ANSI_STRING *);
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
* PROJECT: ReactOS kernel
@ -16,7 +16,7 @@
/* TYPES *********************************************************************/
typedef NTSTATUS STDCALL (*CALLBACK_FUNCTION)(PVOID Argument,
typedef NTSTATUS STDCALL_FUNC (*CALLBACK_FUNCTION)(PVOID Argument,
ULONG ArgumentLength);
/* FUNCTIONS *****************************************************************/

View file

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