browser/metro/shell/commandexecutehandler/CEHHelper.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/metro/shell/commandexecutehandler/CEHHelper.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.7 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#undef WINVER
    1.10 +#undef _WIN32_WINNT
    1.11 +#define WINVER 0x602
    1.12 +#define _WIN32_WINNT 0x602
    1.13 +
    1.14 +#include <windows.h>
    1.15 +#include <atlbase.h>
    1.16 +#include <shlobj.h>
    1.17 +
    1.18 +//#define SHOW_CONSOLE 1
    1.19 +extern HANDLE sCon;
    1.20 +
    1.21 +void Log(const wchar_t *fmt, ...);
    1.22 +
    1.23 +#if defined(SHOW_CONSOLE)
    1.24 +void SetupConsole();
    1.25 +#endif
    1.26 +
    1.27 +AHE_TYPE GetLastAHE();
    1.28 +bool SetLastAHE(AHE_TYPE ahe);
    1.29 +bool IsDX10Available();
    1.30 +bool GetDWORDRegKey(LPCWSTR name, DWORD &value);
    1.31 +bool SetDWORDRegKey(LPCWSTR name, DWORD value);
    1.32 +bool IsImmersiveProcessDynamic(HANDLE process);
    1.33 +bool IsMetroProcessRunning();
    1.34 +bool IsDesktopProcessRunning();

mercurial