--- /dev/null
+/* gio-windows-2.0.vapi generated by vapigen, do not modify. */
+
+[CCode (cprefix = "G", lower_case_cprefix = "g_")]
+namespace GLib {
+ [CCode (cheader_filename = "gio/gwin32inputstream.h", type_id = "g_win32_input_stream_get_type ()")]
+ public class Win32InputStream : GLib.InputStream {
+ [CCode (has_construct_function = false, type = "GInputStream*")]
+ public Win32InputStream (void* handle, bool close_handle);
+ public bool get_close_handle ();
+ public void set_close_handle (bool close_handle);
+ public bool close_handle { get; set; }
+ public void* handle { get; construct; }
+ }
+ [CCode (cheader_filename = "gio/gwin32outputstream.h", type_id = "g_win32_output_stream_get_type ()")]
+ public class Win32OutputStream : GLib.OutputStream {
+ [CCode (has_construct_function = false, type = "GOutputStream*")]
+ public Win32OutputStream (void* handle, bool close_handle);
+ public bool get_close_handle ();
+ public void set_close_handle (bool close_handle);
+ public bool close_handle { get; set; }
+ public void* handle { get; construct; }
+ }
+}
}
namespace Win32 {
+ public enum OSType {
+ [CCode (cname = "G_WIN32_OS_ANY")]
+ ANY,
+ [CCode (cname = "G_WIN32_OS_WORKSTATION")]
+ WORKSTATION,
+ [CCode (cname = "G_WIN32_OS_SERVER")]
+ SERVER,
+ }
+ public bool check_windows_version (int major, int minor, int spver, GLib.Win32.OSType os_type);
+
public string error_message (int error);
public string getlocale ();
public string get_package_installation_directory_of_module (void* hmodule);
public bool have_widechar_api ();
[CCode (cname = "G_WIN32_IS_NT_BASED")]
public bool is_nt_based ();
+ [CCode (array_length = false, array_null_terminated = true)]
public string[] get_command_line ();
}