9#if defined(CONF_FAMILY_WINDOWS)
30std::string windows_format_system_message(
unsigned long error);
42std::wstring windows_args_to_wide(
const char **arguments,
size_t num_arguments);
57std::wstring windows_utf8_to_wide(
const char *str);
72std::optional<std::string> windows_wide_to_utf8(
const wchar_t *wide_str);
84class CWindowsComLifecycle
87 CWindowsComLifecycle(
bool HasWindow);
88 ~CWindowsComLifecycle();
89 CWindowsComLifecycle(
const CWindowsComLifecycle &) =
delete;
105bool windows_shell_register_protocol(
const char *protocol_name,
const char *executable,
bool *updated);
122bool windows_shell_register_extension(
const char *extension,
const char *description,
const char *executable_name,
const char *executable,
bool *updated);
137bool windows_shell_register_application(
const char *name,
const char *executable,
bool *updated);
153bool windows_shell_unregister_class(
const char *shell_class,
bool *updated);
167bool windows_shell_unregister_application(
const char *executable,
bool *updated);
176void windows_shell_update();