Fix return type of SetProcessDpiAwareness aka SetProcessDpiAwarenessInternal
commit592f8e1b305c8a67abe130210818b78d188df8b3
authorbrucedawson <brucedawson@chromium.org>
Fri, 31 Oct 2014 02:23:24 +0000 (30 19:23 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 31 Oct 2014 02:23:47 +0000 (31 02:23 +0000)
tree727aa7c6e313a419a81136812a6c5db19e88095b
parente6b58b5a41f010118c5caea9ba78bc077a5f551b
Fix return type of SetProcessDpiAwareness aka SetProcessDpiAwarenessInternal

This function (documented as SetProcessDpiAwareness but exported as
SetProcessDpiAwarenessInternal) has a return type of HRESULT but we
declared it as returning BOOL. This triggered the following /analyze
warning:

src\chrome\app\chrome_exe_main_win.cc(104) : warning C6216:
   Compiler-inserted cast between semantically different integral
   types:  a Boolean type to HRESULT.

BUG=427616

Review URL: https://codereview.chromium.org/691903002

Cr-Commit-Position: refs/heads/master@{#302212}
chrome/app/chrome_exe_main_win.cc