PACQUIRE_FOR_LAZY_WRITE: Force 'stdcall' call type as they are callbacks
authorshort <>
Sun, 13 Apr 2003 22:53:00 +0000 (22:53 +0000)
committershort <>
Sun, 13 Apr 2003 22:53:00 +0000 (22:53 +0000)
PRELEASE_FROM_LAZY_WRITE: Force 'stdcall' call type as they are callbacks
PACQUIRE_FOR_READ_AHEAD: Force 'stdcall' call type as they are callbacks
PRELEASE_FROM_READ_AHEAD: Force 'stdcall' call type as they are callbacks
PFLUSH_TO_LSN: Force 'stdcall' call type as they are callbacks

include/ddk/cctypes.h

index 28c2cb6..16d8f85 100644 (file)
@@ -39,18 +39,38 @@ typedef VOID (*PDIRTY_PAGE_ROUTINE) (
     IN PVOID            Context2
 );
 
-typedef BOOLEAN STDCALL_FUNC
+typedef BOOLEAN
+#ifndef LIBCAPTIVE
+               STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+               CAPTIVE_STDCALL
+#endif /* LIBCAPTIVE */
 (*PACQUIRE_FOR_LAZY_WRITE)(IN PVOID Context,
                           IN BOOLEAN Wait);
 
-typedef VOID STDCALL_FUNC
+typedef VOID
+#ifndef LIBCAPTIVE
+               STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+               CAPTIVE_STDCALL
+#endif /* LIBCAPTIVE */
 (*PRELEASE_FROM_LAZY_WRITE)(IN PVOID Context);
 
-typedef BOOLEAN STDCALL_FUNC
+typedef BOOLEAN
+#ifndef LIBCAPTIVE
+               STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+               CAPTIVE_STDCALL
+#endif /* LIBCAPTIVE */
 (*PACQUIRE_FOR_READ_AHEAD)(IN PVOID Context,
                           IN BOOLEAN Wait);
 
-typedef VOID STDCALL_FUNC
+typedef VOID
+#ifndef LIBCAPTIVE
+               STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+               CAPTIVE_STDCALL
+#endif /* LIBCAPTIVE */
 (*PRELEASE_FROM_READ_AHEAD)(IN PVOID Context);
 
 typedef struct _CACHE_MANAGER_CALLBACKS
@@ -71,7 +91,12 @@ typedef struct _SECTION_OBJECT_POINTERS
 } SECTION_OBJECT_POINTERS, *PSECTION_OBJECT_POINTERS;
 */
 
-typedef VOID STDCALL_FUNC
+typedef VOID
+#ifndef LIBCAPTIVE
+               STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+               CAPTIVE_STDCALL
+#endif /* LIBCAPTIVE */
 (*PFLUSH_TO_LSN)(IN PVOID LogHandle,
                 IN LARGE_INTEGER Lsn);