LibGame v0.4.0
The LG Game Engine - Copyright (C) 2024-2026 ETMSoftware
Loading...
Searching...
No Matches
win32_specific.h
1/*
2 * libetm / win32_specific.h - Copyright (C) Emmanuel Thomas-Maurin 2008-2026
4 *
5 * - Win32 specific functions -
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 */
20
21#ifndef INC_LIBETM_WIN32_SPECIFIC_H
22#define INC_LIBETM_WIN32_SPECIFIC_H
23
24#ifdef WIN32_V
25extern FILE *std_out, *std_err;
26
27void libetm_init_win32_stdout_stderr(FILE *, FILE *);
28
29void libetm_init_win32_sockets();
30
31void libetm_cleanup_win32_sockets();
32
33const char *get_appdata_dir();
34
35const char *get_appdata_dir_w();
36
37const char *get_progfiles_dir();
38
39int get_key_value_from_win32registry(const char *, char *);
40
41int save_key_value_into_win32registry(const char *, const char *);
42
43const char *get_default_browser_from_win32registry();
44
45int get_win32_taskbar_height();
46
47/*zboolean is_vista_or_higher();*/
48
49/*const char **find_mac_addresses();*/
50
51const char *win32_error_msg(int);
52#endif
53
54#endif /* INC_LIBETM_WIN32_SPECIFIC_H */