[PATCH] include: Add MmIsAddressValid to ddk/ntddk.h
Alex Henrie
alexhenrie24 at gmail.com
Thu Mar 15 23:58:37 CDT 2018
From: Michael Müller <michael at fds-team.de>
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
Patch split off from
https://github.com/wine-staging/wine-staging/blob/master/patches/ntoskrnl-DriverTest/0005-ntoskrnl.exe-tests-Check-ldr-module-order-and-some-c.patch
Wine already has an implementation of this function, so adding it to the
corresponding header file will benefit both programs compiled with
Winelib and future Wine development.
include/ddk/ntddk.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/ddk/ntddk.h b/include/ddk/ntddk.h
index 5c124ca944..e76ccc9f8a 100644
--- a/include/ddk/ntddk.h
+++ b/include/ddk/ntddk.h
@@ -214,6 +214,7 @@ NTSTATUS WINAPI IoQueryDeviceDescription(PINTERFACE_TYPE,PULONG,PCONFIGURATION_
PCONFIGURATION_TYPE,PULONG,PIO_QUERY_DEVICE_ROUTINE,PVOID);
void WINAPI IoRegisterDriverReinitialization(PDRIVER_OBJECT,PDRIVER_REINITIALIZE,PVOID);
NTSTATUS WINAPI IoRegisterShutdownNotification(PDEVICE_OBJECT);
+BOOLEAN WINAPI MmIsAddressValid(void *);
NTSTATUS WINAPI PsSetLoadImageNotifyRoutine(PLOAD_IMAGE_NOTIFY_ROUTINE);
void WINAPI RtlInitializeGenericTableAvl(PRTL_AVL_TABLE,PRTL_AVL_COMPARE_ROUTINE,PRTL_AVL_ALLOCATE_ROUTINE, PRTL_AVL_FREE_ROUTINE,void *);
void WINAPI RtlInsertElementGenericTableAvl(PRTL_AVL_TABLE,void *,ULONG,BOOL*);
--
2.16.2
More information about the wine-devel
mailing list