1 <!-- ##### SECTION Title ##### -->
2 Windows Compatibility Functions
4 <!-- ##### SECTION Short_Description ##### -->
5 UNIX emulation on Windows.
7 <!-- ##### SECTION Long_Description ##### -->
12 <!-- ##### SECTION See_Also ##### -->
17 <!-- ##### MACRO MAXPATHLEN ##### -->
19 Provided for UNIX emulation on Windows; equivalent to UNIX
20 macro %MAXPATHLEN, which is the maximum length of a filename
21 (including full path).
26 <!-- ##### TYPEDEF pid_t ##### -->
28 Provided for UNIX emulation on Windows; process ID type.
32 <!-- ##### MACRO pipe ##### -->
34 Provided for UNIX emulation on Windows; see documentation for <function>pipe()</function>
41 <!-- ##### FUNCTION g_win32_error_message ##### -->
50 <!-- ##### FUNCTION g_win32_getlocale ##### -->
58 <!-- ##### FUNCTION g_win32_get_package_installation_directory ##### -->
68 <!-- ##### FUNCTION g_win32_get_package_installation_subdirectory ##### -->
79 <!-- ##### FUNCTION g_win32_get_windows_version ##### -->
87 <!-- ##### MACRO G_WIN32_DLLMAIN_FOR_DLL_NAME ##### -->
89 On Windows, this macro defines a <function>DllMain()</function> function
90 that stores the actual DLL name that the code being compiled will be
94 On non-Windows platforms, expands to nothing.
97 @static: empty or "static".
98 @dll_name: the name of the (pointer to the) char array where the DLL name
99 will be stored. If this is used, you must also include
100 <filename>windows.h</filename>. If you need a more complex DLL entry
101 point function, you cannot use this.
104 <!-- ##### MACRO G_WIN32_HAVE_WIDECHAR_API ##### -->
106 On Windows, this macro defines an expression which evaluates to %TRUE
107 if the code is running on a version of Windows where the wide
108 character versions of the Win32 API functions, and the wide chaacter
109 versions of the C library functions work. (They are always present in
110 the DLLs, but don't work on Windows 9x and Me.)
113 On non-Windows platforms, it is not defined.
119 <!-- ##### MACRO G_WIN32_IS_NT_BASED ##### -->
121 On Windows, this macro defines an expression which evaluates to %TRUE
122 if the code is running on an NT-based Windows operating system.
125 On non-Windows platforms, it is not defined.