26#ifndef DBUS_SYSDEPS_WIN_H
27#define DBUS_SYSDEPS_WIN_H
29extern void *_dbus_win_get_dll_hmodule (
void);
30#define WIN32_LEAN_AND_MEAN
33#include "dbus-string.h"
39#define DBUS_CONSOLE_DIR "/var/run/console/"
42void _dbus_win_set_errno (
int err);
44const char* _dbus_win_error_from_last_error (
void);
47void _dbus_win_warn_win_error (
const char *message,
50char * _dbus_win_error_string (
int error_number);
52void _dbus_win_free_error_string (
char *
string);
54extern const char* _dbus_lm_strerror (
int error_number);
57dbus_bool_t _dbus_win_account_to_sid (
const wchar_t *waccount,
62_dbus_win32_sid_to_name_and_domain (
dbus_uid_t uid,
70wchar_t *_dbus_win_utf8_to_utf16 (
const char *str,
72char *_dbus_win_utf16_to_utf8 (
const wchar_t *str,
76void _dbus_win_set_error_from_win_error (
DBusError *error,
int code);
79_dbus_win_sid_to_name_and_domain (
dbus_uid_t uid,
87void _dbus_threads_windows_init_global (
void);
88void _dbus_threads_windows_ensure_ctor_linked (
void);
93HANDLE _dbus_spawn_program (
const char *name,
100void _dbus_win_set_error_from_last_error (
DBusError *error,
102 ...) _DBUS_GNUC_PRINTF (2, 3);
105HANDLE _dbus_win_event_create_inheritable (
DBusError *error);
113dbus_bool_t _dbus_daemon_is_session_bus_address_published (const
char *scope);
114dbus_bool_t _dbus_daemon_publish_session_bus_address (const
char *address,
115 const
char *shm_name);
unsigned long dbus_uid_t
A user ID.
unsigned long dbus_pid_t
A process ID.
dbus_uint32_t dbus_bool_t
A boolean, valid values are TRUE and FALSE.
Object representing an exception.