summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2012-02-21 22:43:30 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2012-02-21 22:43:30 +0100
commit62fb67acfb3bc7309098accccbe297aa9ddeb1a8 (patch)
tree16f8790401fa403eda32102d814e8c71ec9307c9
parent3ff126a7b5ec7b48b8f34705a83a1fb7e30f6ec1 (diff)
mingw: adjust DriverEntry declaration
It needs an extra NTAPI, hopefully this doesn't break compilation with vc++
-rw-r--r--miniport/qxl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miniport/qxl.c b/miniport/qxl.c
index 855b08b..68a20f0 100644
--- a/miniport/qxl.c
+++ b/miniport/qxl.c
@@ -92,7 +92,7 @@ typedef struct QXLExtension {
#define QXL_ALLOC_TAG '_lxq'
-ULONG DriverEntry(PVOID context1, PVOID context2)
+ULONG NTAPI DriverEntry(PVOID context1, PVOID context2)
{
VIDEO_HW_INITIALIZATION_DATA init_data;
ULONG ret;