#pragma once #include "app.h" namespace ks { inline constexpr ULONG_PTR ConfigRead = 0x4b530100, ConfigSave = ConfigRead + 1, ConfigLayouts = ConfigRead + 2, ConfigClearHistory = ConfigRead + 3, ConfigCapture = ConfigRead + 4, ConfigLogs = ConfigRead + 5, ConfigReply = ConfigRead + 6; inline constexpr size_t ConfigLimit = 8 * 1024 * 1024; bool configurationPeer(HWND, const wchar_t *filename); void launchConfiguration(App &, bool snippets = false); LRESULT configurationRequest(App &, HWND sender, const COPYDATASTRUCT &); }