Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-08-25 14:20:36 +0400
committerDanny Smith <dannysmith@users.sourceforge.net>2003-08-25 14:20:36 +0400
commite98b6dbb6d8c3f7e3329090a76814fae0ba2ce0b (patch)
tree1f90ed75da1094fe6f30da3fa3e93b6e3a69c5d4 /winsup/w32api/include/ddk/winddk.h
parent1b1c7fbfa56af69417b04a59c26d3b82e4d72fac (diff)
2003-08-26 Filip Navara <xnavara@volny.cz>
* include/ddk/winddk.h (RTL_REGISTRY_*): Add defines. (IoSetCompletionRoutine): Cast _CompletionRoutine arg to PIO_COMPLETION_ROUTINE.
Diffstat (limited to 'winsup/w32api/include/ddk/winddk.h')
-rw-r--r--winsup/w32api/include/ddk/winddk.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/winsup/w32api/include/ddk/winddk.h b/winsup/w32api/include/ddk/winddk.h
index d19774e07..fb1896670 100644
--- a/winsup/w32api/include/ddk/winddk.h
+++ b/winsup/w32api/include/ddk/winddk.h
@@ -2997,6 +2997,13 @@ typedef NTSTATUS DDKAPI
IN PVOID Context,
IN PVOID EntryContext);
+#define RTL_REGISTRY_ABSOLUTE 0
+#define RTL_REGISTRY_SERVICES 1
+#define RTL_REGISTRY_CONTROL 2
+#define RTL_REGISTRY_WINDOWS_NT 3
+#define RTL_REGISTRY_DEVICEMAP 4
+#define RTL_REGISTRY_USER 5
+
/* RTL_QUERY_REGISTRY_TABLE.Flags */
#define RTL_QUERY_REGISTRY_SUBKEY 0x00000001
#define RTL_QUERY_REGISTRY_TOPKEY 0x00000002
@@ -6746,7 +6753,7 @@ IoReuseIrp(
assert(_InvokeOnSuccess || _InvokeOnError || _InvokeOnCancel ? \
_CompletionRoutine != NULL : TRUE); \
_IrpSp = IoGetNextIrpStackLocation(_Irp); \
- _IrpSp->CompletionRoutine = (_CompletionRoutine); \
+ _IrpSp->CompletionRoutine = (PIO_COMPLETION_ROUTINE)(_CompletionRoutine); \
_IrpSp->Context = (_Context); \
_IrpSp->Control = 0; \
if (_InvokeOnSuccess) _IrpSp->Control = SL_INVOKE_ON_SUCCESS; \