From 0798bf47d1291e32f3cfd1b3edff3c892b94982d Mon Sep 17 00:00:00 2001 From: short <> Date: Sun, 23 Mar 2003 23:49:02 +0000 Subject: [PATCH] PDRIVER_REINITIALIZE: Force stdcall for captive as it is callbacked --- include/ddk/iotypes.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ddk/iotypes.h b/include/ddk/iotypes.h index 5df46dc..3f97261 100644 --- a/include/ddk/iotypes.h +++ b/include/ddk/iotypes.h @@ -62,7 +62,12 @@ typedef struct _SHARE_ACCESS /* FUNCTION TYPES ************************************************************/ -typedef VOID STDCALL_FUNC +typedef VOID +#ifndef LIBCAPTIVE + STDCALL_FUNC +#else /* !LIBCAPTIVE */ + CAPTIVE_STDCALL +#endif /* !LIBCAPTIVE */ (*PDRIVER_REINITIALIZE)(struct _DRIVER_OBJECT* DriverObject, PVOID Context, ULONG Count); -- 1.8.3.1