ULONG PeripheralNumber,
PKEY_VALUE_FULL_INFORMATION* PI);
-typedef NTSTATUS STDCALL_FUNC
+typedef NTSTATUS
+#ifndef LIBCAPTIVE
+ STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+ CAPTIVE_STDCALL
+#endif /* !LIBCAPTIVE */
(*PIO_COMPLETION_ROUTINE)(struct _DEVICE_OBJECT* DeviceObject,
struct _IRP* Irp,
PVOID Context);
/*
* Driver cancel declaration
*/
-typedef NTSTATUS STDCALL_FUNC
+typedef NTSTATUS
+#ifndef LIBCAPTIVE
+ STDCALL_FUNC
+#else /* !LIBCAPTIVE */
+ CAPTIVE_STDCALL
+#endif /* !LIBCAPTIVE */
(*PDRIVER_CANCEL)(struct _DEVICE_OBJECT* DeviceObject,
struct _IRP* RegistryPath);