2003-08-26 Filip Navara <xnavara@volny.cz>
* include/ddk/winddk.h (RTL_REGISTRY_*): Add defines. (IoSetCompletionRoutine): Cast _CompletionRoutine arg to PIO_COMPLETION_ROUTINE.
This commit is contained in:
parent
1b1c7fbfa5
commit
e98b6dbb6d
|
@ -1,3 +1,9 @@
|
||||||
|
2003-08-26 Filip Navara <xnavara@volny.cz>
|
||||||
|
|
||||||
|
* include/ddk/winddk.h (RTL_REGISTRY_*): Add defines.
|
||||||
|
(IoSetCompletionRoutine): Cast _CompletionRoutine arg to
|
||||||
|
PIO_COMPLETION_ROUTINE.
|
||||||
|
|
||||||
2003-08-26 Danny Smith <dannysmith@users.sourceforge.net>
|
2003-08-26 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* lib/test.c: Add snmp.h, winsnmp.h amd mgmtapi.h to
|
* lib/test.c: Add snmp.h, winsnmp.h amd mgmtapi.h to
|
||||||
|
|
|
@ -2997,6 +2997,13 @@ typedef NTSTATUS DDKAPI
|
||||||
IN PVOID Context,
|
IN PVOID Context,
|
||||||
IN PVOID EntryContext);
|
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 */
|
/* RTL_QUERY_REGISTRY_TABLE.Flags */
|
||||||
#define RTL_QUERY_REGISTRY_SUBKEY 0x00000001
|
#define RTL_QUERY_REGISTRY_SUBKEY 0x00000001
|
||||||
#define RTL_QUERY_REGISTRY_TOPKEY 0x00000002
|
#define RTL_QUERY_REGISTRY_TOPKEY 0x00000002
|
||||||
|
@ -6746,7 +6753,7 @@ IoReuseIrp(
|
||||||
assert(_InvokeOnSuccess || _InvokeOnError || _InvokeOnCancel ? \
|
assert(_InvokeOnSuccess || _InvokeOnError || _InvokeOnCancel ? \
|
||||||
_CompletionRoutine != NULL : TRUE); \
|
_CompletionRoutine != NULL : TRUE); \
|
||||||
_IrpSp = IoGetNextIrpStackLocation(_Irp); \
|
_IrpSp = IoGetNextIrpStackLocation(_Irp); \
|
||||||
_IrpSp->CompletionRoutine = (_CompletionRoutine); \
|
_IrpSp->CompletionRoutine = (PIO_COMPLETION_ROUTINE)(_CompletionRoutine); \
|
||||||
_IrpSp->Context = (_Context); \
|
_IrpSp->Context = (_Context); \
|
||||||
_IrpSp->Control = 0; \
|
_IrpSp->Control = 0; \
|
||||||
if (_InvokeOnSuccess) _IrpSp->Control = SL_INVOKE_ON_SUCCESS; \
|
if (_InvokeOnSuccess) _IrpSp->Control = SL_INVOKE_ON_SUCCESS; \
|
||||||
|
|
Loading…
Reference in New Issue