From 1d54e632d3d1035e55859a8d7f4aa8e69ddfae17 Mon Sep 17 00:00:00 2001 From: short <> Date: Wed, 16 Apr 2003 14:34:52 +0000 Subject: [PATCH] PWORK_QUEUE_ITEM->Routine must be always 'stdcall' as it is a callback --- include/ddk/extypes.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/ddk/extypes.h b/include/ddk/extypes.h index 6093fc5..8575677 100644 --- a/include/ddk/extypes.h +++ b/include/ddk/extypes.h @@ -78,7 +78,12 @@ typedef struct _ZONE_ENTRY } ZONE_ENTRY, *PZONE_ENTRY; -typedef VOID STDCALL_FUNC +typedef VOID +#ifndef LIBCAPTIVE + STDCALL_FUNC +#else /* !LIBCAPTIVE */ + CAPTIVE_STDCALL +#endif /* !LIBCAPTIVE */ (*PWORKER_THREAD_ROUTINE)(PVOID Parameter); typedef struct _WORK_QUEUE_ITEM -- 1.8.3.1