Skip to content

Commit

Permalink
Print correct version number when WPT is installed.
Browse files Browse the repository at this point in the history
  • Loading branch information
randomascii committed Oct 17, 2018
1 parent 61eaa9d commit fcca3d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion UIforETW/UIforETWDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,10 @@ BOOL CUIforETWDlg::OnInitDialog()
const DWORD installResult10 = child.GetExitCode();
if (!installResult10)
{
outputPrintf(L"WPT version 10.0.15063 was installed.\n");
xperfVersion = GetFileVersion(GetXperfPath());
outputPrintf(L"WPT version %llu.%llu.%llu.%llu was installed.\n",
xperfVersion >> 48, (xperfVersion >> 32) & 0xFFFF,
(xperfVersion >> 16) & 0xFFFF, xperfVersion & 0xFFFF);
}
else
{
Expand Down

0 comments on commit fcca3d9

Please sign in to comment.