<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 3, 2017 at 11:58 AM, Christophe Fergeau <span dir="ltr"><<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri, Jun 30, 2017 at 12:11:42PM +0300, Yuri Benditovich wrote:<br>
> Fixed wrong formats of printouts producing errors with WPP.<br>
> All fixed format strings were wrong mainly due to incorrect<br>
> format for pointers.<br>
<br>
</span>Quickly glanced through this, looks good, anyway this would be caught at<br>
compile time if something was very wrong.<br>
Anything we can add to the project C/CXX flags so that it's caught early<br>
on?<br>
<br></blockquote><div><br></div><div>Not yet, I did not find a quick way to force the compiler to do format checking when building drivers.</div><div>The compiler should do it by default, but does not. We definitely do not disable these warnings in the project and some of them are on W1.</div><div>And now as soon as we build the same source with WPP, they will be caught anyway. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Acked-by: Christophe Fergeau <<a href="mailto:cfergeau@redhat.com" target="_blank">cfergeau@redhat.com</a>><br>
<br>
Christophe<br>
<div><div class="m_5492250090324558126h5"><br>
><br>
> Signed-off-by: Yuri Benditovich <<a href="mailto:yuri.benditovich@daynix.com" target="_blank">yuri.benditovich@daynix.com</a>><br>
> ---<br>
> qxldod/QxlDod.cpp | 102 +++++++++++++++++++++++++++---<wbr>------------------------<br>
> qxldod/driver.cpp | 2 +-<br>
> 2 files changed, 52 insertions(+), 52 deletions(-)<br>
><br>
> diff --git a/qxldod/QxlDod.cpp b/qxldod/QxlDod.cpp<br>
> index 6f2ca88..b97301a 100755<br>
> --- a/qxldod/QxlDod.cpp<br>
> +++ b/qxldod/QxlDod.cpp<br>
> @@ -570,7 +570,7 @@ NTSTATUS QxlDod::Escape(_In_ CONST DXGKARG_ESCAPE* pEscape)<br>
> NTSTATUS Status = STATUS_SUCCESS;<br>
> QXL_ASSERT(pEscape != NULL);<br>
><br>
> - DbgPrint(TRACE_LEVEL_VERBOSE, ("<---> %s Flags = %d\n", __FUNCTION__, pEscape->Flags));<br>
> + DbgPrint(TRACE_LEVEL_VERBOSE, ("<---> %s Flags = %d\n", __FUNCTION__, pEscape->Flags.Value));<br>
><br>
> Status = m_pHWDevice->Escape(pEscape);<br>
> DbgPrint(TRACE_LEVEL_VERBOSE, ("<---> %s Status = %x\n", __FUNCTION__, Status));<br>
> @@ -714,7 +714,7 @@ NTSTATUS QxlDod::IsSupportedVidPn(_Inou<wbr>t_ DXGKARG_ISSUPPORTEDVIDPN* pIsSupported<br>
> NTSTATUS Status = m_DxgkInterface.DxgkCbQueryVid<wbr>PnInterface(pIsSupportedVidPn-<wbr>>hDesiredVidPn, DXGK_VIDPN_INTERFACE_VERSION_V<wbr>1, &pVidPnInterface);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbQueryVidPnInterface failed with Status = 0x%X, hDesiredVidPn = 0x%I64x\n", Status, pIsSupportedVidPn->hDesiredVid<wbr>Pn));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbQueryVidPnInterface failed with Status = 0x%X, hDesiredVidPn = 0x%p\n", Status, pIsSupportedVidPn->hDesiredVid<wbr>Pn));<br>
> return Status;<br>
> }<br>
><br>
> @@ -723,7 +723,7 @@ NTSTATUS QxlDod::IsSupportedVidPn(_Inou<wbr>t_ DXGKARG_ISSUPPORTEDVIDPN* pIsSupported<br>
> Status = pVidPnInterface->pfnGetTopolog<wbr>y(pIsSupportedVidPn->hDesiredV<wbr>idPn, &hVidPnTopology, &pVidPnTopologyInterface);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetTopology failed with Status = 0x%X, hDesiredVidPn = 0x%I64x\n", Status, pIsSupportedVidPn->hDesiredVid<wbr>Pn));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetTopology failed with Status = 0x%X, hDesiredVidPn = 0x%p\n", Status, pIsSupportedVidPn->hDesiredVid<wbr>Pn));<br>
> return Status;<br>
> }<br>
><br>
> @@ -738,7 +738,7 @@ NTSTATUS QxlDod::IsSupportedVidPn(_Inou<wbr>t_ DXGKARG_ISSUPPORTEDVIDPN* pIsSupported<br>
> }<br>
> else if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetNumPathsFromSource failed with Status = 0x%X hVidPnTopology = 0x%I64x, SourceId = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetNumPathsFromSource failed with Status = 0x%X hVidPnTopology = 0x%p, SourceId = 0x%x",<br>
> Status, hVidPnTopology, SourceId));<br>
> return Status;<br>
> }<br>
> @@ -803,7 +803,7 @@ NTSTATUS QxlDod::AddSingleSourceMode(_I<wbr>n_ CONST DXGK_VIDPNSOURCEMODESET_INTERF<wbr>AC<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> // If failed to create a new mode info, mode doesn't need to be released since it was never created<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hVidPnSourceModeSet = 0x%I64x", Status, hVidPnSourceModeSet));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hVidPnSourceModeSet = 0x%p", Status, hVidPnSourceModeSet));<br>
> return Status;<br>
> }<br>
><br>
> @@ -829,7 +829,7 @@ NTSTATUS QxlDod::AddSingleSourceMode(_I<wbr>n_ CONST DXGK_VIDPNSOURCEMODESET_INTERF<wbr>AC<br>
><br>
> if (Status != STATUS_GRAPHICS_MODE_ALREADY_I<wbr>N_MODESET)<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hVidPnSourceModeSet = 0x%I64x, pVidPnSourceModeInfo = %p", Status, hVidPnSourceModeSet, pVidPnSourceModeInfo));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hVidPnSourceModeSet = 0x%p, pVidPnSourceModeInfo = %p", Status, hVidPnSourceModeSet, pVidPnSourceModeInfo));<br>
> return Status;<br>
> }<br>
> }<br>
> @@ -892,7 +892,7 @@ NTSTATUS QxlDod::AddSingleTargetMode(_I<wbr>n_ CONST DXGK_VIDPNTARGETMODESET_INTERF<wbr>AC<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> // If failed to create a new mode info, mode doesn't need to be released since it was never created<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hVidPnTargetModeSet = 0x%I64x", Status, hVidPnTargetModeSet));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hVidPnTargetModeSet = 0x%p", Status, hVidPnTargetModeSet));<br>
> return Status;<br>
> }<br>
> FillSignalInfo(pVidPnTargetMod<wbr>eInfo->VideoSignalInfo, pModeInfo, __FUNCTION__);<br>
> @@ -905,7 +905,7 @@ NTSTATUS QxlDod::AddSingleTargetMode(_I<wbr>n_ CONST DXGK_VIDPNTARGETMODESET_INTERF<wbr>AC<br>
> {<br>
> if (Status != STATUS_GRAPHICS_MODE_ALREADY_I<wbr>N_MODESET)<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hVidPnTargetModeSet = 0x%I64x, pVidPnTargetModeInfo = %p", Status, hVidPnTargetModeSet, pVidPnTargetModeInfo));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hVidPnTargetModeSet = 0x%p, pVidPnTargetModeInfo = %p", Status, hVidPnTargetModeSet, pVidPnTargetModeInfo));<br>
> }<br>
><br>
> // If adding the mode failed, release the mode, if this doesn't work there is nothing that can be done, some memory will get leaked<br>
> @@ -931,7 +931,7 @@ NTSTATUS QxlDod::AddSingleMonitorMode(_<wbr>In_ CONST DXGKARG_RECOMMENDMONITORMODES*<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> // If failed to create a new mode info, mode doesn't need to be released since it was never created<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hMonitorSourceModeSet = 0x%I64x", Status, pRecommendMonitorModes->hMonit<wbr>orSourceModeSet));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hMonitorSourceModeSet = 0x%p", Status, pRecommendMonitorModes->hMonit<wbr>orSourceModeSet));<br>
> return Status;<br>
> }<br>
><br>
> @@ -954,7 +954,7 @@ NTSTATUS QxlDod::AddSingleMonitorMode(_<wbr>In_ CONST DXGKARG_RECOMMENDMONITORMODES*<br>
> {<br>
> if (Status != STATUS_GRAPHICS_MODE_ALREADY_I<wbr>N_MODESET)<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hMonitorSourceModeSet = 0x%I64x, pMonitorSourceMode = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hMonitorSourceModeSet = 0x%p, pMonitorSourceMode = 0x%p",<br>
> Status, pRecommendMonitorModes->hMonit<wbr>orSourceModeSet, pMonitorSourceMode));<br>
> }<br>
> else<br>
> @@ -980,7 +980,7 @@ NTSTATUS QxlDod::AddSingleMonitorMode(_<wbr>In_ CONST DXGKARG_RECOMMENDMONITORMODES*<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> // If failed to create a new mode info, mode doesn't need to be released since it was never created<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hMonitorSourceModeSet = 0x%I64x", Status, pRecommendMonitorModes->hMonit<wbr>orSourceModeSet));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewModeInfo failed with Status = 0x%X, hMonitorSourceModeSet = 0x%p", Status, pRecommendMonitorModes->hMonit<wbr>orSourceModeSet));<br>
> return Status;<br>
> }<br>
><br>
> @@ -1004,7 +1004,7 @@ NTSTATUS QxlDod::AddSingleMonitorMode(_<wbr>In_ CONST DXGKARG_RECOMMENDMONITORMODES*<br>
> {<br>
> if (Status != STATUS_GRAPHICS_MODE_ALREADY_I<wbr>N_MODESET)<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hMonitorSourceModeSet = 0x%I64x, pMonitorSourceMode = 0x%p",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAddMode failed with Status = 0x%X, hMonitorSourceModeSet = 0x%p, pMonitorSourceMode = 0x%p",<br>
> Status, pRecommendMonitorModes->hMonit<wbr>orSourceModeSet, pMonitorSourceMode));<br>
> }<br>
><br>
> @@ -1042,7 +1042,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> NTSTATUS Status = m_DxgkInterface.DxgkCbQueryVid<wbr>PnInterface(pEnumCofuncModalit<wbr>y->hConstrainingVidPn, DXGK_VIDPN_INTERFACE_VERSION_V<wbr>1, &pVidPnInterface);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbQueryVidPnInterface failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbQueryVidPnInterface failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> return Status;<br>
> }<br>
><br>
> @@ -1050,7 +1050,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnGetTopolog<wbr>y(pEnumCofuncModality->hConstr<wbr>ainingVidPn, &hVidPnTopology, &pVidPnTopologyInterface);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetTopology failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetTopology failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> return Status;<br>
> }<br>
><br>
> @@ -1058,7 +1058,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnTopologyInterface->pfnAc<wbr>quireFirstPathInfo(hVidPnTopol<wbr>ogy, &pVidPnPresentPath);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireFirstPathInfo failed with Status =0x%X, hVidPnTopology = 0x%I64x", Status, hVidPnTopology));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireFirstPathInfo failed with Status =0x%X, hVidPnTopology = 0x%p", Status, hVidPnTopology));<br>
> return Status;<br>
> }<br>
><br>
> @@ -1072,7 +1072,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> &pVidPnSourceModeSetInterface)<wbr>;<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, SourceId = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, SourceId = 0x%x",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, pVidPnPresentPath->VidPnSource<wbr>Id));<br>
> break;<br>
> }<br>
> @@ -1081,7 +1081,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnSourceModeSetInterface-><wbr>pfnAcquirePinnedModeInfo(hVidP<wbr>nSourceModeSet, &pVidPnPinnedSourceModeInfo);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePinnedModeInfo failed with Status = 0x%X, hVidPnSourceModeSet = 0x%I64x", Status, hVidPnSourceModeSet));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePinnedModeInfo failed with Status = 0x%X, hVidPnSourceModeSet = 0x%p", Status, hVidPnSourceModeSet));<br>
> break;<br>
> }<br>
><br>
> @@ -1096,7 +1096,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnReleaseSou<wbr>rceModeSet(pEnumCofuncModality<wbr>->hConstrainingVidPn, hVidPnSourceModeSet);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, hVidPnSourceModeSet = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, hVidPnSourceModeSet = 0x%p",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, hVidPnSourceModeSet));<br>
> break;<br>
> }<br>
> @@ -1109,7 +1109,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> &pVidPnSourceModeSetInterface)<wbr>;<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, SourceId = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, SourceId = 0x%x",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, pVidPnPresentPath->VidPnSource<wbr>Id));<br>
> break;<br>
> }<br>
> @@ -1121,7 +1121,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
><br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("AddSingleSourceMode failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("AddSingleSourceMode failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> break;<br>
> }<br>
><br>
> @@ -1129,7 +1129,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnAssignSour<wbr>ceModeSet(pEnumCofuncModality-<wbr>>hConstrainingVidPn, pVidPnPresentPath->VidPnSource<wbr>Id, hVidPnSourceModeSet);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAssignSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, SourceId = 0x%I64x, hVidPnSourceModeSet = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAssignSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, SourceId = 0x%x, hVidPnSourceModeSet = 0x%p",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, pVidPnPresentPath->VidPnSource<wbr>Id, hVidPnSourceModeSet));<br>
> break;<br>
> }<br>
> @@ -1148,7 +1148,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> &pVidPnTargetModeSetInterface)<wbr>;<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, TargetId = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, TargetId = 0x%x",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, pVidPnPresentPath->VidPnTarget<wbr>Id));<br>
> break;<br>
> }<br>
> @@ -1156,7 +1156,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnTargetModeSetInterface-><wbr>pfnAcquirePinnedModeInfo(hVidP<wbr>nTargetModeSet, &pVidPnPinnedTargetModeInfo);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePinnedModeInfo failed with Status = 0x%X, hVidPnTargetModeSet = 0x%I64x", Status, hVidPnTargetModeSet));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePinnedModeInfo failed with Status = 0x%X, hVidPnTargetModeSet = 0x%p", Status, hVidPnTargetModeSet));<br>
> break;<br>
> }<br>
><br>
> @@ -1167,7 +1167,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnReleaseTar<wbr>getModeSet(pEnumCofuncModality<wbr>->hConstrainingVidPn, hVidPnTargetModeSet);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, hVidPnTargetModeSet = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, hVidPnTargetModeSet = 0x%p",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, hVidPnTargetModeSet));<br>
> break;<br>
> }<br>
> @@ -1180,7 +1180,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> &pVidPnTargetModeSetInterface)<wbr>;<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, TargetId = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnCreateNewTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, TargetId = 0x%x",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, pVidPnPresentPath->VidPnTarget<wbr>Id));<br>
> break;<br>
> }<br>
> @@ -1189,7 +1189,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
><br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("AddSingleTargetMode failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("AddSingleTargetMode failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn));<br>
> break;<br>
> }<br>
><br>
> @@ -1197,7 +1197,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnAssignTarg<wbr>etModeSet(pEnumCofuncModality-<wbr>>hConstrainingVidPn, pVidPnPresentPath->VidPnTarget<wbr>Id, hVidPnTargetModeSet);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAssignTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, TargetId = 0x%I64x, hVidPnTargetModeSet = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAssignTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, TargetId = 0x%x, hVidPnTargetModeSet = 0x%p",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, pVidPnPresentPath->VidPnTarget<wbr>Id, hVidPnTargetModeSet));<br>
> break;<br>
> }<br>
> @@ -1209,7 +1209,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnTargetModeSetInterface-><wbr>pfnReleaseModeInfo(hVidPnTarge<wbr>tModeSet, pVidPnPinnedTargetModeInfo);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseModeInfo failed with Status = 0x%X, hVidPnTargetModeSet = 0x%I64x, pVidPnPinnedTargetModeInfo = %p",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseModeInfo failed with Status = 0x%X, hVidPnTargetModeSet = 0x%p, pVidPnPinnedTargetModeInfo = %p",<br>
> Status, hVidPnTargetModeSet, pVidPnPinnedTargetModeInfo));<br>
> break;<br>
> }<br>
> @@ -1219,7 +1219,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnReleaseTar<wbr>getModeSet(pEnumCofuncModality<wbr>->hConstrainingVidPn, hVidPnTargetModeSet);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, hVidPnTargetModeSet = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseTargetModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, hVidPnTargetModeSet = 0x%p",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, hVidPnTargetModeSet));<br>
> break;<br>
> }<br>
> @@ -1233,7 +1233,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnSourceModeSetInterface-><wbr>pfnReleaseModeInfo(hVidPnSourc<wbr>eModeSet, pVidPnPinnedSourceModeInfo);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseModeInfo failed with Status = 0x%X, hVidPnSourceModeSet = 0x%I64x, pVidPnPinnedSourceModeInfo = %p",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseModeInfo failed with Status = 0x%X, hVidPnSourceModeSet = 0x%p, pVidPnPinnedSourceModeInfo = %p",<br>
> Status, hVidPnSourceModeSet, pVidPnPinnedSourceModeInfo));<br>
> break;<br>
> }<br>
> @@ -1246,7 +1246,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnInterface->pfnReleaseSou<wbr>rceModeSet(pEnumCofuncModality<wbr>->hConstrainingVidPn, hVidPnSourceModeSet);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%I64x, hVidPnSourceModeSet = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleaseSourceModeSet failed with Status = 0x%X, hConstrainingVidPn = 0x%p, hVidPnSourceModeSet = 0x%p",<br>
> Status, pEnumCofuncModality->hConstrai<wbr>ningVidPn, hVidPnSourceModeSet));<br>
> break;<br>
> }<br>
> @@ -1296,7 +1296,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnTopologyInterface->pfnUp<wbr>datePathSupportInfo(hVidPnTopo<wbr>logy, &LocalVidPnPresentPath);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnUpdatePathSupportInfo failed with Status = 0x%X, hVidPnTopology = 0x%I64x", Status, hVidPnTopology));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnUpdatePathSupportInfo failed with Status = 0x%X, hVidPnTopology = 0x%p", Status, hVidPnTopology));<br>
> break;<br>
> }<br>
> }<br>
> @@ -1307,7 +1307,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> Status = pVidPnTopologyInterface->pfnAc<wbr>quireNextPathInfo(hVidPnTopolo<wbr>gy, pVidPnPresentPathTemp, &pVidPnPresentPath);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireNextPathInfo failed with Status = 0x%X, hVidPnTopology = 0x%I64x, pVidPnPresentPathTemp = %p", Status, hVidPnTopology, pVidPnPresentPathTemp));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireNextPathInfo failed with Status = 0x%X, hVidPnTopology = 0x%p, pVidPnPresentPathTemp = %p", Status, hVidPnTopology, pVidPnPresentPathTemp));<br>
> break;<br>
> }<br>
><br>
> @@ -1315,7 +1315,7 @@ NTSTATUS QxlDod::EnumVidPnCofuncModalit<wbr>y(_In_ CONST DXGKARG_ENUMVIDPNCOFUNCMODAL<br>
> NTSTATUS TempStatus = pVidPnTopologyInterface->pfnRe<wbr>leasePathInfo(hVidPnTopology, pVidPnPresentPathTemp);<br>
> if (!NT_SUCCESS(TempStatus))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleasePathInfo failed with Status = 0x%X, hVidPnTopology = 0x%I64x, pVidPnPresentPathTemp = %p", TempStatus, hVidPnTopology, pVidPnPresentPathTemp));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleasePathInfo failed with Status = 0x%X, hVidPnTopology = 0x%p, pVidPnPresentPathTemp = %p", TempStatus, hVidPnTopology, pVidPnPresentPathTemp));<br>
> Status = TempStatus;<br>
> break;<br>
> }<br>
> @@ -1438,7 +1438,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = m_DxgkInterface.DxgkCbQueryVid<wbr>PnInterface(pCommitVidPn->hFun<wbr>ctionalVidPn, DXGK_VIDPN_INTERFACE_VERSION_V<wbr>1, &pVidPnInterface);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbQueryVidPnInterface failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pCommitVidPn->hFunctionalVidPn<wbr>));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("DxgkCbQueryVidPnInterface failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pCommitVidPn->hFunctionalVidPn<wbr>));<br>
> goto CommitVidPnExit;<br>
> }<br>
><br>
> @@ -1446,7 +1446,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnInterface->pfnGetTopolog<wbr>y(pCommitVidPn->hFunctionalVid<wbr>Pn, &hVidPnTopology, &pVidPnTopologyInterface);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetTopology failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pCommitVidPn->hFunctionalVidPn<wbr>));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetTopology failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pCommitVidPn->hFunctionalVidPn<wbr>));<br>
> goto CommitVidPnExit;<br>
> }<br>
><br>
> @@ -1454,7 +1454,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnTopologyInterface->pfnGe<wbr>tNumPaths(hVidPnTopology, &NumPaths);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetNumPaths failed with Status = 0x%X, hVidPnTopology = 0x%I64x", Status, hVidPnTopology));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetNumPaths failed with Status = 0x%X, hVidPnTopology = 0x%p", Status, hVidPnTopology));<br>
> goto CommitVidPnExit;<br>
> }<br>
><br>
> @@ -1467,7 +1467,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> &pVidPnSourceModeSetInterface)<wbr>;<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireSourceModeSet failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x, SourceId = 0x%I64x", Status, pCommitVidPn->hFunctionalVidPn<wbr>, pCommitVidPn->AffectedVidPnSou<wbr>rceId));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquireSourceModeSet failed with Status = 0x%X, hFunctionalVidPn = 0x%p, SourceId = 0x%x", Status, pCommitVidPn->hFunctionalVidPn<wbr>, pCommitVidPn->AffectedVidPnSou<wbr>rceId));<br>
> goto CommitVidPnExit;<br>
> }<br>
><br>
> @@ -1475,7 +1475,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnSourceModeSetInterface-><wbr>pfnAcquirePinnedModeInfo(hVidP<wbr>nSourceModeSet, &pPinnedVidPnSourceModeInfo);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePinnedModeInfo failed with Status = 0x%X, hFunctionalVidPn = 0x%I64x", Status, pCommitVidPn->hFunctionalVidPn<wbr>));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePinnedModeInfo failed with Status = 0x%X, hFunctionalVidPn = 0x%p", Status, pCommitVidPn->hFunctionalVidPn<wbr>));<br>
> goto CommitVidPnExit;<br>
> }<br>
> }<br>
> @@ -1513,7 +1513,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnTopologyInterface->pfnGe<wbr>tNumPathsFromSource(hVidPnTopo<wbr>logy, pCommitVidPn->AffectedVidPnSou<wbr>rceId, &NumPathsFromSource);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetNumPathsFromSource failed with Status = 0x%X, hVidPnTopology = 0x%I64x", Status, hVidPnTopology));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnGetNumPathsFromSource failed with Status = 0x%X, hVidPnTopology = 0x%p", Status, hVidPnTopology));<br>
> goto CommitVidPnExit;<br>
> }<br>
><br>
> @@ -1525,7 +1525,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnTopologyInterface->pfnEn<wbr>umPathTargetsFromSource(hVidPn<wbr>Topology, pCommitVidPn->AffectedVidPnSou<wbr>rceId, PathIndex, &TargetId);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnEnumPathTargetsFromSource failed with Status = 0x%X, hVidPnTopology = 0x%I64x, SourceId = 0x%I64x, PathIndex = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnEnumPathTargetsFromSource failed with Status = 0x%X, hVidPnTopology = 0x%p, SourceId = 0x%x, PathIndex = 0x%I64x",<br>
> Status, hVidPnTopology, pCommitVidPn->AffectedVidPnSou<wbr>rceId, PathIndex));<br>
> goto CommitVidPnExit;<br>
> }<br>
> @@ -1534,7 +1534,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnTopologyInterface->pfnAc<wbr>quirePathInfo(hVidPnTopology, pCommitVidPn->AffectedVidPnSou<wbr>rceId, TargetId, &pVidPnPresentPath);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePathInfo failed with Status = 0x%X, hVidPnTopology = 0x%I64x, SourceId = 0x%I64x, TargetId = 0x%I64x",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnAcquirePathInfo failed with Status = 0x%X, hVidPnTopology = 0x%p, SourceId = 0x%x, TargetId = 0x%x",<br>
> Status, hVidPnTopology, pCommitVidPn->AffectedVidPnSou<wbr>rceId, TargetId));<br>
> goto CommitVidPnExit;<br>
> }<br>
> @@ -1554,7 +1554,7 @@ NTSTATUS QxlDod::CommitVidPn(_In_ CONST DXGKARG_COMMITVIDPN* CONST pCommitVidPn)<br>
> Status = pVidPnTopologyInterface->pfnRe<wbr>leasePathInfo(hVidPnTopology, pVidPnPresentPath);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleasePathInfo failed with Status = 0x%X, hVidPnTopoogy = 0x%I64x, pVidPnPresentPath = %p",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("pfnReleasePathInfo failed with Status = 0x%X, hVidPnTopoogy = 0x%p, pVidPnPresentPath = %p",<br>
> Status, hVidPnTopology, pVidPnPresentPath));<br>
> goto CommitVidPnExit;<br>
> }<br>
> @@ -1933,7 +1933,7 @@ NTSTATUS QxlDod::RegisterHWInfo(_In_ ULONG Id)<br>
> Status = IoOpenDeviceRegistryKey(m_pPhy<wbr>sicalDevice, PLUGPLAY_REGKEY_DRIVER, KEY_SET_VALUE, &DevInstRegKeyHandle);<br>
> if (!NT_SUCCESS(Status))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%I64x, Status: 0x%X", m_pPhysicalDevice, Status));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("IoOpenDeviceRegistryKey failed for PDO: 0x%p, Status: 0x%X", m_pPhysicalDevice, Status));<br>
> return Status;<br>
> }<br>
><br>
> @@ -2360,7 +2360,7 @@ VOID BltBits (<br>
> #pragma prefast(suppress: __WARNING_EXCEPTIONEXECUTEHAND<wbr>LER, "try/except is only able to protect against user-mode errors and these are the only errors we try to catch here");<br>
> __except(EXCEPTION_EXECUTE_HAN<wbr>DLER)<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("Either dst (0x%I64x) or src (0x%I64x) bits encountered exception during access.\n", pDst->pBits, pSrc->pBits));<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("Either dst (0x%p) or src (0x%p) bits encountered exception during access.\n", pDst->pBits, pSrc->pBits));<br>
> }<br>
> }<br>
><br>
> @@ -3377,7 +3377,7 @@ NTSTATUS QxlDevice::HWInit(PCM_RESOURCE<wbr>_LIST pResList, DXGK_DISPLAY_INFORMATION*<br>
> m_IoBase = (PUCHAR)(ULONG_PTR)pResDescrip<wbr>tor->u.Port.Start.QuadPart;<br>
> m_IoSize = pResDescriptor->u.Port.Length;<br>
> }<br>
> - DbgPrint(TRACE_LEVEL_VERBOSE, ("io_base [%X-%X]\n",<br>
> + DbgPrint(TRACE_LEVEL_VERBOSE, ("io_base [%p-%p]\n",<br>
> m_IoBase,<br>
> m_IoBase +<br>
> m_IoSize));<br>
> @@ -4084,7 +4084,7 @@ UINT64 QxlDevice::ReleaseOutput(UINT6<wbr>4 output_id)<br>
> UINT64 next;<br>
><br>
> ASSERT(output_id);<br>
> - DbgPrint(TRACE_LEVEL_VERBOSE, ("--->%s 0x%x\n", __FUNCTION__, output));<br>
> + DbgPrint(TRACE_LEVEL_VERBOSE, ("--->%s 0x%p\n", __FUNCTION__, output));<br>
><br>
> for (now = output->resources, end = now + output->num_res; now < end; now++) {<br>
> RELEASE_RES(*now);<br>
> @@ -4157,7 +4157,7 @@ void *QxlDevice::AllocMem(UINT32 mspace_type, size_t size, BOOL force)<br>
><br>
> ASSERT((!ptr && (!force || !m_bActive)) || (ptr >= m_MSInfo[mspace_type].mspace_s<wbr>tart &&<br>
> ptr < m_MSInfo[mspace_type].mspace_e<wbr>nd));<br>
> - DbgPrint(TRACE_LEVEL_VERBOSE, ("<---%s: ptr 0x%x\n", __FUNCTION__, ptr));<br>
> + DbgPrint(TRACE_LEVEL_VERBOSE, ("<---%s: ptr 0x%p\n", __FUNCTION__, ptr));<br>
> return ptr;<br>
> }<br>
><br>
> @@ -4198,7 +4198,7 @@ QXLDrawable *QxlDevice::GetDrawable()<br>
> output->num_res = 0;<br>
> RESOURCE_TYPE(output, RESOURCE_TYPE_DRAWABLE);<br>
> ((QXLDrawable *)output->data)-><a href="http://release_info.id" rel="noreferrer" target="_blank">release_info.<wbr>id</a> = (UINT64)output;<br>
> - DbgPrint(TRACE_LEVEL_VERBOSE, ("<--> %s 0x%x\n", __FUNCTION__, output));<br>
> + DbgPrint(TRACE_LEVEL_VERBOSE, ("<--> %s 0x%p\n", __FUNCTION__, output));<br>
> return(QXLDrawable *)output->data;<br>
> }<br>
><br>
> @@ -4627,7 +4627,7 @@ QXLDrawable *QxlDevice::PrepareBltBits (<br>
> DiscardDrawable(drawable);<br>
> drawable = NULL;<br>
> } else {<br>
> - DbgPrint(TRACE_LEVEL_INFORMATI<wbr>ON, ("%s drawable= %p type = %d, effect = %d Dest right(%d) left(%d) top(%d) bottom(%d) src_bitmap= %p.\n", __FUNCTION__,<br>
> + DbgPrint(TRACE_LEVEL_INFORMATI<wbr>ON, ("%s drawable= %p type = %d, effect = %d Dest right(%d) left(%d) top(%d) bottom(%d) src_bitmap= %I64x.\n", __FUNCTION__,<br>
> drawable, drawable->type, drawable->effect, drawable->surfaces_rects[0].ri<wbr>ght, drawable->surfaces_rects[0].le<wbr>ft,<br>
> drawable->surfaces_rects[0].to<wbr>p, drawable->surfaces_rects[0].bo<wbr>ttom,<br>
> drawable->u.copy.src_bitmap));<br>
> @@ -4881,7 +4881,7 @@ NTSTATUS QxlDevice::SetCustomDisplay(QX<wbr>LEscapeSetCustomDisplay* custom_display)<br>
> UINT bpp = QXL_BPP;<br>
> DbgPrint(TRACE_LEVEL_WARNING, ("%s - %d (%dx%d#%d)\n", __FUNCTION__, m_Id, xres, yres, bpp));<br>
> if (xres < MIN_WIDTH_SIZE || yres < MIN_HEIGHT_SIZE) {<br>
> - DbgPrint(TRACE_LEVEL_VERBOSE, ("%s: (%dx%d#%d) less than (%dxd)\n", __FUNCTION__,<br>
> + DbgPrint(TRACE_LEVEL_VERBOSE, ("%s: (%dx%d#%d) less than (%dx%d)\n", __FUNCTION__,<br>
> xres, yres, bpp, MIN_WIDTH_SIZE, MIN_HEIGHT_SIZE));<br>
> }<br>
> m_CustomMode =(USHORT) ((m_CustomMode == m_ModeCount-1)? m_ModeCount - 2 : m_ModeCount - 1);<br>
> diff --git a/qxldod/driver.cpp b/qxldod/driver.cpp<br>
> index 2736eb4..1ff2abb 100755<br>
> --- a/qxldod/driver.cpp<br>
> +++ b/qxldod/driver.cpp<br>
> @@ -170,7 +170,7 @@ DodAddDevice(<br>
> if ((pPhysicalDeviceObject == NULL) ||<br>
> (ppDeviceContext == NULL))<br>
> {<br>
> - DbgPrint(TRACE_LEVEL_ERROR, ("One of pPhysicalDeviceObject (0x%I64x), ppDeviceContext (0x%I64x) is NULL",<br>
> + DbgPrint(TRACE_LEVEL_ERROR, ("One of pPhysicalDeviceObject (0x%p), ppDeviceContext (0x%p) is NULL",<br>
> pPhysicalDeviceObject, ppDeviceContext));<br>
> return STATUS_INVALID_PARAMETER;<br>
> }<br>
> --<br>
> 2.7.0.windows.1<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Spice-devel mailing list<br>
> <a href="mailto:Spice-devel@lists.freedesktop.org" target="_blank">Spice-devel@lists.freedesktop.<wbr>org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/spice-devel</a><br>
</blockquote></div><br></div></div>