Fixed misspelling: HwDeviceInterface Fixed misspelling: GetDxgkInterface Based on a patch by Sandy Stutsman <sstutsma@xxxxxxxxxx> Signed-off-by: Sameeh Jubran <sameeh@xxxxxxxxxx> --- qxldod/QxlDod.cpp | 4 ++-- qxldod/QxlDod.h | 13 +++++++------ 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp index d9d6977..048dad7 100755 --- a/qxldod/QxlDod.cpp +++ b/qxldod/QxlDod.cpp @@ -3192,7 +3192,7 @@ NTSTATUS QxlDevice::SetPowerState(_In_ DEVICE_POWER_STATE DevicePowerState, DXGK NTSTATUS QxlDevice::HWInit(PCM_RESOURCE_LIST pResList, DXGK_DISPLAY_INFORMATION* pDispInfo) { DbgPrint(TRACE_LEVEL_VERBOSE, ("---> %s\n", __FUNCTION__)); - PDXGKRNL_INTERFACE pDxgkInterface = m_pQxlDod->GetDxgkInterrface(); + PDXGKRNL_INTERFACE pDxgkInterface = m_pQxlDod->GetDxgkInterface(); UINT pci_range = QXL_RAM_RANGE_INDEX; for (ULONG i = 0; i < pResList->Count; ++i) { @@ -3369,7 +3369,7 @@ void QxlDevice::QxlClose() void QxlDevice::UnmapMemory(void) { - PDXGKRNL_INTERFACE pDxgkInterface = m_pQxlDod->GetDxgkInterrface(); + PDXGKRNL_INTERFACE pDxgkInterface = m_pQxlDod->GetDxgkInterface(); if (m_IoMapped && m_IoBase) { pDxgkInterface->DxgkCbUnmapMemory( pDxgkInterface->DeviceHandle, &m_IoBase); diff --git a/qxldod/QxlDod.h b/qxldod/QxlDod.h index b9b793a..54d8f35 100755 --- a/qxldod/QxlDod.h +++ b/qxldod/QxlDod.h @@ -212,9 +212,9 @@ typedef struct _CURRENT_BDD_MODE class QxlDod; -class HwDeviceIntrface { +class HwDeviceInterface { public: - virtual ~HwDeviceIntrface() {;} + virtual ~HwDeviceInterface() {;} virtual NTSTATUS QueryCurrentMode(PVIDEO_MODE RequestedMode) = 0; virtual NTSTATUS SetCurrentMode(ULONG Mode) = 0; virtual NTSTATUS GetCurrentMode(ULONG* Mode) = 0; @@ -261,7 +261,7 @@ protected: }; class VgaDevice : - public HwDeviceIntrface + public HwDeviceInterface { public: VgaDevice(_In_ QxlDod* pQxlDod); @@ -434,7 +434,7 @@ typedef struct DpcCbContext { #define ALIGN(a, b) (((a) + ((b) - 1)) & ~((b) - 1)) class QxlDevice : - public HwDeviceIntrface + public HwDeviceInterface { public: QxlDevice(_In_ QxlDod* pQxlDod); @@ -592,7 +592,8 @@ private: D3DDDI_VIDEO_PRESENT_SOURCE_ID m_SystemDisplaySourceId; DXGKARG_SETPOINTERSHAPE m_PointerShape; - HwDeviceIntrface* m_pHWDevice; + + HwDeviceInterface* m_pHWDevice; DWORD m_VgaCompatible; DWORD m_PointerCaps; public: @@ -687,7 +688,7 @@ public: _In_ UINT SourceStride, _In_ INT PositionX, _In_ INT PositionY); - PDXGKRNL_INTERFACE GetDxgkInterrface(void) { return &m_DxgkInterface;} + PDXGKRNL_INTERFACE GetDxgkInterface(void) { return &m_DxgkInterface;} private: VOID CleanUp(VOID); NTSTATUS CheckHardware(); -- 2.7.4 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel