diff options
author | Alon Levy <alevy@redhat.com> | 2012-10-28 15:06:03 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-10-28 15:06:30 +0200 |
commit | bd9aeffd549aabbecc244ff55935a56b6b9ccbe6 (patch) | |
tree | 9112714b54a19c97a43a47bcc1c15554347f5703 | |
parent | 7136ad4bba8a0b877f559f6fd5fba8ee8f1f8457 (diff) |
builds; no installation - still setupapi claims file missing
-rw-r--r-- | wddm/sys/qxlwddm.c | 24 | ||||
-rw-r--r-- | wddm/sys/sources | 7 | ||||
-rw-r--r-- | wddm/umd/qxlum.def | 0 | ||||
-rw-r--r-- | wddm/umd/sources | 4 |
4 files changed, 33 insertions, 2 deletions
diff --git a/wddm/sys/qxlwddm.c b/wddm/sys/qxlwddm.c index e69de29..6a3ef0e 100644 --- a/wddm/sys/qxlwddm.c +++ b/wddm/sys/qxlwddm.c @@ -0,0 +1,24 @@ +#include <ntddk.h> +#include <wdm.h> +#include <dispmprt.h> + +#pragma code_seg(push) +#pragma code_seg("INIT") +NTSTATUS DriverEntry( + IN PDRIVER_OBJECT DriverObject, + IN PUNICODE_STRING RegistryPath + ) +{ + DRIVER_INITIALIZATION_DATA DriverInitializationData = {'\0'}; + + PAGED_CODE(); + + if (! ARGUMENT_PRESENT(DriverObject) || + ! ARGUMENT_PRESENT(RegistryPath)) + { + return STATUS_INVALID_PARAMETER; + } + DriverInitializationData.Version = DXGKDDI_INTERFACE_VERSION; + + return DxgkInitialize(DriverObject, RegistryPath, &DriverInitializationData); +} diff --git a/wddm/sys/sources b/wddm/sys/sources index 3099210..ffb0745 100644 --- a/wddm/sys/sources +++ b/wddm/sys/sources @@ -1,3 +1,8 @@ TARGETNAME=qxlwddm -TARGETTYPE=DRIVER +TARGETTYPE=MINIPORT SOURCES=qxlwddm.c +TARGETLIBS=$(DDK_LIB_PATH)\displib.lib \ + $(DDK_LIB_PATH)\ntoskrnl.lib \ + $(DDK_LIB_PATH)\hal.lib \ + $(DDK_LIB_PATH)\libcntpr.lib +#MAJORCOMP=ntos diff --git a/wddm/umd/qxlum.def b/wddm/umd/qxlum.def new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/wddm/umd/qxlum.def diff --git a/wddm/umd/sources b/wddm/umd/sources index 3d916c9..e209432 100644 --- a/wddm/umd/sources +++ b/wddm/umd/sources @@ -1,3 +1,5 @@ -TARGETNAME=qxlum.dll +TARGETNAME=qxlum TARGETTYPE=DYNLINK SOURCES=qxlum.c +TARGETLIBS= \ + $(DDK_LIB_PATH)\kernel32.lib |