git://git.jankratochvil.net
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PDRIVER_REINITIALIZE: Force stdcall for captive as it is callbacked
[reactos.git]
/
include
/
ddk
/
iotypes.h
diff --git
a/include/ddk/iotypes.h
b/include/ddk/iotypes.h
index
5df46dc
..
3f97261
100644
(file)
--- a/
include/ddk/iotypes.h
+++ b/
include/ddk/iotypes.h
@@
-62,7
+62,12
@@
typedef struct _SHARE_ACCESS
/* FUNCTION TYPES ************************************************************/
/* 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);
(*PDRIVER_REINITIALIZE)(struct _DRIVER_OBJECT* DriverObject,
PVOID Context,
ULONG Count);