summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier Celaya <javier.celaya@flexvdi.com>2016-02-23 16:19:34 +0100
committerFrediano Ziglio <fziglio@redhat.com>2016-11-23 18:23:14 +0000
commit1af6eb074c751ce64113bee7ceb5db9e3422c283 (patch)
treee1c112f3dab8617c595f3018bdbd18aa32b780ae
parent0ee4b29ea55e8fe70fbcb272bc23f5c5ca47208c (diff)
Remove unused codetest.0.test
Signed-off-by: Javier Celaya <javier.celaya@flexvdi.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rwxr-xr-xqxldod/QxlDod.cpp51
-rwxr-xr-xqxldod/QxlDod.h3
2 files changed, 0 insertions, 54 deletions
diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp
index 8f31714..7bd2ead 100755
--- a/qxldod/QxlDod.cpp
+++ b/qxldod/QxlDod.cpp
@@ -1874,57 +1874,6 @@ NTSTATUS QxlDod::RegisterHWInfo(_In_ ULONG Id)
return Status;
}
-NTSTATUS QxlDod::ReadConfiguration()
-{
- PAGED_CODE();
-
- NTSTATUS Status;
- DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__));
-
- HANDLE DevInstRegKeyHandle;
- Status = IoOpenDeviceRegistryKey(m_pPhysicalDevice, PLUGPLAY_REGKEY_DRIVER, KEY_SET_VALUE, &DevInstRegKeyHandle);
- if (!NT_SUCCESS(Status))
- {
- DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%I64x, Status: 0x%I64x", m_pPhysicalDevice, Status));
- return Status;
- }
- UNICODE_STRING ValueName;
- UCHAR Buffer[sizeof(KEY_VALUE_PARTIAL_INFORMATION)+sizeof(ULONG)];
- PKEY_VALUE_PARTIAL_INFORMATION Value = (PKEY_VALUE_PARTIAL_INFORMATION)Buffer;
- ULONG ValueLength = sizeof(Buffer);
- ULONG ResultLength;
- ULONG Length;
-
- RtlInitUnicodeString(&ValueName, L"VgaCompatible");
-
- Status = ZwQueryValueKey(DevInstRegKeyHandle,
- &ValueName,
- KeyValuePartialInformation,
- Value,
- ValueLength,
- &ResultLength);
-
- if (NT_SUCCESS(Status)) {
- m_VgaCompatible = *(PULONG)(Value->Data);
- }
-
- RtlInitUnicodeString(&ValueName, L"PointerCaps");
-
- Status = ZwQueryValueKey(DevInstRegKeyHandle,
- &ValueName,
- KeyValuePartialInformation,
- Value,
- ValueLength,
- &ResultLength);
-
- if (NT_SUCCESS(Status)) {
- m_PointerCaps = *(PULONG)(Value->Data);
- }
-
- DbgPrint(TRACE_LEVEL_VERBOSE, ("<--- %s\n", __FUNCTION__));
- return Status;
-}
-
QXL_NON_PAGED
D3DDDI_VIDEO_PRESENT_SOURCE_ID QxlDod::FindSourceForTarget(D3DDDI_VIDEO_PRESENT_TARGET_ID TargetId, BOOLEAN DefaultToZero)
{
diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h
index 8503f29..b151484 100755
--- a/qxldod/QxlDod.h
+++ b/qxldod/QxlDod.h
@@ -619,8 +619,6 @@ private:
DXGKARG_SETPOINTERSHAPE m_PointerShape;
HwDeviceInterface* m_pHWDevice;
- DWORD m_VgaCompatible;
- DWORD m_PointerCaps;
public:
QxlDod(_In_ DEVICE_OBJECT* pPhysicalDeviceObject);
~QxlDod(void);
@@ -743,7 +741,6 @@ private:
NTSTATUS IsVidPnSourceModeFieldsValid(CONST D3DKMDT_VIDPN_SOURCE_MODE* pSourceMode) const;
NTSTATUS IsVidPnPathFieldsValid(CONST D3DKMDT_VIDPN_PRESENT_PATH* pPath) const;
NTSTATUS RegisterHWInfo(_In_ ULONG Id);
- NTSTATUS ReadConfiguration();
};
NTSTATUS