Textractor_test/include/defs.h

30 lines
646 B
C
Raw Normal View History

#pragma once
2019-03-13 23:54:19 +08:00
// texthook/defs.h
// 8/23/2013 jichi
// Pipes
2018-11-04 17:00:14 +08:00
constexpr auto HOOK_PIPE = L"\\\\.\\pipe\\TEXTRACTOR_HOOK";
constexpr auto HOST_PIPE = L"\\\\.\\pipe\\TEXTRACTOR_HOST";
// Sections
2018-11-04 17:00:14 +08:00
constexpr auto ITH_SECTION_ = L"VNR_SECTION_"; // _%d
// Mutexes
2018-11-04 17:00:14 +08:00
constexpr auto ITH_HOOKMAN_MUTEX_ = L"VNR_HOOKMAN_"; // ITH_HOOKMAN_%d
constexpr auto CONNECTING_MUTEX = L"TEXTRACTOR_CONNECTING_PIPES";
// Events
constexpr auto PIPE_AVAILABLE_EVENT = L"TEXTRACTOR_PIPE_AVAILABLE";
2018-11-04 17:00:14 +08:00
// Files
2019-03-13 23:54:19 +08:00
constexpr auto ITH_DLL = L"texthook"; // .dll but LoadLibrary automatically adds that
2020-03-05 16:51:36 +08:00
constexpr auto& GAME_CONFIG_FILE = L"TextractorConfig.txt";
// EOF