Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: test/win/winrt-app-type-revision/dllmain.cc

Issue 1132743006: Added msvs_application_type_revision for winrt compilation (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Code review updates Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013 Google Inc. All rights reserved. 1 // Copyright (c) 2013 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <windows.h> 5 #include <windows.h>
6 #include <wrl.h> 6 #include <wrl.h>
7 #include <wrl/wrappers/corewrappers.h> 7 #include <wrl/wrappers/corewrappers.h>
8 #include <windows.graphics.display.h> 8 #include <windows.graphics.display.h>
9 9
10 using namespace Microsoft::WRL; 10 using namespace Microsoft::WRL;
(...skipping 10 matching lines...) Expand all
21 if (SUCCEEDED(dp->get_LogicalDpi(&dpi))) { 21 if (SUCCEEDED(dp->get_LogicalDpi(&dpi))) {
22 return true; 22 return true;
23 } 23 }
24 } 24 }
25 return false; 25 return false;
26 } 26 }
27 27
28 BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) { 28 BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
29 return TRUE; 29 return TRUE;
30 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698