This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Unknwn.h> | |
#include <winrt/Windows.System.h> | |
#include <winrt/Windows.UI.Composition.Desktop.h> | |
#include <windows.ui.composition.interop.h> | |
#include <ShellScalingAPI.h> | |
#include <DispatcherQueue.h> | |
extern "C" IMAGE_DOS_HEADER __ImageBase; | |
using namespace winrt; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module; | |
#include <atomic> | |
#include <coroutine> | |
#include <utility> | |
export module Module; | |
namespace winrt::impl | |
{ | |
inline std::pair<int32_t, int32_t> get_apartment_type() noexcept | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct FilenameHash | |
{ | |
using transparent_key_equal = FilenameEqual; | |
std::size_t operator()(std::wstring_view k) const | |
{ | |
std::size_t hash = Util::INITIAL_HASH_VALUE; | |
for (std::size_t i = 0; i < k.length(); ++i) | |
{ | |
if (Util::IsAscii(k[i])) |
OlderNewer