2001-07-19 02:39:09 +02:00
|
|
|
/*
|
|
|
|
* Wine server protocol definitions
|
|
|
|
*
|
|
|
|
* This file is automatically generated; DO NO EDIT!
|
|
|
|
* Edit server/protocol.def instead and re-run tools/make_requests
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_WINE_SERVER_PROTOCOL_H
|
|
|
|
#define __WINE_WINE_SERVER_PROTOCOL_H
|
|
|
|
|
2003-09-06 01:08:26 +02:00
|
|
|
#include <stdarg.h>
|
2001-07-19 02:39:09 +02:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <time.h>
|
2003-09-06 01:08:26 +02:00
|
|
|
|
|
|
|
#include <windef.h>
|
2003-08-28 23:43:34 +02:00
|
|
|
#include <winbase.h>
|
2001-07-19 02:39:09 +02:00
|
|
|
|
2008-12-08 16:04:20 +01:00
|
|
|
typedef unsigned int obj_handle_t;
|
2008-12-08 16:57:38 +01:00
|
|
|
typedef unsigned int user_handle_t;
|
2008-12-30 23:17:52 +01:00
|
|
|
typedef unsigned int atom_t;
|
2006-07-26 10:43:25 +02:00
|
|
|
typedef unsigned int process_id_t;
|
|
|
|
typedef unsigned int thread_id_t;
|
|
|
|
typedef unsigned int data_size_t;
|
2007-04-17 22:06:13 +02:00
|
|
|
typedef unsigned int ioctl_code_t;
|
2008-12-24 12:06:18 +01:00
|
|
|
typedef unsigned __int64 lparam_t;
|
2008-12-17 19:43:40 +01:00
|
|
|
typedef unsigned __int64 apc_param_t;
|
2008-12-17 19:25:09 +01:00
|
|
|
typedef unsigned __int64 mem_size_t;
|
2007-10-10 14:06:25 +02:00
|
|
|
typedef unsigned __int64 file_pos_t;
|
2008-12-29 16:47:51 +01:00
|
|
|
typedef unsigned __int64 client_ptr_t;
|
2009-01-19 14:15:51 +01:00
|
|
|
typedef unsigned __int64 affinity_t;
|
2008-12-29 16:41:44 +01:00
|
|
|
typedef client_ptr_t mod_handle_t;
|
2006-07-26 10:43:25 +02:00
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct request_header
|
|
|
|
{
|
2001-11-30 19:46:42 +01:00
|
|
|
int req;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t request_size;
|
|
|
|
data_size_t reply_size;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct reply_header
|
|
|
|
{
|
2001-11-30 19:46:42 +01:00
|
|
|
unsigned int error;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t reply_size;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct request_max_size
|
|
|
|
{
|
|
|
|
int pad[16];
|
|
|
|
};
|
|
|
|
|
2001-09-24 03:19:59 +02:00
|
|
|
#define FIRST_USER_HANDLE 0x0020
|
|
|
|
#define LAST_USER_HANDLE 0xffef
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
2009-01-02 20:09:25 +01:00
|
|
|
typedef union
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
2009-01-02 20:09:25 +01:00
|
|
|
int code;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
int first;
|
2009-01-02 20:12:46 +01:00
|
|
|
unsigned int exc_code;
|
|
|
|
unsigned int flags;
|
|
|
|
client_ptr_t record;
|
|
|
|
client_ptr_t address;
|
|
|
|
int nb_params;
|
|
|
|
int __pad;
|
|
|
|
client_ptr_t params[15];
|
2009-01-02 20:09:25 +01:00
|
|
|
} exception;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
obj_handle_t handle;
|
|
|
|
client_ptr_t teb;
|
|
|
|
client_ptr_t start;
|
|
|
|
} create_thread;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
obj_handle_t file;
|
|
|
|
obj_handle_t process;
|
|
|
|
obj_handle_t thread;
|
|
|
|
mod_handle_t base;
|
|
|
|
int dbg_offset;
|
|
|
|
int dbg_size;
|
|
|
|
client_ptr_t teb;
|
|
|
|
client_ptr_t start;
|
|
|
|
client_ptr_t name;
|
|
|
|
int unicode;
|
|
|
|
} create_process;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
int exit_code;
|
|
|
|
} exit;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
obj_handle_t handle;
|
|
|
|
mod_handle_t base;
|
|
|
|
int dbg_offset;
|
|
|
|
int dbg_size;
|
|
|
|
client_ptr_t name;
|
|
|
|
int unicode;
|
|
|
|
} load_dll;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
int __pad;
|
|
|
|
mod_handle_t base;
|
|
|
|
} unload_dll;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
int unicode;
|
|
|
|
client_ptr_t string;
|
|
|
|
data_size_t length;
|
|
|
|
} output_string;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
int code;
|
|
|
|
int error;
|
|
|
|
int type;
|
|
|
|
} rip_info;
|
2001-07-19 02:39:09 +02:00
|
|
|
} debug_event_t;
|
|
|
|
|
|
|
|
|
2009-04-03 14:49:10 +02:00
|
|
|
enum cpu_type
|
|
|
|
{
|
|
|
|
CPU_x86, CPU_x86_64, CPU_ALPHA, CPU_POWERPC, CPU_SPARC
|
|
|
|
};
|
|
|
|
typedef int cpu_type_t;
|
|
|
|
|
|
|
|
|
2009-04-08 19:38:02 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
cpu_type_t cpu;
|
|
|
|
unsigned int flags;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct { unsigned int eip, ebp, esp, eflags, cs, ss; } i386_regs;
|
|
|
|
struct { unsigned __int64 rip, rbp, rsp;
|
2009-08-27 16:38:47 +02:00
|
|
|
unsigned int cs, ss, flags; } x86_64_regs;
|
2009-04-08 19:38:02 +02:00
|
|
|
struct { unsigned __int64 fir;
|
|
|
|
unsigned int psr; } alpha_regs;
|
|
|
|
struct { unsigned int iar, msr, ctr, lr, dar, dsisr, trap; } powerpc_regs;
|
|
|
|
struct { unsigned int psr, pc, npc, y, wim, tbr; } sparc_regs;
|
|
|
|
} ctl;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct { unsigned int eax, ebx, ecx, edx, esi, edi; } i386_regs;
|
|
|
|
struct { unsigned __int64 rax,rbx, rcx, rdx, rsi, rdi,
|
|
|
|
r8, r9, r10, r11, r12, r13, r14, r15; } x86_64_regs;
|
|
|
|
struct { unsigned __int64 v0, t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12,
|
|
|
|
s0, s1, s2, s3, s4, s5, s6, a0, a1, a2, a3, a4, a5, at; } alpha_regs;
|
|
|
|
struct { unsigned int gpr[32], cr, xer; } powerpc_regs;
|
|
|
|
struct { unsigned int g[8], o[8], l[8], i[8]; } sparc_regs;
|
|
|
|
} integer;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct { unsigned int ds, es, fs, gs; } i386_regs;
|
|
|
|
struct { unsigned int ds, es, fs, gs; } x86_64_regs;
|
|
|
|
} seg;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct { unsigned int ctrl, status, tag, err_off, err_sel, data_off, data_sel, cr0npx;
|
|
|
|
unsigned char regs[80]; } i386_regs;
|
|
|
|
struct { struct { unsigned __int64 low, high; } fpregs[32]; } x86_64_regs;
|
|
|
|
struct { unsigned __int64 f[32], fpcr, softfpcr; } alpha_regs;
|
|
|
|
struct { double fpr[32], fpscr; } powerpc_regs;
|
|
|
|
} fp;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct { unsigned int dr0, dr1, dr2, dr3, dr6, dr7; } i386_regs;
|
|
|
|
struct { unsigned __int64 dr0, dr1, dr2, dr3, dr6, dr7; } x86_64_regs;
|
|
|
|
struct { unsigned int dr[8]; } powerpc_regs;
|
|
|
|
} debug;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
unsigned char i386_regs[512];
|
|
|
|
} ext;
|
|
|
|
} context_t;
|
|
|
|
|
|
|
|
#define SERVER_CTX_CONTROL 0x01
|
|
|
|
#define SERVER_CTX_INTEGER 0x02
|
|
|
|
#define SERVER_CTX_SEGMENTS 0x04
|
|
|
|
#define SERVER_CTX_FLOATING_POINT 0x08
|
|
|
|
#define SERVER_CTX_DEBUG_REGISTERS 0x10
|
|
|
|
#define SERVER_CTX_EXTENDED_REGISTERS 0x20
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct send_fd
|
|
|
|
{
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t tid;
|
|
|
|
int fd;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct wake_up_reply
|
|
|
|
{
|
2008-12-29 17:19:26 +01:00
|
|
|
client_ptr_t cookie;
|
|
|
|
int signaled;
|
2008-12-30 15:15:06 +01:00
|
|
|
int __pad;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-04-17 20:08:59 +02:00
|
|
|
typedef __int64 timeout_t;
|
|
|
|
#define TIMEOUT_INFINITE (((timeout_t)0x7fffffff) << 32 | 0xffffffff)
|
2003-04-03 00:48:59 +02:00
|
|
|
|
|
|
|
|
2009-08-20 20:05:21 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
unsigned int debug_flags;
|
|
|
|
unsigned int console_flags;
|
|
|
|
obj_handle_t console;
|
|
|
|
obj_handle_t hstdin;
|
|
|
|
obj_handle_t hstdout;
|
|
|
|
obj_handle_t hstderr;
|
|
|
|
unsigned int x;
|
|
|
|
unsigned int y;
|
|
|
|
unsigned int xsize;
|
|
|
|
unsigned int ysize;
|
|
|
|
unsigned int xchars;
|
|
|
|
unsigned int ychars;
|
|
|
|
unsigned int attribute;
|
|
|
|
unsigned int flags;
|
|
|
|
unsigned int show;
|
|
|
|
data_size_t curdir_len;
|
|
|
|
data_size_t dllpath_len;
|
|
|
|
data_size_t imagepath_len;
|
|
|
|
data_size_t cmdline_len;
|
|
|
|
data_size_t title_len;
|
|
|
|
data_size_t desktop_len;
|
|
|
|
data_size_t shellinfo_len;
|
|
|
|
data_size_t runtime_len;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} startup_info_t;
|
|
|
|
|
|
|
|
|
2001-10-12 21:10:26 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
atom_t atom;
|
2008-12-30 23:17:52 +01:00
|
|
|
int string;
|
2008-12-10 16:21:32 +01:00
|
|
|
lparam_t data;
|
2001-10-12 21:10:26 +02:00
|
|
|
} property_data_t;
|
|
|
|
|
|
|
|
|
2001-10-16 23:55:37 +02:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
int left;
|
|
|
|
int top;
|
|
|
|
int right;
|
|
|
|
int bottom;
|
|
|
|
} rectangle_t;
|
|
|
|
|
|
|
|
|
2007-03-20 20:21:12 +01:00
|
|
|
typedef struct
|
|
|
|
{
|
2008-12-26 12:17:20 +01:00
|
|
|
obj_handle_t handle;
|
|
|
|
obj_handle_t event;
|
2008-12-30 21:09:41 +01:00
|
|
|
client_ptr_t callback;
|
|
|
|
client_ptr_t iosb;
|
|
|
|
client_ptr_t arg;
|
2008-12-15 13:29:38 +01:00
|
|
|
apc_param_t cvalue;
|
2007-03-20 20:21:12 +01:00
|
|
|
} async_data_t;
|
|
|
|
|
|
|
|
|
2006-10-04 16:29:45 +02:00
|
|
|
|
2008-12-24 11:59:09 +01:00
|
|
|
struct hardware_msg_data
|
|
|
|
{
|
|
|
|
lparam_t info;
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
unsigned int hw_id;
|
2008-12-31 15:14:29 +01:00
|
|
|
int __pad;
|
2008-12-24 11:59:09 +01:00
|
|
|
};
|
|
|
|
|
2006-10-04 16:29:45 +02:00
|
|
|
struct callback_msg_data
|
|
|
|
{
|
2008-12-30 14:02:07 +01:00
|
|
|
client_ptr_t callback;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t data;
|
|
|
|
lparam_t result;
|
2006-10-04 16:29:45 +02:00
|
|
|
};
|
|
|
|
|
2006-10-04 16:04:53 +02:00
|
|
|
struct winevent_msg_data
|
|
|
|
{
|
|
|
|
user_handle_t hook;
|
|
|
|
thread_id_t tid;
|
2008-12-29 17:35:35 +01:00
|
|
|
client_ptr_t hook_proc;
|
2006-10-04 16:04:53 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef union
|
|
|
|
{
|
|
|
|
unsigned char bytes[1];
|
2009-01-15 12:50:59 +01:00
|
|
|
struct hardware_msg_data hardware;
|
2006-10-04 16:29:45 +02:00
|
|
|
struct callback_msg_data callback;
|
2006-10-04 16:04:53 +02:00
|
|
|
struct winevent_msg_data winevent;
|
|
|
|
} message_data_t;
|
|
|
|
|
|
|
|
|
2001-11-30 19:46:42 +01:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
WCHAR ch;
|
|
|
|
unsigned short attr;
|
|
|
|
} char_info_t;
|
|
|
|
|
2007-03-07 01:33:26 +01:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
unsigned int low_part;
|
|
|
|
int high_part;
|
|
|
|
} luid_t;
|
|
|
|
|
2005-05-23 18:33:00 +02:00
|
|
|
#define MAX_ACL_LEN 65535
|
|
|
|
|
|
|
|
struct security_descriptor
|
|
|
|
{
|
|
|
|
unsigned int control;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t owner_len;
|
|
|
|
data_size_t group_len;
|
|
|
|
data_size_t sacl_len;
|
|
|
|
data_size_t dacl_len;
|
2005-05-23 18:33:00 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-10-24 17:04:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct object_attributes
|
|
|
|
{
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
data_size_t sd_len;
|
2007-10-30 15:32:40 +01:00
|
|
|
data_size_t name_len;
|
2007-10-24 17:04:42 +02:00
|
|
|
|
|
|
|
|
2005-05-23 18:33:00 +02:00
|
|
|
};
|
|
|
|
|
2006-05-13 17:58:19 +02:00
|
|
|
struct token_groups
|
|
|
|
{
|
|
|
|
unsigned int count;
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2007-01-15 22:24:40 +01:00
|
|
|
enum apc_type
|
|
|
|
{
|
|
|
|
APC_NONE,
|
|
|
|
APC_USER,
|
|
|
|
APC_TIMER,
|
|
|
|
APC_ASYNC_IO,
|
|
|
|
APC_VIRTUAL_ALLOC,
|
2007-01-15 22:28:42 +01:00
|
|
|
APC_VIRTUAL_FREE,
|
2007-01-15 22:30:04 +01:00
|
|
|
APC_VIRTUAL_QUERY,
|
2007-01-15 22:31:07 +01:00
|
|
|
APC_VIRTUAL_PROTECT,
|
2007-01-16 09:50:08 +01:00
|
|
|
APC_VIRTUAL_FLUSH,
|
|
|
|
APC_VIRTUAL_LOCK,
|
2007-01-18 15:02:55 +01:00
|
|
|
APC_VIRTUAL_UNLOCK,
|
2007-01-18 15:17:51 +01:00
|
|
|
APC_MAP_VIEW,
|
|
|
|
APC_UNMAP_VIEW,
|
2007-01-18 15:02:55 +01:00
|
|
|
APC_CREATE_THREAD
|
2007-01-15 22:24:40 +01:00
|
|
|
};
|
2007-01-04 13:40:09 +01:00
|
|
|
|
|
|
|
typedef union
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 21:09:41 +01:00
|
|
|
int __pad;
|
|
|
|
client_ptr_t func;
|
2008-12-15 13:29:38 +01:00
|
|
|
apc_param_t args[3];
|
2007-01-04 13:40:09 +01:00
|
|
|
} user;
|
|
|
|
struct
|
|
|
|
{
|
2008-12-29 17:43:01 +01:00
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
int __pad;
|
2008-12-29 17:43:01 +01:00
|
|
|
client_ptr_t func;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t time;
|
2008-12-29 17:43:01 +01:00
|
|
|
client_ptr_t arg;
|
2007-01-04 13:40:09 +01:00
|
|
|
} timer;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 21:09:41 +01:00
|
|
|
client_ptr_t func;
|
|
|
|
client_ptr_t user;
|
|
|
|
client_ptr_t sb;
|
2007-01-04 13:40:09 +01:00
|
|
|
} async_io;
|
2007-01-15 22:24:40 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
unsigned int op_type;
|
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-15 22:24:40 +01:00
|
|
|
unsigned int zero_bits;
|
|
|
|
unsigned int prot;
|
|
|
|
} virtual_alloc;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int op_type;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
|
|
|
mem_size_t size;
|
2007-01-15 22:24:40 +01:00
|
|
|
} virtual_free;
|
2007-01-15 22:28:42 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
int __pad;
|
|
|
|
client_ptr_t addr;
|
2007-01-15 22:28:42 +01:00
|
|
|
} virtual_query;
|
2007-01-15 22:30:04 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int prot;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
|
|
|
mem_size_t size;
|
2007-01-15 22:30:04 +01:00
|
|
|
} virtual_protect;
|
2007-01-15 22:31:07 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
int __pad;
|
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-15 22:31:07 +01:00
|
|
|
} virtual_flush;
|
2007-01-16 09:50:08 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
int __pad;
|
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-16 09:50:08 +01:00
|
|
|
} virtual_lock;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
int __pad;
|
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-16 09:50:08 +01:00
|
|
|
} virtual_unlock;
|
2007-01-18 15:02:55 +01:00
|
|
|
struct
|
2007-01-18 15:17:51 +01:00
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
obj_handle_t handle;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-10-10 14:06:25 +02:00
|
|
|
file_pos_t offset;
|
2007-01-18 15:17:51 +01:00
|
|
|
unsigned int alloc_type;
|
2008-12-30 15:22:45 +01:00
|
|
|
unsigned short zero_bits;
|
|
|
|
unsigned short prot;
|
2007-01-18 15:17:51 +01:00
|
|
|
} map_view;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:05:38 +01:00
|
|
|
int __pad;
|
|
|
|
client_ptr_t addr;
|
2007-01-18 15:17:51 +01:00
|
|
|
} unmap_view;
|
|
|
|
struct
|
2007-01-18 15:02:55 +01:00
|
|
|
{
|
|
|
|
enum apc_type type;
|
2008-12-30 15:30:11 +01:00
|
|
|
int suspend;
|
|
|
|
client_ptr_t func;
|
|
|
|
client_ptr_t arg;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t reserve;
|
|
|
|
mem_size_t commit;
|
2007-01-18 15:02:55 +01:00
|
|
|
} create_thread;
|
2007-01-04 13:40:09 +01:00
|
|
|
} apc_call_t;
|
|
|
|
|
2007-01-15 22:24:40 +01:00
|
|
|
typedef union
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
struct
|
2007-03-20 19:27:10 +01:00
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 21:09:41 +01:00
|
|
|
client_ptr_t apc;
|
2008-12-15 13:30:25 +01:00
|
|
|
unsigned int total;
|
2007-03-20 19:27:10 +01:00
|
|
|
} async_io;
|
|
|
|
struct
|
2007-01-15 22:24:40 +01:00
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-15 22:24:40 +01:00
|
|
|
} virtual_alloc;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-15 22:24:40 +01:00
|
|
|
} virtual_free;
|
2007-01-15 22:28:42 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t base;
|
|
|
|
client_ptr_t alloc_base;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2008-12-30 15:22:45 +01:00
|
|
|
unsigned short state;
|
|
|
|
unsigned short prot;
|
|
|
|
unsigned short alloc_prot;
|
|
|
|
unsigned short alloc_type;
|
2007-01-15 22:28:42 +01:00
|
|
|
} virtual_query;
|
2007-01-15 22:30:04 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-15 22:30:04 +01:00
|
|
|
unsigned int prot;
|
|
|
|
} virtual_protect;
|
2007-01-15 22:31:07 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-15 22:31:07 +01:00
|
|
|
} virtual_flush;
|
2007-01-16 09:50:08 +01:00
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-16 09:50:08 +01:00
|
|
|
} virtual_lock;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-16 09:50:08 +01:00
|
|
|
} virtual_unlock;
|
2007-01-18 15:02:55 +01:00
|
|
|
struct
|
2007-01-18 15:17:51 +01:00
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
2008-12-30 15:05:38 +01:00
|
|
|
client_ptr_t addr;
|
2008-12-17 19:24:33 +01:00
|
|
|
mem_size_t size;
|
2007-01-18 15:17:51 +01:00
|
|
|
} map_view;
|
|
|
|
struct
|
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
|
|
|
} unmap_view;
|
|
|
|
struct
|
2007-01-18 15:02:55 +01:00
|
|
|
{
|
|
|
|
enum apc_type type;
|
|
|
|
unsigned int status;
|
|
|
|
thread_id_t tid;
|
|
|
|
obj_handle_t handle;
|
|
|
|
} create_thread;
|
2007-01-15 22:24:40 +01:00
|
|
|
} apc_result_t;
|
|
|
|
|
2001-11-30 19:46:42 +01:00
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct new_process_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int inherit_all;
|
2005-07-12 22:27:09 +02:00
|
|
|
unsigned int create_flags;
|
2006-07-19 14:00:10 +02:00
|
|
|
int socket_fd;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t exe_file;
|
2006-07-19 14:00:10 +02:00
|
|
|
unsigned int process_access;
|
|
|
|
unsigned int process_attr;
|
|
|
|
unsigned int thread_access;
|
|
|
|
unsigned int thread_attr;
|
2009-08-20 20:05:21 +02:00
|
|
|
data_size_t info_size;
|
|
|
|
/* VARARG(info,startup_info,info_size); */
|
2004-07-16 05:54:35 +02:00
|
|
|
/* VARARG(env,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct new_process_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t info;
|
2006-07-19 14:00:10 +02:00
|
|
|
process_id_t pid;
|
|
|
|
obj_handle_t phandle;
|
|
|
|
thread_id_t tid;
|
|
|
|
obj_handle_t thandle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_new_process_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t info;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_new_process_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-24 23:20:27 +02:00
|
|
|
int success;
|
2006-07-19 14:00:10 +02:00
|
|
|
int exit_code;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct new_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-12-09 12:13:11 +01:00
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
int suspend;
|
|
|
|
int request_fd;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct new_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t tid;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-03-29 19:28:56 +01:00
|
|
|
struct get_startup_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
};
|
|
|
|
struct get_startup_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2005-07-12 22:27:09 +02:00
|
|
|
obj_handle_t exe_file;
|
2009-08-20 20:05:21 +02:00
|
|
|
data_size_t info_size;
|
|
|
|
/* VARARG(info,startup_info,info_size); */
|
2004-07-16 05:54:35 +02:00
|
|
|
/* VARARG(env,unicode_str); */
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct init_process_done_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2008-12-29 16:47:51 +01:00
|
|
|
int gui;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t module;
|
2008-12-30 22:47:48 +01:00
|
|
|
client_ptr_t ldt_copy;
|
2008-12-30 22:56:15 +01:00
|
|
|
client_ptr_t entry;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct init_process_done_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct init_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int unix_pid;
|
2003-03-22 22:00:09 +01:00
|
|
|
int unix_tid;
|
2006-10-04 21:41:32 +02:00
|
|
|
int debug_level;
|
2008-12-30 23:02:33 +01:00
|
|
|
client_ptr_t teb;
|
2008-12-30 22:56:15 +01:00
|
|
|
client_ptr_t entry;
|
2001-07-19 02:39:09 +02:00
|
|
|
int reply_fd;
|
|
|
|
int wait_fd;
|
2009-04-03 14:49:10 +02:00
|
|
|
cpu_type_t cpu;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct init_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t server_start;
|
2008-12-31 15:14:29 +01:00
|
|
|
data_size_t info_size;
|
2001-07-19 02:39:09 +02:00
|
|
|
int version;
|
2009-04-03 14:59:12 +02:00
|
|
|
unsigned int all_cpus;
|
|
|
|
char __pad_36[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct terminate_process_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int exit_code;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct terminate_process_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int self;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct terminate_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int exit_code;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct terminate_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int self;
|
|
|
|
int last;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_process_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_process_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
2004-06-14 19:02:00 +02:00
|
|
|
process_id_t ppid;
|
2009-01-19 14:15:51 +01:00
|
|
|
affinity_t affinity;
|
2008-12-30 23:02:33 +01:00
|
|
|
client_ptr_t peb;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t start_time;
|
|
|
|
timeout_t end_time;
|
2008-12-30 23:02:33 +01:00
|
|
|
int exit_code;
|
2009-01-19 14:15:51 +01:00
|
|
|
int priority;
|
2009-07-07 11:37:47 +02:00
|
|
|
cpu_type_t cpu;
|
|
|
|
char __pad_60[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_process_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int mask;
|
|
|
|
int priority;
|
2009-01-19 14:15:51 +01:00
|
|
|
affinity_t affinity;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_process_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
#define SET_PROCESS_INFO_PRIORITY 0x01
|
|
|
|
#define SET_PROCESS_INFO_AFFINITY 0x02
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_thread_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t tid_in;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_thread_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2003-07-09 04:57:57 +02:00
|
|
|
process_id_t pid;
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t tid;
|
2008-12-30 23:02:33 +01:00
|
|
|
client_ptr_t teb;
|
2009-01-19 14:15:51 +01:00
|
|
|
affinity_t affinity;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t creation_time;
|
|
|
|
timeout_t exit_time;
|
2008-12-30 23:02:33 +01:00
|
|
|
int exit_code;
|
2009-01-19 14:15:51 +01:00
|
|
|
int priority;
|
2006-10-01 08:17:27 +02:00
|
|
|
int last;
|
2009-01-19 14:15:51 +01:00
|
|
|
char __pad_60[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_thread_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int mask;
|
|
|
|
int priority;
|
2009-01-19 14:15:51 +01:00
|
|
|
affinity_t affinity;
|
2005-06-20 15:18:38 +02:00
|
|
|
obj_handle_t token;
|
2009-01-19 14:15:51 +01:00
|
|
|
char __pad_36[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_thread_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
#define SET_THREAD_INFO_PRIORITY 0x01
|
|
|
|
#define SET_THREAD_INFO_AFFINITY 0x02
|
2005-06-20 15:18:38 +02:00
|
|
|
#define SET_THREAD_INFO_TOKEN 0x04
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-01-09 01:01:28 +01:00
|
|
|
struct get_dll_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t base_address;
|
2003-01-09 01:01:28 +01:00
|
|
|
};
|
|
|
|
struct get_dll_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-30 22:56:15 +01:00
|
|
|
client_ptr_t entry_point;
|
2008-12-09 11:50:05 +01:00
|
|
|
data_size_t size;
|
2007-11-20 10:30:50 +01:00
|
|
|
data_size_t filename_len;
|
2003-09-30 03:04:19 +02:00
|
|
|
/* VARARG(filename,unicode_str); */
|
2003-01-09 01:01:28 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct suspend_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct suspend_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int count;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct resume_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct resume_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int count;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct load_dll_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t base;
|
2008-12-29 17:10:11 +01:00
|
|
|
client_ptr_t name;
|
2008-12-09 11:50:05 +01:00
|
|
|
data_size_t size;
|
2001-07-19 02:39:09 +02:00
|
|
|
int dbg_offset;
|
|
|
|
int dbg_size;
|
2003-09-30 03:04:19 +02:00
|
|
|
/* VARARG(filename,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_44[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct load_dll_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct unload_dll_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t base;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct unload_dll_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct queue_apc_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2008-12-26 12:19:41 +01:00
|
|
|
obj_handle_t handle;
|
2007-01-04 13:40:09 +01:00
|
|
|
apc_call_t call;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct queue_apc_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-01-15 22:26:32 +01:00
|
|
|
obj_handle_t handle;
|
2007-01-18 15:41:05 +01:00
|
|
|
int self;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-15 22:24:40 +01:00
|
|
|
struct get_apc_result_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_apc_result_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
apc_result_t result;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct close_handle_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct close_handle_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_handle_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int flags;
|
|
|
|
int mask;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct set_handle_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int old_flags;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-08-23 20:43:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct dup_handle_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t src_process;
|
|
|
|
obj_handle_t src_handle;
|
|
|
|
obj_handle_t dst_process;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int access;
|
2005-12-09 12:21:35 +01:00
|
|
|
unsigned int attributes;
|
|
|
|
unsigned int options;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct dup_handle_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2007-01-18 12:18:51 +01:00
|
|
|
int self;
|
2006-11-02 20:48:19 +01:00
|
|
|
int closed;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
#define DUP_HANDLE_CLOSE_SOURCE DUPLICATE_CLOSE_SOURCE
|
|
|
|
#define DUP_HANDLE_SAME_ACCESS DUPLICATE_SAME_ACCESS
|
|
|
|
#define DUP_HANDLE_MAKE_GLOBAL 0x80000000
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_process_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int access;
|
2005-12-09 12:13:11 +01:00
|
|
|
unsigned int attributes;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_process_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-04-02 02:49:05 +02:00
|
|
|
struct open_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t tid;
|
2002-04-02 02:49:05 +02:00
|
|
|
unsigned int access;
|
2005-12-09 12:13:11 +01:00
|
|
|
unsigned int attributes;
|
2002-04-02 02:49:05 +02:00
|
|
|
};
|
|
|
|
struct open_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2002-04-02 02:49:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct select_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int flags;
|
2008-12-29 17:19:26 +01:00
|
|
|
client_ptr_t cookie;
|
2005-04-24 19:35:52 +02:00
|
|
|
obj_handle_t signal;
|
2007-07-16 16:14:45 +02:00
|
|
|
obj_handle_t prev_apc;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t timeout;
|
2007-07-16 16:14:45 +02:00
|
|
|
/* VARARG(result,apc_result); */
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(handles,handles); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct select_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t timeout;
|
2007-07-16 16:14:45 +02:00
|
|
|
apc_call_t call;
|
2008-12-30 15:05:38 +01:00
|
|
|
obj_handle_t apc_handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_60[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
#define SELECT_ALL 1
|
|
|
|
#define SELECT_ALERTABLE 2
|
|
|
|
#define SELECT_INTERRUPTIBLE 4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2004-12-02 19:05:37 +01:00
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
int manual_reset;
|
|
|
|
int initial_state;
|
2007-10-24 17:04:42 +02:00
|
|
|
/* VARARG(objattr,object_attributes); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct event_op_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int op;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct event_op_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
enum event_op { PULSE_EVENT, SET_EVENT, RESET_EVENT };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-02 15:55:48 +01:00
|
|
|
obj_handle_t rootdir;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_mutex_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2004-12-02 19:05:37 +01:00
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
int owned;
|
2007-10-25 16:43:05 +02:00
|
|
|
/* VARARG(objattr,object_attributes); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_mutex_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct release_mutex_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct release_mutex_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2004-12-02 19:05:37 +01:00
|
|
|
unsigned int prev_count;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_mutex_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-02 15:55:48 +01:00
|
|
|
obj_handle_t rootdir;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_mutex_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_semaphore_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2004-12-02 19:05:37 +01:00
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int initial;
|
|
|
|
unsigned int max;
|
2007-10-25 16:42:53 +02:00
|
|
|
/* VARARG(objattr,object_attributes); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_semaphore_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct release_semaphore_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int count;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct release_semaphore_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int prev_count;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_semaphore_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-02 16:01:17 +01:00
|
|
|
obj_handle_t rootdir;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_semaphore_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_file_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-12-09 12:00:48 +01:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int sharing;
|
|
|
|
int create;
|
2004-03-12 02:56:49 +01:00
|
|
|
unsigned int options;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int attrs;
|
2007-10-30 15:32:40 +01:00
|
|
|
/* VARARG(objattr,object_attributes); */
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(filename,string); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_file_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-12-12 14:27:45 +01:00
|
|
|
struct open_file_object_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
unsigned int sharing;
|
2007-03-22 11:52:40 +01:00
|
|
|
unsigned int options;
|
2005-12-12 14:27:45 +01:00
|
|
|
/* VARARG(filename,unicode_str); */
|
|
|
|
};
|
|
|
|
struct open_file_object_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-12-12 14:27:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct alloc_file_handle_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-12-09 12:00:48 +01:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
int fd;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct alloc_file_handle_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_handle_fd_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_handle_fd_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-11-20 14:14:04 +01:00
|
|
|
int type;
|
2007-04-10 22:32:46 +02:00
|
|
|
int removable;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int options;
|
2002-01-09 21:30:51 +01:00
|
|
|
};
|
2006-11-20 14:14:04 +01:00
|
|
|
enum server_fd_type
|
|
|
|
{
|
|
|
|
FD_TYPE_INVALID,
|
|
|
|
FD_TYPE_FILE,
|
|
|
|
FD_TYPE_DIR,
|
|
|
|
FD_TYPE_SOCKET,
|
|
|
|
FD_TYPE_SERIAL,
|
|
|
|
FD_TYPE_PIPE,
|
|
|
|
FD_TYPE_MAILSLOT,
|
2007-04-23 15:13:22 +02:00
|
|
|
FD_TYPE_CHAR,
|
2006-11-20 14:14:04 +01:00
|
|
|
FD_TYPE_DEVICE,
|
|
|
|
FD_TYPE_NB_TYPES
|
|
|
|
};
|
2007-04-10 22:32:46 +02:00
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
struct flush_file_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct flush_file_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2003-05-15 06:22:45 +02:00
|
|
|
obj_handle_t event;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct lock_file_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2007-10-10 14:06:25 +02:00
|
|
|
file_pos_t offset;
|
|
|
|
file_pos_t count;
|
2003-03-18 06:04:33 +01:00
|
|
|
int shared;
|
|
|
|
int wait;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct lock_file_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2003-03-18 06:04:33 +01:00
|
|
|
obj_handle_t handle;
|
|
|
|
int overlapped;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct unlock_file_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2007-10-10 14:06:25 +02:00
|
|
|
file_pos_t offset;
|
|
|
|
file_pos_t count;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct unlock_file_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_socket_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-12-09 11:58:55 +01:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
int family;
|
|
|
|
int type;
|
|
|
|
int protocol;
|
2002-01-09 22:16:24 +01:00
|
|
|
unsigned int flags;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_socket_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct accept_socket_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t lhandle;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int access;
|
2005-12-09 11:58:55 +01:00
|
|
|
unsigned int attributes;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct accept_socket_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_socket_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2002-03-23 21:43:52 +01:00
|
|
|
unsigned int mask;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t event;
|
2002-03-23 21:43:52 +01:00
|
|
|
user_handle_t window;
|
|
|
|
unsigned int msg;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_socket_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_socket_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int service;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t c_event;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_socket_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int mask;
|
|
|
|
unsigned int pmask;
|
|
|
|
unsigned int state;
|
|
|
|
/* VARARG(errors,ints); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct enable_socket_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int mask;
|
|
|
|
unsigned int sstate;
|
|
|
|
unsigned int cstate;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct enable_socket_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
2002-04-24 00:03:42 +02:00
|
|
|
struct set_socket_deferred_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
|
|
|
obj_handle_t deferred;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2002-04-24 00:03:42 +02:00
|
|
|
};
|
|
|
|
struct set_socket_deferred_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
struct alloc_console_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-12-09 12:05:20 +01:00
|
|
|
unsigned int attributes;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct alloc_console_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle_in;
|
|
|
|
obj_handle_t event;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct free_console_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct free_console_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
#define CONSOLE_RENDERER_NONE_EVENT 0x00
|
|
|
|
#define CONSOLE_RENDERER_TITLE_EVENT 0x01
|
|
|
|
#define CONSOLE_RENDERER_ACTIVE_SB_EVENT 0x02
|
|
|
|
#define CONSOLE_RENDERER_SB_RESIZE_EVENT 0x03
|
|
|
|
#define CONSOLE_RENDERER_UPDATE_EVENT 0x04
|
|
|
|
#define CONSOLE_RENDERER_CURSOR_POS_EVENT 0x05
|
|
|
|
#define CONSOLE_RENDERER_CURSOR_GEOM_EVENT 0x06
|
|
|
|
#define CONSOLE_RENDERER_DISPLAY_EVENT 0x07
|
|
|
|
#define CONSOLE_RENDERER_EXIT_EVENT 0x08
|
|
|
|
struct console_renderer_event
|
|
|
|
{
|
|
|
|
short event;
|
|
|
|
union
|
|
|
|
{
|
|
|
|
struct update
|
|
|
|
{
|
|
|
|
short top;
|
|
|
|
short bottom;
|
|
|
|
} update;
|
|
|
|
struct resize
|
|
|
|
{
|
|
|
|
short width;
|
|
|
|
short height;
|
|
|
|
} resize;
|
|
|
|
struct cursor_pos
|
|
|
|
{
|
|
|
|
short x;
|
|
|
|
short y;
|
|
|
|
} cursor_pos;
|
|
|
|
struct cursor_geom
|
|
|
|
{
|
|
|
|
short visible;
|
|
|
|
short size;
|
|
|
|
} cursor_geom;
|
|
|
|
struct display
|
|
|
|
{
|
|
|
|
short left;
|
|
|
|
short top;
|
|
|
|
short width;
|
|
|
|
short height;
|
|
|
|
} display;
|
|
|
|
} u;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct get_console_renderer_events_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_console_renderer_events_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(data,bytes); */
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
struct open_console_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2006-06-07 11:33:46 +02:00
|
|
|
obj_handle_t from;
|
2001-11-24 00:04:58 +01:00
|
|
|
|
|
|
|
unsigned int access;
|
2005-12-09 12:05:20 +01:00
|
|
|
unsigned int attributes;
|
2001-11-24 00:04:58 +01:00
|
|
|
int share;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_console_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-06-21 04:07:10 +02:00
|
|
|
struct get_console_wait_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
};
|
|
|
|
struct get_console_wait_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2003-06-21 04:07:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct get_console_mode_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_console_mode_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int mode;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_console_mode_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int mode;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_console_mode_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
struct set_console_input_info_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2007-08-23 17:17:17 +02:00
|
|
|
obj_handle_t handle;
|
|
|
|
int mask;
|
|
|
|
obj_handle_t active_sb;
|
|
|
|
int history_mode;
|
|
|
|
int history_size;
|
|
|
|
int edition_mode;
|
|
|
|
int input_cp;
|
|
|
|
int output_cp;
|
|
|
|
user_handle_t win;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(title,unicode_str); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_console_input_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-11-24 00:04:58 +01:00
|
|
|
#define SET_CONSOLE_INPUT_INFO_ACTIVE_SB 0x01
|
|
|
|
#define SET_CONSOLE_INPUT_INFO_TITLE 0x02
|
|
|
|
#define SET_CONSOLE_INPUT_INFO_HISTORY_MODE 0x04
|
|
|
|
#define SET_CONSOLE_INPUT_INFO_HISTORY_SIZE 0x08
|
2003-01-09 07:01:32 +01:00
|
|
|
#define SET_CONSOLE_INPUT_INFO_EDITION_MODE 0x10
|
2007-05-10 19:19:47 +02:00
|
|
|
#define SET_CONSOLE_INPUT_INFO_INPUT_CODEPAGE 0x20
|
|
|
|
#define SET_CONSOLE_INPUT_INFO_OUTPUT_CODEPAGE 0x40
|
2007-08-23 17:17:17 +02:00
|
|
|
#define SET_CONSOLE_INPUT_INFO_WIN 0x80
|
2001-11-24 00:04:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_console_input_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2007-08-23 17:17:17 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_console_input_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-08-23 17:17:17 +02:00
|
|
|
int history_mode;
|
|
|
|
int history_size;
|
|
|
|
int history_index;
|
|
|
|
int edition_mode;
|
|
|
|
int input_cp;
|
|
|
|
int output_cp;
|
|
|
|
user_handle_t win;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(title,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_36[4];
|
2001-11-24 00:04:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct append_console_input_history_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(line,unicode_str); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct append_console_input_history_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-11-24 00:04:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_console_input_history_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-24 00:04:58 +01:00
|
|
|
int index;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_console_input_history_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int total;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(line,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-24 00:04:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_console_output_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle_in;
|
2005-12-09 12:05:20 +01:00
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
unsigned int share;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_console_output_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle_out;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
|
|
|
|
struct set_console_output_info_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-24 00:04:58 +01:00
|
|
|
int mask;
|
|
|
|
short int cursor_size;
|
|
|
|
short int cursor_visible;
|
|
|
|
short int cursor_x;
|
|
|
|
short int cursor_y;
|
|
|
|
short int width;
|
|
|
|
short int height;
|
|
|
|
short int attr;
|
|
|
|
short int win_left;
|
|
|
|
short int win_top;
|
|
|
|
short int win_right;
|
|
|
|
short int win_bottom;
|
|
|
|
short int max_width;
|
|
|
|
short int max_height;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_46[2];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_console_output_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-11-24 00:04:58 +01:00
|
|
|
#define SET_CONSOLE_OUTPUT_INFO_CURSOR_GEOM 0x01
|
|
|
|
#define SET_CONSOLE_OUTPUT_INFO_CURSOR_POS 0x02
|
|
|
|
#define SET_CONSOLE_OUTPUT_INFO_SIZE 0x04
|
|
|
|
#define SET_CONSOLE_OUTPUT_INFO_ATTR 0x08
|
|
|
|
#define SET_CONSOLE_OUTPUT_INFO_DISPLAY_WINDOW 0x10
|
|
|
|
#define SET_CONSOLE_OUTPUT_INFO_MAX_SIZE 0x20
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
struct get_console_output_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_console_output_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-11-24 00:04:58 +01:00
|
|
|
short int cursor_size;
|
|
|
|
short int cursor_visible;
|
|
|
|
short int cursor_x;
|
|
|
|
short int cursor_y;
|
|
|
|
short int width;
|
|
|
|
short int height;
|
|
|
|
short int attr;
|
|
|
|
short int win_left;
|
|
|
|
short int win_top;
|
|
|
|
short int win_right;
|
|
|
|
short int win_bottom;
|
|
|
|
short int max_width;
|
|
|
|
short int max_height;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_34[6];
|
2001-11-24 00:04:58 +01:00
|
|
|
};
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
struct write_console_input_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(rec,input_records); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct write_console_input_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int written;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct read_console_input_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int flush;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct read_console_input_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int read;
|
|
|
|
/* VARARG(rec,input_records); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
struct write_console_output_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
int x;
|
|
|
|
int y;
|
2001-11-24 00:04:58 +01:00
|
|
|
int mode;
|
2001-11-30 19:46:42 +01:00
|
|
|
int wrap;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(data,bytes); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct write_console_output_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int written;
|
|
|
|
int width;
|
|
|
|
int height;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
enum char_info_mode
|
|
|
|
{
|
|
|
|
CHAR_INFO_MODE_TEXT,
|
|
|
|
CHAR_INFO_MODE_ATTR,
|
|
|
|
CHAR_INFO_MODE_TEXTATTR,
|
|
|
|
CHAR_INFO_MODE_TEXTSTDATTR
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct fill_console_output_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int mode;
|
|
|
|
int count;
|
|
|
|
int wrap;
|
|
|
|
char_info_t data;
|
|
|
|
};
|
|
|
|
struct fill_console_output_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-11-24 00:04:58 +01:00
|
|
|
int written;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-24 00:04:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct read_console_output_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int mode;
|
|
|
|
int wrap;
|
|
|
|
};
|
|
|
|
struct read_console_output_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int width;
|
|
|
|
int height;
|
2001-11-24 00:04:58 +01:00
|
|
|
/* VARARG(data,bytes); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2002-06-02 23:22:22 +02:00
|
|
|
|
2001-11-24 00:04:58 +01:00
|
|
|
struct move_console_output_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-24 00:04:58 +01:00
|
|
|
short int x_src;
|
|
|
|
short int y_src;
|
|
|
|
short int x_dst;
|
|
|
|
short int y_dst;
|
|
|
|
short int w;
|
|
|
|
short int h;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-11-24 00:04:58 +01:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct move_console_output_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-11-24 00:04:58 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-06-02 23:22:22 +02:00
|
|
|
struct send_console_signal_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int signal;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t group_id;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2002-06-02 23:22:22 +02:00
|
|
|
};
|
|
|
|
struct send_console_signal_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-01-27 12:13:56 +01:00
|
|
|
struct read_directory_changes_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2006-10-04 21:41:32 +02:00
|
|
|
unsigned int filter;
|
2006-02-21 08:58:19 +01:00
|
|
|
int subtree;
|
2006-02-07 16:50:36 +01:00
|
|
|
int want_data;
|
2007-03-20 20:21:12 +01:00
|
|
|
async_data_t async;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2006-01-27 12:13:56 +01:00
|
|
|
struct read_directory_changes_reply
|
2001-11-30 19:46:42 +01:00
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2006-02-06 11:58:55 +01:00
|
|
|
struct read_change_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct read_change_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int action;
|
|
|
|
/* VARARG(name,string); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2006-02-06 11:58:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
struct create_mapping_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
2008-11-04 13:05:32 +01:00
|
|
|
unsigned int protect;
|
2008-12-31 15:14:29 +01:00
|
|
|
mem_size_t size;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t file_handle;
|
2007-10-25 20:09:54 +02:00
|
|
|
/* VARARG(objattr,object_attributes); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_mapping_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#define VPROT_READ 0x01
|
|
|
|
#define VPROT_WRITE 0x02
|
|
|
|
#define VPROT_EXEC 0x04
|
|
|
|
#define VPROT_WRITECOPY 0x08
|
|
|
|
#define VPROT_GUARD 0x10
|
|
|
|
#define VPROT_NOCACHE 0x20
|
|
|
|
#define VPROT_COMMITTED 0x40
|
2008-11-25 12:07:35 +01:00
|
|
|
#define VPROT_WRITEWATCH 0x80
|
2008-11-04 13:05:32 +01:00
|
|
|
|
|
|
|
#define VPROT_IMAGE 0x0100
|
|
|
|
#define VPROT_SYSTEM 0x0200
|
|
|
|
#define VPROT_VALLOC 0x0400
|
2008-11-04 13:16:01 +01:00
|
|
|
#define VPROT_NOEXEC 0x0800
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_mapping_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-02 16:13:13 +01:00
|
|
|
obj_handle_t rootdir;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_mapping_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_mapping_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2008-11-05 20:32:32 +01:00
|
|
|
unsigned int access;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_mapping_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-17 19:25:49 +01:00
|
|
|
mem_size_t size;
|
2001-07-19 02:39:09 +02:00
|
|
|
int protect;
|
|
|
|
int header_size;
|
2008-12-30 14:18:21 +01:00
|
|
|
client_ptr_t base;
|
2007-01-12 14:55:31 +01:00
|
|
|
obj_handle_t mapping;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t shared_file;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-11-05 12:24:05 +01:00
|
|
|
|
|
|
|
struct get_mapping_committed_range_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
file_pos_t offset;
|
|
|
|
};
|
|
|
|
struct get_mapping_committed_range_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-17 19:25:49 +01:00
|
|
|
mem_size_t size;
|
2008-11-05 12:24:05 +01:00
|
|
|
int committed;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2008-11-05 12:24:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct add_mapping_committed_range_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
file_pos_t offset;
|
2008-12-17 19:25:49 +01:00
|
|
|
mem_size_t size;
|
2008-11-05 12:24:05 +01:00
|
|
|
};
|
|
|
|
struct add_mapping_committed_range_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-12-09 11:49:37 +01:00
|
|
|
#define SNAP_PROCESS 0x00000001
|
|
|
|
#define SNAP_THREAD 0x00000002
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
struct create_snapshot_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-12-09 12:09:44 +01:00
|
|
|
unsigned int attributes;
|
2008-12-09 11:49:37 +01:00
|
|
|
unsigned int flags;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_snapshot_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct next_process_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int reset;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct next_process_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int count;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
|
|
|
process_id_t ppid;
|
2001-07-19 02:39:09 +02:00
|
|
|
int threads;
|
|
|
|
int priority;
|
2003-09-16 03:07:21 +02:00
|
|
|
int handles;
|
2003-09-30 03:04:19 +02:00
|
|
|
/* VARARG(filename,unicode_str); */
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct next_thread_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int reset;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct next_thread_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int count;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2001-07-19 02:39:09 +02:00
|
|
|
int base_pri;
|
|
|
|
int delta_pri;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct wait_debug_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int get_handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct wait_debug_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t wait;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(event,debug_event); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct queue_exception_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2009-01-02 20:12:46 +01:00
|
|
|
int first;
|
|
|
|
unsigned int code;
|
|
|
|
unsigned int flags;
|
|
|
|
client_ptr_t record;
|
|
|
|
client_ptr_t address;
|
|
|
|
data_size_t len;
|
|
|
|
/* VARARG(params,uints64,len); */
|
|
|
|
/* VARARG(context,context); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct queue_exception_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_exception_status_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_exception_status_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(context,context); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct output_debug_string_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2008-12-29 17:12:20 +01:00
|
|
|
data_size_t length;
|
|
|
|
client_ptr_t string;
|
2001-07-19 02:39:09 +02:00
|
|
|
int unicode;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct output_debug_string_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct continue_debug_event_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2001-07-19 02:39:09 +02:00
|
|
|
int status;
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct continue_debug_event_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct debug_process_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
2002-02-27 02:28:30 +01:00
|
|
|
int attach;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct debug_process_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-02-27 02:55:02 +01:00
|
|
|
struct debug_break_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2002-02-27 02:55:02 +01:00
|
|
|
};
|
|
|
|
struct debug_break_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int self;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2002-02-27 02:55:02 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-02-27 02:28:30 +01:00
|
|
|
struct set_debugger_kill_on_exit_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int kill_on_exit;
|
|
|
|
};
|
|
|
|
struct set_debugger_kill_on_exit_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct read_process_memory_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2008-12-30 14:11:58 +01:00
|
|
|
client_ptr_t addr;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct read_process_memory_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(data,bytes); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct write_process_memory_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2008-12-30 14:11:58 +01:00
|
|
|
client_ptr_t addr;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(data,bytes); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct write_process_memory_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_key_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t parent;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int access;
|
2005-12-09 14:52:04 +01:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int options;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t namelen;
|
2001-11-30 19:46:42 +01:00
|
|
|
/* VARARG(name,unicode_str,namelen); */
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(class,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_key_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-07-19 02:39:09 +02:00
|
|
|
int created;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct open_key_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t parent;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int access;
|
2005-12-09 14:52:04 +01:00
|
|
|
unsigned int attributes;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_key_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct delete_key_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct delete_key_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2004-01-03 01:38:30 +01:00
|
|
|
struct flush_key_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t hkey;
|
|
|
|
};
|
|
|
|
struct flush_key_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct enum_key_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-07-19 02:39:09 +02:00
|
|
|
int index;
|
2001-11-30 19:46:42 +01:00
|
|
|
int info_class;
|
|
|
|
};
|
|
|
|
struct enum_key_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int subkeys;
|
|
|
|
int max_subkey;
|
|
|
|
int max_class;
|
|
|
|
int values;
|
|
|
|
int max_value;
|
|
|
|
int max_data;
|
2008-12-06 17:29:01 +01:00
|
|
|
timeout_t modif;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total;
|
|
|
|
data_size_t namelen;
|
2001-11-30 19:46:42 +01:00
|
|
|
/* VARARG(name,unicode_str,namelen); */
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(class,unicode_str); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_key_value_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-07-19 02:39:09 +02:00
|
|
|
int type;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t namelen;
|
2001-11-30 19:46:42 +01:00
|
|
|
/* VARARG(name,unicode_str,namelen); */
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(data,bytes); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_key_value_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_key_value_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-11-30 19:46:42 +01:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct get_key_value_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int type;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(data,bytes); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct enum_key_value_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-07-19 02:39:09 +02:00
|
|
|
int index;
|
2001-11-30 19:46:42 +01:00
|
|
|
int info_class;
|
|
|
|
};
|
|
|
|
struct enum_key_value_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int type;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total;
|
|
|
|
data_size_t namelen;
|
2001-11-30 19:46:42 +01:00
|
|
|
/* VARARG(name,unicode_str,namelen); */
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(data,bytes); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct delete_key_value_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct delete_key_value_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct load_registry_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
|
|
|
obj_handle_t file;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct load_registry_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2003-08-19 05:08:17 +02:00
|
|
|
struct unload_registry_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t hkey;
|
|
|
|
};
|
|
|
|
struct unload_registry_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct save_registry_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t hkey;
|
|
|
|
obj_handle_t file;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct save_registry_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2002-11-25 03:47:32 +01:00
|
|
|
struct set_registry_notification_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t hkey;
|
|
|
|
obj_handle_t event;
|
|
|
|
int subtree;
|
|
|
|
unsigned int filter;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2002-11-25 03:47:32 +01:00
|
|
|
};
|
|
|
|
struct set_registry_notification_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
struct create_timer_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2004-12-02 19:05:37 +01:00
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-02 16:05:54 +01:00
|
|
|
obj_handle_t rootdir;
|
2001-07-19 02:39:09 +02:00
|
|
|
int manual;
|
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_timer_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_timer_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-02 16:05:54 +01:00
|
|
|
obj_handle_t rootdir;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct open_timer_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct set_timer_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t expire;
|
2008-12-29 17:43:01 +01:00
|
|
|
client_ptr_t callback;
|
|
|
|
client_ptr_t arg;
|
2001-07-19 02:39:09 +02:00
|
|
|
int period;
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_timer_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2003-05-20 06:00:42 +02:00
|
|
|
int signaled;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
struct cancel_timer_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct cancel_timer_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2003-05-20 06:00:42 +02:00
|
|
|
int signaled;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
2004-12-13 22:10:58 +01:00
|
|
|
struct get_timer_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_timer_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t when;
|
2004-12-13 22:10:58 +01:00
|
|
|
int signaled;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2004-12-13 22:10:58 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
struct get_thread_context_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int flags;
|
2005-11-02 21:54:12 +01:00
|
|
|
int suspend;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_thread_context_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-01-13 13:58:14 +01:00
|
|
|
int self;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(context,context); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_thread_context_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2005-11-02 21:54:12 +01:00
|
|
|
int suspend;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(context,context); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_thread_context_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-01-11 20:20:32 +01:00
|
|
|
int self;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_selector_entry_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int entry;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_selector_entry_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int base;
|
|
|
|
unsigned int limit;
|
|
|
|
unsigned char flags;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_17[7];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct add_atom_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-05-10 17:15:50 +02:00
|
|
|
obj_handle_t table;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct add_atom_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-10-12 20:45:29 +02:00
|
|
|
atom_t atom;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct delete_atom_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-05-10 17:15:50 +02:00
|
|
|
obj_handle_t table;
|
2001-10-12 20:45:29 +02:00
|
|
|
atom_t atom;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct delete_atom_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct find_atom_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-05-10 17:15:50 +02:00
|
|
|
obj_handle_t table;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct find_atom_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-10-12 20:45:29 +02:00
|
|
|
atom_t atom;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-10 17:15:50 +02:00
|
|
|
struct get_atom_information_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-05-10 17:15:50 +02:00
|
|
|
obj_handle_t table;
|
2001-10-12 20:45:29 +02:00
|
|
|
atom_t atom;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2005-05-10 17:15:50 +02:00
|
|
|
struct get_atom_information_reply
|
2001-11-30 19:46:42 +01:00
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
int count;
|
2005-05-10 17:15:50 +02:00
|
|
|
int pinned;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total;
|
2001-07-19 02:39:09 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-05-10 17:15:50 +02:00
|
|
|
struct set_atom_information_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t table;
|
|
|
|
atom_t atom;
|
|
|
|
int pinned;
|
|
|
|
};
|
|
|
|
struct set_atom_information_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct empty_atom_table_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t table;
|
|
|
|
int if_pinned;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2005-05-10 17:15:50 +02:00
|
|
|
};
|
|
|
|
struct empty_atom_table_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct init_atom_table_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int entries;
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct init_atom_table_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2005-05-10 17:15:50 +02:00
|
|
|
obj_handle_t table;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_msg_queue_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_msg_queue_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-04 18:02:01 +02:00
|
|
|
struct set_queue_fd_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct set_queue_fd_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct set_queue_mask_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int wake_mask;
|
|
|
|
unsigned int changed_mask;
|
|
|
|
int skip_wait;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct set_queue_mask_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int wake_bits;
|
|
|
|
unsigned int changed_bits;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_queue_status_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int clear;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_queue_status_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int wake_bits;
|
|
|
|
unsigned int changed_bits;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-07-26 11:48:25 +02:00
|
|
|
struct get_process_idle_event_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2006-07-26 11:48:25 +02:00
|
|
|
struct get_process_idle_event_reply
|
2001-11-30 19:46:42 +01:00
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t event;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct send_message_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t id;
|
2001-07-19 02:39:09 +02:00
|
|
|
int type;
|
2003-07-11 06:09:42 +02:00
|
|
|
int flags;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t win;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int msg;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t wparam;
|
|
|
|
lparam_t lparam;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t timeout;
|
2006-10-04 20:25:42 +02:00
|
|
|
/* VARARG(data,message_data); */
|
2001-08-07 21:19:08 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct send_message_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-08-07 21:19:08 +02:00
|
|
|
|
2006-01-17 13:14:31 +01:00
|
|
|
struct post_quit_message_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int exit_code;
|
|
|
|
};
|
|
|
|
struct post_quit_message_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
2001-08-07 21:19:08 +02:00
|
|
|
enum message_type
|
|
|
|
{
|
|
|
|
MSG_ASCII,
|
|
|
|
MSG_UNICODE,
|
|
|
|
MSG_NOTIFY,
|
|
|
|
MSG_CALLBACK,
|
2003-07-26 22:36:43 +02:00
|
|
|
MSG_CALLBACK_RESULT,
|
2001-08-07 21:19:08 +02:00
|
|
|
MSG_OTHER_PROCESS,
|
|
|
|
MSG_POSTED,
|
2005-02-03 17:40:20 +01:00
|
|
|
MSG_HARDWARE,
|
|
|
|
MSG_WINEVENT
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2003-07-11 06:09:42 +02:00
|
|
|
#define SEND_MSG_ABORT_IF_HUNG 0x01
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2006-08-09 16:45:26 +02:00
|
|
|
struct send_hardware_message_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
thread_id_t id;
|
|
|
|
user_handle_t win;
|
|
|
|
unsigned int msg;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t wparam;
|
|
|
|
lparam_t lparam;
|
|
|
|
lparam_t info;
|
2006-08-09 16:45:26 +02:00
|
|
|
int x;
|
|
|
|
int y;
|
2008-12-24 12:06:18 +01:00
|
|
|
unsigned int time;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_60[4];
|
2006-08-09 16:45:26 +02:00
|
|
|
};
|
|
|
|
struct send_hardware_message_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct get_message_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2007-02-21 15:21:05 +01:00
|
|
|
unsigned int flags;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t get_win;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int get_first;
|
|
|
|
unsigned int get_last;
|
2005-04-20 15:03:59 +02:00
|
|
|
unsigned int hw_id;
|
2007-08-29 18:13:13 +02:00
|
|
|
unsigned int wake_mask;
|
|
|
|
unsigned int changed_mask;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_message_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t win;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int msg;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t wparam;
|
|
|
|
lparam_t lparam;
|
2008-12-24 11:59:09 +01:00
|
|
|
int type;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int time;
|
2005-05-11 15:03:15 +02:00
|
|
|
unsigned int active_hooks;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total;
|
2006-10-04 16:04:53 +02:00
|
|
|
/* VARARG(data,message_data); */
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2007-02-21 15:21:05 +01:00
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
struct reply_message_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int remove;
|
2008-12-24 12:06:18 +01:00
|
|
|
lparam_t result;
|
2001-08-07 21:19:08 +02:00
|
|
|
/* VARARG(data,bytes); */
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct reply_message_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-03-23 11:33:17 +01:00
|
|
|
struct accept_hardware_message_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-04-20 15:03:59 +02:00
|
|
|
unsigned int hw_id;
|
2005-03-23 11:33:17 +01:00
|
|
|
int remove;
|
|
|
|
user_handle_t new_win;
|
|
|
|
};
|
|
|
|
struct accept_hardware_message_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct get_message_reply_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int cancel;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_message_reply_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t result;
|
2001-08-07 21:19:08 +02:00
|
|
|
/* VARARG(data,bytes); */
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_win_timer_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t win;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int msg;
|
|
|
|
unsigned int rate;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t id;
|
|
|
|
lparam_t lparam;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_win_timer_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t id;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct kill_win_timer_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t win;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t id;
|
2008-12-24 12:06:18 +01:00
|
|
|
unsigned int msg;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct kill_win_timer_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-28 03:59:13 +01:00
|
|
|
struct is_window_hung_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t win;
|
|
|
|
};
|
|
|
|
struct is_window_hung_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int is_hung;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-12-28 03:59:13 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct get_serial_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_serial_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int readinterval;
|
|
|
|
unsigned int readconst;
|
|
|
|
unsigned int readmult;
|
|
|
|
unsigned int writeconst;
|
|
|
|
unsigned int writemult;
|
|
|
|
unsigned int eventmask;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_serial_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-07-19 02:39:09 +02:00
|
|
|
int flags;
|
|
|
|
unsigned int readinterval;
|
|
|
|
unsigned int readconst;
|
|
|
|
unsigned int readmult;
|
|
|
|
unsigned int writeconst;
|
|
|
|
unsigned int writemult;
|
|
|
|
unsigned int eventmask;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_44[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_serial_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-07-19 02:39:09 +02:00
|
|
|
#define SERIALINFO_SET_TIMEOUTS 0x01
|
|
|
|
#define SERIALINFO_SET_MASK 0x02
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-12-20 01:07:05 +01:00
|
|
|
struct register_async_request
|
2001-07-19 02:39:09 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int type;
|
2007-03-20 20:21:12 +01:00
|
|
|
async_data_t async;
|
2008-12-31 15:14:29 +01:00
|
|
|
int count;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_60[4];
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-12-20 01:07:05 +01:00
|
|
|
struct register_async_reply
|
2001-11-30 19:46:42 +01:00
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
#define ASYNC_TYPE_READ 0x01
|
|
|
|
#define ASYNC_TYPE_WRITE 0x02
|
|
|
|
#define ASYNC_TYPE_WAIT 0x03
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-01-14 20:54:38 +01:00
|
|
|
struct cancel_async_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-08-09 06:08:27 +02:00
|
|
|
client_ptr_t iosb;
|
|
|
|
int only_thread;
|
|
|
|
char __pad_28[4];
|
2005-01-14 20:54:38 +01:00
|
|
|
};
|
|
|
|
struct cancel_async_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-04-16 14:45:03 +02:00
|
|
|
struct ioctl_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2007-04-17 22:06:13 +02:00
|
|
|
ioctl_code_t code;
|
2007-04-16 14:45:03 +02:00
|
|
|
async_data_t async;
|
2008-12-30 20:37:20 +01:00
|
|
|
int blocking;
|
2007-04-16 14:45:03 +02:00
|
|
|
/* VARARG(in_data,bytes); */
|
|
|
|
};
|
|
|
|
struct ioctl_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-05-03 17:43:18 +02:00
|
|
|
obj_handle_t wait;
|
|
|
|
unsigned int options;
|
2007-04-16 14:45:03 +02:00
|
|
|
/* VARARG(out_data,bytes); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-05-08 20:45:44 +02:00
|
|
|
struct get_ioctl_result_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2008-12-30 21:09:41 +01:00
|
|
|
client_ptr_t user_arg;
|
2007-05-08 20:45:44 +02:00
|
|
|
};
|
|
|
|
struct get_ioctl_result_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
/* VARARG(out_data,bytes); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
struct create_named_pipe_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-09-26 13:02:45 +02:00
|
|
|
unsigned int access;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int attributes;
|
2005-12-05 13:09:35 +01:00
|
|
|
obj_handle_t rootdir;
|
2005-04-18 16:57:04 +02:00
|
|
|
unsigned int options;
|
2001-07-19 02:39:09 +02:00
|
|
|
unsigned int maxinstances;
|
|
|
|
unsigned int outsize;
|
|
|
|
unsigned int insize;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t timeout;
|
2008-12-31 15:14:29 +01:00
|
|
|
unsigned int flags;
|
2001-12-31 23:26:51 +01:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_named_pipe_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-07-19 02:39:09 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-04-18 16:57:04 +02:00
|
|
|
#define NAMED_PIPE_MESSAGE_STREAM_WRITE 0x0001
|
|
|
|
#define NAMED_PIPE_MESSAGE_STREAM_READ 0x0002
|
|
|
|
#define NAMED_PIPE_NONBLOCKING_MODE 0x0004
|
2006-05-26 12:10:11 +02:00
|
|
|
#define NAMED_PIPE_SERVER_END 0x8000
|
2005-04-18 16:57:04 +02:00
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
|
2001-08-27 21:03:42 +02:00
|
|
|
struct get_named_pipe_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2002-05-30 22:12:58 +02:00
|
|
|
obj_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_named_pipe_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-08-27 21:03:42 +02:00
|
|
|
unsigned int flags;
|
|
|
|
unsigned int maxinstances;
|
2006-05-26 12:10:11 +02:00
|
|
|
unsigned int instances;
|
2001-08-27 21:03:42 +02:00
|
|
|
unsigned int outsize;
|
|
|
|
unsigned int insize;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-08-27 21:03:42 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-08-24 01:29:20 +02:00
|
|
|
|
2001-08-28 20:44:52 +02:00
|
|
|
struct create_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2001-09-21 23:08:40 +02:00
|
|
|
user_handle_t parent;
|
|
|
|
user_handle_t owner;
|
2001-10-12 20:45:29 +02:00
|
|
|
atom_t atom;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t instance;
|
2007-11-02 15:16:25 +01:00
|
|
|
/* VARARG(class,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct create_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t handle;
|
2006-03-06 15:00:37 +01:00
|
|
|
user_handle_t parent;
|
|
|
|
user_handle_t owner;
|
2003-12-11 06:34:53 +01:00
|
|
|
int extra;
|
2008-12-29 17:24:33 +01:00
|
|
|
client_ptr_t class_ptr;
|
2001-08-28 20:44:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct destroy_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct destroy_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-08-28 20:44:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-07-08 13:37:40 +02:00
|
|
|
struct get_desktop_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2006-03-07 11:42:35 +01:00
|
|
|
int force;
|
2005-07-08 13:37:40 +02:00
|
|
|
};
|
|
|
|
struct get_desktop_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-06-25 14:26:14 +02:00
|
|
|
user_handle_t top_window;
|
|
|
|
user_handle_t msg_window;
|
2005-07-08 13:37:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-10-22 21:08:33 +02:00
|
|
|
struct set_window_owner_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
user_handle_t owner;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct set_window_owner_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-10-22 21:08:33 +02:00
|
|
|
user_handle_t full_owner;
|
2002-09-25 02:21:56 +02:00
|
|
|
user_handle_t prev_owner;
|
2001-10-22 21:08:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-08-28 20:44:52 +02:00
|
|
|
struct get_window_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-08-28 20:44:52 +02:00
|
|
|
user_handle_t full_handle;
|
2002-10-12 01:41:06 +02:00
|
|
|
user_handle_t last_active;
|
2002-10-03 21:54:57 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2001-10-22 21:08:33 +02:00
|
|
|
atom_t atom;
|
2008-12-30 23:17:52 +01:00
|
|
|
int is_unicode;
|
2001-10-22 21:08:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_window_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2008-12-29 16:47:51 +01:00
|
|
|
unsigned short flags;
|
|
|
|
short int is_unicode;
|
2006-10-04 21:41:32 +02:00
|
|
|
user_handle_t handle;
|
2001-10-22 21:08:33 +02:00
|
|
|
unsigned int style;
|
|
|
|
unsigned int ex_style;
|
|
|
|
unsigned int id;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t instance;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t user_data;
|
2003-11-26 23:15:41 +01:00
|
|
|
int extra_offset;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t extra_size;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t extra_value;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct set_window_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-10-22 21:08:33 +02:00
|
|
|
unsigned int old_style;
|
|
|
|
unsigned int old_ex_style;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t old_instance;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t old_user_data;
|
|
|
|
lparam_t old_extra_value;
|
2008-12-29 16:47:51 +01:00
|
|
|
unsigned int old_id;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_44[4];
|
2001-08-28 20:44:52 +02:00
|
|
|
};
|
2001-10-22 21:08:33 +02:00
|
|
|
#define SET_WIN_STYLE 0x01
|
|
|
|
#define SET_WIN_EXSTYLE 0x02
|
|
|
|
#define SET_WIN_ID 0x04
|
|
|
|
#define SET_WIN_INSTANCE 0x08
|
|
|
|
#define SET_WIN_USERDATA 0x10
|
2003-12-10 02:34:51 +01:00
|
|
|
#define SET_WIN_EXTRA 0x20
|
2005-07-07 14:02:31 +02:00
|
|
|
#define SET_WIN_UNICODE 0x40
|
2001-08-28 20:44:52 +02:00
|
|
|
|
|
|
|
|
2001-09-21 23:08:40 +02:00
|
|
|
|
2005-03-25 11:38:56 +01:00
|
|
|
struct set_parent_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
user_handle_t parent;
|
|
|
|
};
|
|
|
|
struct set_parent_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t old_parent;
|
|
|
|
user_handle_t full_parent;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-09-21 23:08:40 +02:00
|
|
|
struct get_window_parents_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_parents_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-09-21 23:08:40 +02:00
|
|
|
int count;
|
|
|
|
/* VARARG(parents,user_handles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-09-21 23:08:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_window_children_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2008-03-18 15:17:40 +01:00
|
|
|
obj_handle_t desktop;
|
2001-09-21 23:08:40 +02:00
|
|
|
user_handle_t parent;
|
2001-10-12 20:45:29 +02:00
|
|
|
atom_t atom;
|
2002-10-03 21:54:57 +02:00
|
|
|
thread_id_t tid;
|
2007-11-02 15:26:49 +01:00
|
|
|
/* VARARG(class,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_children_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-09-21 23:08:40 +02:00
|
|
|
int count;
|
2001-09-24 03:19:59 +02:00
|
|
|
/* VARARG(children,user_handles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-09-21 23:08:40 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-07-21 00:17:38 +02:00
|
|
|
struct get_window_children_from_point_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t parent;
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
};
|
|
|
|
struct get_window_children_from_point_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int count;
|
|
|
|
/* VARARG(children,user_handles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2004-07-21 00:17:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-09-21 23:08:40 +02:00
|
|
|
struct get_window_tree_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_tree_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-09-21 23:08:40 +02:00
|
|
|
user_handle_t parent;
|
|
|
|
user_handle_t owner;
|
|
|
|
user_handle_t next_sibling;
|
|
|
|
user_handle_t prev_sibling;
|
|
|
|
user_handle_t first_sibling;
|
|
|
|
user_handle_t last_sibling;
|
|
|
|
user_handle_t first_child;
|
|
|
|
user_handle_t last_child;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2004-12-07 18:31:53 +01:00
|
|
|
struct set_window_pos_request
|
2001-10-16 23:55:37 +02:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
2006-10-04 21:41:32 +02:00
|
|
|
unsigned int flags;
|
2001-10-16 23:55:37 +02:00
|
|
|
user_handle_t handle;
|
2004-12-07 18:31:53 +01:00
|
|
|
user_handle_t previous;
|
2001-10-16 23:55:37 +02:00
|
|
|
rectangle_t window;
|
|
|
|
rectangle_t client;
|
2005-02-03 14:40:12 +01:00
|
|
|
/* VARARG(valid,rectangles); */
|
2001-10-16 23:55:37 +02:00
|
|
|
};
|
2004-12-07 18:31:53 +01:00
|
|
|
struct set_window_pos_reply
|
2001-11-30 19:46:42 +01:00
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2004-12-07 18:31:53 +01:00
|
|
|
unsigned int new_style;
|
2007-10-31 17:51:05 +01:00
|
|
|
unsigned int new_ex_style;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
2001-10-16 23:55:37 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_window_rectangles_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_rectangles_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-10-16 23:55:37 +02:00
|
|
|
rectangle_t window;
|
2005-03-17 20:10:41 +01:00
|
|
|
rectangle_t visible;
|
2001-10-16 23:55:37 +02:00
|
|
|
rectangle_t client;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-11-13 23:23:48 +01:00
|
|
|
struct get_window_text_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_text_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-11-13 23:23:48 +01:00
|
|
|
/* VARARG(text,unicode_str); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_window_text_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
/* VARARG(text,unicode_str); */
|
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_window_text_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-11-13 23:23:48 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2001-10-16 23:55:37 +02:00
|
|
|
struct get_windows_offset_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t from;
|
|
|
|
user_handle_t to;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_windows_offset_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2001-10-16 23:55:37 +02:00
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-10-12 21:10:26 +02:00
|
|
|
|
2004-06-23 22:44:58 +02:00
|
|
|
struct get_visible_region_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
unsigned int flags;
|
|
|
|
};
|
|
|
|
struct get_visible_region_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2005-03-31 17:36:57 +02:00
|
|
|
user_handle_t top_win;
|
2006-12-07 16:43:59 +01:00
|
|
|
rectangle_t top_rect;
|
|
|
|
rectangle_t win_rect;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total_size;
|
2004-06-23 22:44:58 +02:00
|
|
|
/* VARARG(region,rectangles); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-06-29 05:53:25 +02:00
|
|
|
struct get_window_region_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
};
|
|
|
|
struct get_window_region_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total_size;
|
2004-06-29 05:53:25 +02:00
|
|
|
/* VARARG(region,rectangles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2004-06-29 05:53:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_window_region_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
2007-03-05 16:43:09 +01:00
|
|
|
int redraw;
|
2004-06-29 05:53:25 +02:00
|
|
|
/* VARARG(region,rectangles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2004-06-29 05:53:25 +02:00
|
|
|
};
|
|
|
|
struct set_window_region_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-12-07 18:31:53 +01:00
|
|
|
struct get_update_region_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
2005-05-31 15:37:16 +02:00
|
|
|
user_handle_t from_child;
|
2004-12-07 18:31:53 +01:00
|
|
|
unsigned int flags;
|
|
|
|
};
|
|
|
|
struct get_update_region_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t child;
|
|
|
|
unsigned int flags;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t total_size;
|
2004-12-07 18:31:53 +01:00
|
|
|
/* VARARG(region,rectangles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2004-12-07 18:31:53 +01:00
|
|
|
};
|
|
|
|
#define UPDATE_NONCLIENT 0x01
|
|
|
|
#define UPDATE_ERASE 0x02
|
|
|
|
#define UPDATE_PAINT 0x04
|
|
|
|
#define UPDATE_INTERNALPAINT 0x08
|
|
|
|
#define UPDATE_ALLCHILDREN 0x10
|
|
|
|
#define UPDATE_NOCHILDREN 0x20
|
|
|
|
#define UPDATE_NOREGION 0x40
|
2007-08-27 16:41:08 +02:00
|
|
|
#define UPDATE_DELAYED_ERASE 0x80
|
2004-12-07 18:31:53 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
2005-03-21 13:37:00 +01:00
|
|
|
struct update_window_zorder_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
rectangle_t rect;
|
|
|
|
};
|
|
|
|
struct update_window_zorder_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2004-12-07 18:31:53 +01:00
|
|
|
struct redraw_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
unsigned int flags;
|
|
|
|
/* VARARG(region,rectangles); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2004-12-07 18:31:53 +01:00
|
|
|
};
|
|
|
|
struct redraw_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2001-10-12 21:10:26 +02:00
|
|
|
struct set_window_property_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
2008-12-10 16:21:32 +01:00
|
|
|
lparam_t data;
|
2008-12-24 12:06:18 +01:00
|
|
|
atom_t atom;
|
2005-05-11 21:01:10 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2001-10-12 21:10:26 +02:00
|
|
|
};
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_window_property_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
2001-10-12 21:10:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct remove_window_property_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
atom_t atom;
|
2005-05-11 21:01:10 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct remove_window_property_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-10 16:21:32 +01:00
|
|
|
lparam_t data;
|
2001-10-12 21:10:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_window_property_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
atom_t atom;
|
2005-05-11 21:01:10 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_property_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-10 16:21:32 +01:00
|
|
|
lparam_t data;
|
2001-10-12 21:10:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_window_properties_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
struct get_window_properties_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int total;
|
2001-10-12 21:10:26 +02:00
|
|
|
/* VARARG(props,properties); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2001-10-12 21:10:26 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2002-10-11 20:50:15 +02:00
|
|
|
|
2005-06-08 20:44:50 +02:00
|
|
|
struct create_winstation_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int flags;
|
|
|
|
unsigned int access;
|
2005-11-21 13:05:38 +01:00
|
|
|
unsigned int attributes;
|
2005-06-08 20:44:50 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct create_winstation_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-06-08 20:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_winstation_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
2005-11-21 13:05:38 +01:00
|
|
|
unsigned int attributes;
|
2005-06-08 20:44:50 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct open_winstation_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-06-08 20:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct close_winstation_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct close_winstation_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_process_winstation_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
};
|
|
|
|
struct get_process_winstation_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-06-08 20:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_process_winstation_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct set_process_winstation_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-05 16:45:32 +01:00
|
|
|
struct enum_winstation_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int index;
|
|
|
|
};
|
|
|
|
struct enum_winstation_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int next;
|
|
|
|
/* VARARG(name,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-12-05 16:45:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-08 20:44:50 +02:00
|
|
|
struct create_desktop_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int flags;
|
|
|
|
unsigned int access;
|
2005-11-21 13:05:38 +01:00
|
|
|
unsigned int attributes;
|
2005-06-08 20:44:50 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct create_desktop_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-06-08 20:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_desktop_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2008-04-01 21:15:55 +02:00
|
|
|
obj_handle_t winsta;
|
2005-06-08 20:44:50 +02:00
|
|
|
unsigned int flags;
|
|
|
|
unsigned int access;
|
2005-11-21 13:05:38 +01:00
|
|
|
unsigned int attributes;
|
2005-06-08 20:44:50 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct open_desktop_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-06-08 20:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct close_desktop_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct close_desktop_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_thread_desktop_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
thread_id_t tid;
|
|
|
|
};
|
|
|
|
struct get_thread_desktop_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-06-08 20:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_thread_desktop_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct set_thread_desktop_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-12-05 16:45:32 +01:00
|
|
|
struct enum_desktop_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t winstation;
|
|
|
|
unsigned int index;
|
|
|
|
};
|
|
|
|
struct enum_desktop_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int next;
|
|
|
|
/* VARARG(name,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-12-05 16:45:32 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-06-08 20:44:50 +02:00
|
|
|
struct set_user_object_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
unsigned int flags;
|
|
|
|
unsigned int obj_flags;
|
|
|
|
};
|
|
|
|
struct set_user_object_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int is_desktop;
|
|
|
|
unsigned int old_obj_flags;
|
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
#define SET_USER_OBJECT_FLAGS 1
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-10-11 20:50:15 +02:00
|
|
|
struct attach_thread_input_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
thread_id_t tid_from;
|
|
|
|
thread_id_t tid_to;
|
|
|
|
int attach;
|
|
|
|
};
|
|
|
|
struct attach_thread_input_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct get_thread_input_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
thread_id_t tid;
|
|
|
|
};
|
|
|
|
struct get_thread_input_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t focus;
|
|
|
|
user_handle_t capture;
|
|
|
|
user_handle_t active;
|
|
|
|
user_handle_t foreground;
|
|
|
|
user_handle_t menu_owner;
|
|
|
|
user_handle_t move_size;
|
|
|
|
user_handle_t caret;
|
|
|
|
rectangle_t rect;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_52[4];
|
2002-10-11 20:50:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-04-28 14:04:14 +02:00
|
|
|
|
|
|
|
struct get_last_input_time_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
};
|
|
|
|
struct get_last_input_time_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int time;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-04-28 14:04:14 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-01-08 20:56:31 +01:00
|
|
|
struct get_key_state_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
thread_id_t tid;
|
|
|
|
int key;
|
|
|
|
};
|
|
|
|
struct get_key_state_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned char state;
|
|
|
|
/* VARARG(keystate,bytes); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_9[7];
|
2003-01-08 20:56:31 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct set_key_state_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
thread_id_t tid;
|
|
|
|
/* VARARG(keystate,bytes); */
|
|
|
|
};
|
|
|
|
struct set_key_state_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2002-10-12 01:41:06 +02:00
|
|
|
struct set_foreground_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
};
|
|
|
|
struct set_foreground_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t previous;
|
|
|
|
int send_msg_old;
|
|
|
|
int send_msg_new;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2002-10-12 01:41:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct set_focus_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
};
|
|
|
|
struct set_focus_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t previous;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2002-10-12 01:41:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct set_active_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
};
|
|
|
|
struct set_active_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t previous;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2002-10-12 01:41:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2002-10-12 03:24:37 +02:00
|
|
|
struct set_capture_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
unsigned int flags;
|
|
|
|
};
|
|
|
|
struct set_capture_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t previous;
|
|
|
|
user_handle_t full_handle;
|
|
|
|
};
|
|
|
|
#define CAPTURE_MENU 0x01
|
|
|
|
#define CAPTURE_MOVESIZE 0x02
|
|
|
|
|
|
|
|
|
2002-10-17 03:24:33 +02:00
|
|
|
|
|
|
|
struct set_caret_window_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
int width;
|
|
|
|
int height;
|
|
|
|
};
|
|
|
|
struct set_caret_window_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t previous;
|
|
|
|
rectangle_t old_rect;
|
|
|
|
int old_hide;
|
|
|
|
int old_state;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_36[4];
|
2002-10-17 03:24:33 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_caret_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int flags;
|
|
|
|
user_handle_t handle;
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
int hide;
|
|
|
|
int state;
|
|
|
|
};
|
|
|
|
struct set_caret_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t full_handle;
|
|
|
|
rectangle_t old_rect;
|
|
|
|
int old_hide;
|
|
|
|
int old_state;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_36[4];
|
2002-10-17 03:24:33 +02:00
|
|
|
};
|
|
|
|
#define SET_CARET_POS 0x01
|
|
|
|
#define SET_CARET_HIDE 0x02
|
|
|
|
#define SET_CARET_STATE 0x04
|
|
|
|
|
|
|
|
|
2002-10-29 01:41:42 +01:00
|
|
|
|
|
|
|
struct set_hook_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int id;
|
2005-02-03 17:40:20 +01:00
|
|
|
process_id_t pid;
|
2002-10-29 01:41:42 +01:00
|
|
|
thread_id_t tid;
|
2005-02-03 17:40:20 +01:00
|
|
|
int event_min;
|
|
|
|
int event_max;
|
2008-12-29 17:35:35 +01:00
|
|
|
client_ptr_t proc;
|
2005-02-03 17:40:20 +01:00
|
|
|
int flags;
|
2002-10-29 01:41:42 +01:00
|
|
|
int unicode;
|
2002-11-20 20:54:32 +01:00
|
|
|
/* VARARG(module,unicode_str); */
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
|
|
|
struct set_hook_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t handle;
|
2005-05-11 15:03:15 +02:00
|
|
|
unsigned int active_hooks;
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct remove_hook_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2008-12-29 17:35:35 +01:00
|
|
|
client_ptr_t proc;
|
2002-10-29 01:41:42 +01:00
|
|
|
int id;
|
|
|
|
};
|
|
|
|
struct remove_hook_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2005-05-11 15:03:15 +02:00
|
|
|
unsigned int active_hooks;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct start_hook_chain_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int id;
|
2005-02-03 17:40:20 +01:00
|
|
|
int event;
|
|
|
|
user_handle_t window;
|
|
|
|
int object_id;
|
|
|
|
int child_id;
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
|
|
|
struct start_hook_chain_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t handle;
|
2003-07-11 23:55:58 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2002-10-29 01:41:42 +01:00
|
|
|
int unicode;
|
2008-12-29 17:35:35 +01:00
|
|
|
client_ptr_t proc;
|
2005-05-11 15:03:15 +02:00
|
|
|
unsigned int active_hooks;
|
2002-11-20 20:54:32 +01:00
|
|
|
/* VARARG(module,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_36[4];
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct finish_hook_chain_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int id;
|
|
|
|
};
|
|
|
|
struct finish_hook_chain_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2006-10-05 14:05:48 +02:00
|
|
|
struct get_hook_info_request
|
2002-10-29 01:41:42 +01:00
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
2006-10-05 14:05:48 +02:00
|
|
|
int get_next;
|
2005-02-03 17:40:20 +01:00
|
|
|
int event;
|
|
|
|
user_handle_t window;
|
|
|
|
int object_id;
|
|
|
|
int child_id;
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
2006-10-05 14:05:48 +02:00
|
|
|
struct get_hook_info_reply
|
2002-10-29 01:41:42 +01:00
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-10-05 14:05:48 +02:00
|
|
|
user_handle_t handle;
|
2002-10-29 01:41:42 +01:00
|
|
|
int id;
|
2003-07-11 23:55:58 +02:00
|
|
|
process_id_t pid;
|
|
|
|
thread_id_t tid;
|
2008-12-29 17:35:35 +01:00
|
|
|
client_ptr_t proc;
|
2006-10-05 14:04:25 +02:00
|
|
|
int unicode;
|
2002-11-20 20:54:32 +01:00
|
|
|
/* VARARG(module,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_36[4];
|
2002-10-29 01:41:42 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2003-06-24 01:02:02 +02:00
|
|
|
|
2003-12-10 05:08:06 +01:00
|
|
|
struct create_class_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
int local;
|
|
|
|
atom_t atom;
|
|
|
|
unsigned int style;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t instance;
|
2003-12-10 05:08:06 +01:00
|
|
|
int extra;
|
|
|
|
int win_extra;
|
2008-12-29 17:24:33 +01:00
|
|
|
client_ptr_t client_ptr;
|
2007-11-01 13:02:01 +01:00
|
|
|
/* VARARG(name,unicode_str); */
|
2003-12-10 05:08:06 +01:00
|
|
|
};
|
|
|
|
struct create_class_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-11-01 13:02:01 +01:00
|
|
|
atom_t atom;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2003-12-10 05:08:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct destroy_class_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
atom_t atom;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t instance;
|
2007-11-01 15:28:30 +01:00
|
|
|
/* VARARG(name,unicode_str); */
|
2003-12-10 05:08:06 +01:00
|
|
|
};
|
|
|
|
struct destroy_class_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-29 17:24:33 +01:00
|
|
|
client_ptr_t client_ptr;
|
2003-12-10 05:08:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_class_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t window;
|
|
|
|
unsigned int flags;
|
|
|
|
atom_t atom;
|
|
|
|
unsigned int style;
|
|
|
|
int win_extra;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t instance;
|
2003-12-10 05:08:06 +01:00
|
|
|
int extra_offset;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t extra_size;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t extra_value;
|
2003-12-10 05:08:06 +01:00
|
|
|
};
|
|
|
|
struct set_class_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
atom_t old_atom;
|
|
|
|
unsigned int old_style;
|
|
|
|
int old_extra;
|
|
|
|
int old_win_extra;
|
2008-12-29 16:41:44 +01:00
|
|
|
mod_handle_t old_instance;
|
2008-12-10 16:01:50 +01:00
|
|
|
lparam_t old_extra_value;
|
2003-12-10 05:08:06 +01:00
|
|
|
};
|
|
|
|
#define SET_CLASS_ATOM 0x0001
|
|
|
|
#define SET_CLASS_STYLE 0x0002
|
|
|
|
#define SET_CLASS_WINEXTRA 0x0004
|
|
|
|
#define SET_CLASS_INSTANCE 0x0008
|
|
|
|
#define SET_CLASS_EXTRA 0x0010
|
|
|
|
|
|
|
|
|
|
|
|
|
2003-06-24 01:02:02 +02:00
|
|
|
struct set_clipboard_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int flags;
|
|
|
|
user_handle_t clipboard;
|
|
|
|
user_handle_t owner;
|
|
|
|
user_handle_t viewer;
|
|
|
|
unsigned int seqno;
|
|
|
|
};
|
|
|
|
struct set_clipboard_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int flags;
|
|
|
|
user_handle_t old_clipboard;
|
|
|
|
user_handle_t old_owner;
|
|
|
|
user_handle_t old_viewer;
|
|
|
|
unsigned int seqno;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2003-06-24 01:02:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#define SET_CB_OPEN 0x001
|
|
|
|
#define SET_CB_OWNER 0x002
|
|
|
|
#define SET_CB_VIEWER 0x004
|
|
|
|
#define SET_CB_SEQNO 0x008
|
|
|
|
#define SET_CB_RELOWNER 0x010
|
|
|
|
#define SET_CB_CLOSE 0x020
|
|
|
|
#define CB_OPEN 0x040
|
|
|
|
#define CB_OWNER 0x080
|
2005-03-07 20:31:46 +01:00
|
|
|
#define CB_PROCESS 0x100
|
2003-06-24 01:02:02 +02:00
|
|
|
|
|
|
|
|
2003-07-24 02:07:00 +02:00
|
|
|
|
|
|
|
struct open_token_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2005-12-09 12:17:19 +01:00
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
2003-07-24 02:07:00 +02:00
|
|
|
unsigned int flags;
|
|
|
|
};
|
|
|
|
struct open_token_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t token;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2003-07-24 02:07:00 +02:00
|
|
|
};
|
|
|
|
#define OPEN_TOKEN_THREAD 1
|
|
|
|
#define OPEN_TOKEN_AS_SELF 2
|
|
|
|
|
|
|
|
|
2003-10-07 05:40:23 +02:00
|
|
|
|
|
|
|
struct set_global_windows_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int flags;
|
|
|
|
user_handle_t shell_window;
|
|
|
|
user_handle_t shell_listview;
|
|
|
|
user_handle_t progman_window;
|
|
|
|
user_handle_t taskman_window;
|
|
|
|
};
|
|
|
|
struct set_global_windows_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
user_handle_t old_shell_window;
|
|
|
|
user_handle_t old_shell_listview;
|
|
|
|
user_handle_t old_progman_window;
|
|
|
|
user_handle_t old_taskman_window;
|
|
|
|
};
|
|
|
|
#define SET_GLOBAL_SHELL_WINDOWS 0x01
|
|
|
|
#define SET_GLOBAL_PROGMAN_WINDOW 0x02
|
|
|
|
#define SET_GLOBAL_TASKMAN_WINDOW 0x04
|
|
|
|
|
|
|
|
|
2005-02-11 12:52:06 +01:00
|
|
|
struct adjust_token_privileges_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
int disable_all;
|
|
|
|
int get_modified_state;
|
|
|
|
/* VARARG(privileges,LUID_AND_ATTRIBUTES); */
|
|
|
|
};
|
|
|
|
struct adjust_token_privileges_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int len;
|
|
|
|
/* VARARG(privileges,LUID_AND_ATTRIBUTES); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-02-11 12:52:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
struct get_token_privileges_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_token_privileges_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int len;
|
|
|
|
/* VARARG(privileges,LUID_AND_ATTRIBUTES); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-02-11 12:52:06 +01:00
|
|
|
};
|
|
|
|
|
2005-04-22 23:17:15 +02:00
|
|
|
|
|
|
|
struct check_token_privileges_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
int all_required;
|
|
|
|
/* VARARG(privileges,LUID_AND_ATTRIBUTES); */
|
|
|
|
};
|
|
|
|
struct check_token_privileges_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int has_privileges;
|
|
|
|
/* VARARG(privileges,LUID_AND_ATTRIBUTES); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-04-22 23:17:15 +02:00
|
|
|
};
|
|
|
|
|
2005-02-11 12:52:06 +01:00
|
|
|
struct duplicate_token_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
unsigned int access;
|
2005-12-09 12:17:19 +01:00
|
|
|
unsigned int attributes;
|
2005-02-11 12:52:06 +01:00
|
|
|
int primary;
|
|
|
|
int impersonation_level;
|
|
|
|
};
|
|
|
|
struct duplicate_token_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t new_handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-02-11 12:52:06 +01:00
|
|
|
};
|
|
|
|
|
2005-05-24 14:32:18 +02:00
|
|
|
struct access_check_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
unsigned int desired_access;
|
|
|
|
unsigned int mapping_read;
|
|
|
|
unsigned int mapping_write;
|
|
|
|
unsigned int mapping_execute;
|
|
|
|
unsigned int mapping_all;
|
|
|
|
/* VARARG(sd,security_descriptor); */
|
|
|
|
};
|
|
|
|
struct access_check_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int access_granted;
|
|
|
|
unsigned int access_status;
|
|
|
|
unsigned int privileges_len;
|
|
|
|
/* VARARG(privileges,LUID_AND_ATTRIBUTES); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2005-05-24 14:32:18 +02:00
|
|
|
};
|
2005-02-11 12:52:06 +01:00
|
|
|
|
2005-07-18 15:22:55 +02:00
|
|
|
struct get_token_user_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_token_user_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t user_len;
|
2005-07-18 15:22:55 +02:00
|
|
|
/* VARARG(user,SID); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-07-18 15:22:55 +02:00
|
|
|
};
|
|
|
|
|
2006-05-13 17:58:19 +02:00
|
|
|
struct get_token_groups_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_token_groups_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t user_len;
|
2006-05-13 17:58:19 +02:00
|
|
|
/* VARARG(user,token_groups); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2006-05-13 17:58:19 +02:00
|
|
|
};
|
|
|
|
|
2009-04-21 09:53:16 +02:00
|
|
|
struct get_token_default_dacl_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_token_default_dacl_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
data_size_t acl_len;
|
|
|
|
/* VARARG(acl,ACL); */
|
|
|
|
char __pad_12[4];
|
|
|
|
};
|
|
|
|
|
|
|
|
struct set_token_default_dacl_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
/* VARARG(acl,ACL); */
|
|
|
|
};
|
|
|
|
struct set_token_default_dacl_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
2007-02-08 05:43:11 +01:00
|
|
|
struct set_security_object_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
unsigned int security_info;
|
|
|
|
/* VARARG(sd,security_descriptor); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2007-02-08 05:43:11 +01:00
|
|
|
};
|
|
|
|
struct set_security_object_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
2007-10-02 16:55:13 +02:00
|
|
|
struct get_security_object_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
unsigned int security_info;
|
|
|
|
};
|
|
|
|
struct get_security_object_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int sd_len;
|
|
|
|
/* VARARG(sd,security_descriptor); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-10-02 16:55:13 +02:00
|
|
|
};
|
|
|
|
|
2005-03-30 21:02:15 +02:00
|
|
|
|
|
|
|
struct create_mailslot_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
2005-10-27 20:30:37 +02:00
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
2005-12-05 13:30:26 +01:00
|
|
|
obj_handle_t rootdir;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t read_timeout;
|
2008-12-31 15:14:29 +01:00
|
|
|
unsigned int max_msgsize;
|
2005-03-30 21:02:15 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct create_mailslot_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-03-30 21:02:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_mailslot_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t read_timeout;
|
2008-12-31 15:14:29 +01:00
|
|
|
unsigned int flags;
|
2005-03-30 21:02:15 +02:00
|
|
|
};
|
|
|
|
struct set_mailslot_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2007-04-17 20:08:59 +02:00
|
|
|
timeout_t read_timeout;
|
2008-12-31 15:14:29 +01:00
|
|
|
unsigned int max_msgsize;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2005-03-30 21:02:15 +02:00
|
|
|
};
|
|
|
|
#define MAILSLOT_SET_READ_TIMEOUT 1
|
|
|
|
|
|
|
|
|
2005-11-29 17:21:05 +01:00
|
|
|
|
|
|
|
struct create_directory_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
/* VARARG(directory_name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct create_directory_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-11-29 17:21:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_directory_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
/* VARARG(directory_name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct open_directory_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-11-29 17:21:05 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2005-11-30 19:22:57 +01:00
|
|
|
|
2007-12-05 16:57:41 +01:00
|
|
|
struct get_directory_entry_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
unsigned int index;
|
|
|
|
};
|
|
|
|
struct get_directory_entry_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-06 17:29:31 +01:00
|
|
|
data_size_t name_len;
|
2007-12-05 16:57:41 +01:00
|
|
|
/* VARARG(name,unicode_str,name_len); */
|
|
|
|
/* VARARG(type,unicode_str); */
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-12-05 16:57:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-11-30 19:22:57 +01:00
|
|
|
struct create_symlink_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
2006-07-26 10:43:25 +02:00
|
|
|
data_size_t name_len;
|
2005-11-30 19:22:57 +01:00
|
|
|
/* VARARG(name,unicode_str,name_len); */
|
|
|
|
/* VARARG(target_name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct create_symlink_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-11-30 19:22:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_symlink_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct open_symlink_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2005-11-30 19:22:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct query_symlink_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct query_symlink_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
/* VARARG(target_name,unicode_str); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-01-25 07:43:04 +01:00
|
|
|
|
|
|
|
struct get_object_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_object_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int ref_count;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-10-20 16:21:06 +02:00
|
|
|
|
|
|
|
struct unlink_object_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct unlink_object_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-02-21 18:10:45 +01:00
|
|
|
struct get_token_impersonation_level_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_token_impersonation_level_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
int impersonation_level;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-02-21 18:10:45 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-03-07 01:33:26 +01:00
|
|
|
struct allocate_locally_unique_id_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
};
|
|
|
|
struct allocate_locally_unique_id_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
luid_t luid;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-05-08 20:28:37 +02:00
|
|
|
|
|
|
|
struct create_device_manager_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
};
|
|
|
|
struct create_device_manager_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-05-08 20:28:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct create_device_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
2008-12-29 17:28:40 +01:00
|
|
|
client_ptr_t user_ptr;
|
2008-12-31 15:14:29 +01:00
|
|
|
obj_handle_t manager;
|
2007-05-08 20:28:37 +02:00
|
|
|
/* VARARG(name,unicode_str); */
|
|
|
|
};
|
|
|
|
struct create_device_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-05-08 20:28:37 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct delete_device_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct delete_device_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-05-08 20:40:26 +02:00
|
|
|
|
|
|
|
struct get_next_device_request_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t manager;
|
|
|
|
obj_handle_t prev;
|
|
|
|
unsigned int status;
|
|
|
|
/* VARARG(prev_data,bytes); */
|
|
|
|
};
|
|
|
|
struct get_next_device_request_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t next;
|
|
|
|
ioctl_code_t code;
|
2008-12-29 17:28:40 +01:00
|
|
|
client_ptr_t user_ptr;
|
2007-05-08 20:40:26 +02:00
|
|
|
data_size_t in_size;
|
|
|
|
data_size_t out_size;
|
|
|
|
/* VARARG(next_data,bytes); */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-06-06 20:33:13 +02:00
|
|
|
|
|
|
|
struct make_process_system_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
};
|
|
|
|
struct make_process_system_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t event;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-06-06 20:33:13 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-09-13 17:47:56 +02:00
|
|
|
|
|
|
|
struct get_token_statistics_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_token_statistics_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
luid_t token_id;
|
|
|
|
luid_t modified_id;
|
|
|
|
int primary;
|
|
|
|
int impersonation_level;
|
|
|
|
int group_count;
|
|
|
|
int privilege_count;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-09-17 22:00:45 +02:00
|
|
|
|
|
|
|
struct create_completion_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
unsigned int concurrent;
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
/* VARARG(filename,string); */
|
|
|
|
};
|
|
|
|
struct create_completion_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-09-17 22:00:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct open_completion_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
unsigned int access;
|
|
|
|
unsigned int attributes;
|
|
|
|
obj_handle_t rootdir;
|
|
|
|
/* VARARG(filename,string); */
|
|
|
|
};
|
|
|
|
struct open_completion_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
obj_handle_t handle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-09-17 22:00:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct add_completion_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2008-12-15 13:29:38 +01:00
|
|
|
apc_param_t ckey;
|
|
|
|
apc_param_t cvalue;
|
2008-12-15 13:30:25 +01:00
|
|
|
unsigned int information;
|
2007-09-17 22:00:45 +02:00
|
|
|
unsigned int status;
|
|
|
|
};
|
|
|
|
struct add_completion_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct remove_completion_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct remove_completion_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
2008-12-15 13:29:38 +01:00
|
|
|
apc_param_t ckey;
|
|
|
|
apc_param_t cvalue;
|
2008-12-15 13:30:25 +01:00
|
|
|
unsigned int information;
|
2007-09-17 22:00:45 +02:00
|
|
|
unsigned int status;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct query_completion_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
|
|
|
};
|
|
|
|
struct query_completion_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int depth;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_12[4];
|
2007-09-17 22:00:45 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-09-27 22:03:39 +02:00
|
|
|
|
|
|
|
struct set_completion_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2008-12-15 13:29:38 +01:00
|
|
|
apc_param_t ckey;
|
2008-12-31 15:14:29 +01:00
|
|
|
obj_handle_t chandle;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2007-09-27 22:03:39 +02:00
|
|
|
};
|
|
|
|
struct set_completion_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2007-11-09 23:11:58 +01:00
|
|
|
|
|
|
|
struct add_fd_completion_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
obj_handle_t handle;
|
2008-12-15 13:29:38 +01:00
|
|
|
apc_param_t cvalue;
|
2007-11-09 23:11:58 +01:00
|
|
|
unsigned int status;
|
2008-12-15 13:30:25 +01:00
|
|
|
unsigned int information;
|
2007-11-09 23:11:58 +01:00
|
|
|
};
|
|
|
|
struct add_fd_completion_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-09-12 15:30:47 +02:00
|
|
|
|
|
|
|
struct get_window_layered_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
};
|
|
|
|
struct get_window_layered_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
unsigned int color_key;
|
|
|
|
unsigned int alpha;
|
|
|
|
unsigned int flags;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_20[4];
|
2008-09-12 15:30:47 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct set_window_layered_info_request
|
|
|
|
{
|
|
|
|
struct request_header __header;
|
|
|
|
user_handle_t handle;
|
|
|
|
unsigned int color_key;
|
|
|
|
unsigned int alpha;
|
|
|
|
unsigned int flags;
|
2009-01-19 14:01:39 +01:00
|
|
|
char __pad_28[4];
|
2008-09-12 15:30:47 +02:00
|
|
|
};
|
|
|
|
struct set_window_layered_info_reply
|
|
|
|
{
|
|
|
|
struct reply_header __header;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-07-19 02:39:09 +02:00
|
|
|
enum request
|
|
|
|
{
|
|
|
|
REQ_new_process,
|
|
|
|
REQ_get_new_process_info,
|
|
|
|
REQ_new_thread,
|
2002-03-29 19:28:56 +01:00
|
|
|
REQ_get_startup_info,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_init_process_done,
|
|
|
|
REQ_init_thread,
|
|
|
|
REQ_terminate_process,
|
|
|
|
REQ_terminate_thread,
|
|
|
|
REQ_get_process_info,
|
|
|
|
REQ_set_process_info,
|
|
|
|
REQ_get_thread_info,
|
|
|
|
REQ_set_thread_info,
|
2003-01-09 01:01:28 +01:00
|
|
|
REQ_get_dll_info,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_suspend_thread,
|
|
|
|
REQ_resume_thread,
|
|
|
|
REQ_load_dll,
|
|
|
|
REQ_unload_dll,
|
|
|
|
REQ_queue_apc,
|
2007-01-15 22:24:40 +01:00
|
|
|
REQ_get_apc_result,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_close_handle,
|
|
|
|
REQ_set_handle_info,
|
|
|
|
REQ_dup_handle,
|
|
|
|
REQ_open_process,
|
2002-04-02 02:49:05 +02:00
|
|
|
REQ_open_thread,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_select,
|
|
|
|
REQ_create_event,
|
|
|
|
REQ_event_op,
|
|
|
|
REQ_open_event,
|
|
|
|
REQ_create_mutex,
|
|
|
|
REQ_release_mutex,
|
|
|
|
REQ_open_mutex,
|
|
|
|
REQ_create_semaphore,
|
|
|
|
REQ_release_semaphore,
|
|
|
|
REQ_open_semaphore,
|
|
|
|
REQ_create_file,
|
2005-12-12 14:27:45 +01:00
|
|
|
REQ_open_file_object,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_alloc_file_handle,
|
|
|
|
REQ_get_handle_fd,
|
|
|
|
REQ_flush_file,
|
|
|
|
REQ_lock_file,
|
|
|
|
REQ_unlock_file,
|
|
|
|
REQ_create_socket,
|
|
|
|
REQ_accept_socket,
|
|
|
|
REQ_set_socket_event,
|
|
|
|
REQ_get_socket_event,
|
|
|
|
REQ_enable_socket_event,
|
2002-04-24 00:03:42 +02:00
|
|
|
REQ_set_socket_deferred,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_alloc_console,
|
|
|
|
REQ_free_console,
|
2001-11-24 00:04:58 +01:00
|
|
|
REQ_get_console_renderer_events,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_open_console,
|
2003-06-21 04:07:10 +02:00
|
|
|
REQ_get_console_wait_event,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_get_console_mode,
|
|
|
|
REQ_set_console_mode,
|
2001-11-24 00:04:58 +01:00
|
|
|
REQ_set_console_input_info,
|
|
|
|
REQ_get_console_input_info,
|
|
|
|
REQ_append_console_input_history,
|
|
|
|
REQ_get_console_input_history,
|
|
|
|
REQ_create_console_output,
|
|
|
|
REQ_set_console_output_info,
|
|
|
|
REQ_get_console_output_info,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_write_console_input,
|
|
|
|
REQ_read_console_input,
|
2001-11-24 00:04:58 +01:00
|
|
|
REQ_write_console_output,
|
2001-11-30 19:46:42 +01:00
|
|
|
REQ_fill_console_output,
|
2001-11-24 00:04:58 +01:00
|
|
|
REQ_read_console_output,
|
|
|
|
REQ_move_console_output,
|
2002-06-02 23:22:22 +02:00
|
|
|
REQ_send_console_signal,
|
2006-01-27 12:13:56 +01:00
|
|
|
REQ_read_directory_changes,
|
2006-02-06 11:58:55 +01:00
|
|
|
REQ_read_change,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_create_mapping,
|
|
|
|
REQ_open_mapping,
|
|
|
|
REQ_get_mapping_info,
|
2008-11-05 12:24:05 +01:00
|
|
|
REQ_get_mapping_committed_range,
|
|
|
|
REQ_add_mapping_committed_range,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_create_snapshot,
|
|
|
|
REQ_next_process,
|
|
|
|
REQ_next_thread,
|
|
|
|
REQ_wait_debug_event,
|
|
|
|
REQ_queue_exception_event,
|
|
|
|
REQ_get_exception_status,
|
|
|
|
REQ_output_debug_string,
|
|
|
|
REQ_continue_debug_event,
|
|
|
|
REQ_debug_process,
|
2002-02-27 02:55:02 +01:00
|
|
|
REQ_debug_break,
|
2002-02-27 02:28:30 +01:00
|
|
|
REQ_set_debugger_kill_on_exit,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_read_process_memory,
|
|
|
|
REQ_write_process_memory,
|
|
|
|
REQ_create_key,
|
|
|
|
REQ_open_key,
|
|
|
|
REQ_delete_key,
|
2004-01-03 01:38:30 +01:00
|
|
|
REQ_flush_key,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_enum_key,
|
|
|
|
REQ_set_key_value,
|
|
|
|
REQ_get_key_value,
|
|
|
|
REQ_enum_key_value,
|
|
|
|
REQ_delete_key_value,
|
|
|
|
REQ_load_registry,
|
2003-08-19 05:08:17 +02:00
|
|
|
REQ_unload_registry,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_save_registry,
|
2002-11-25 03:47:32 +01:00
|
|
|
REQ_set_registry_notification,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_create_timer,
|
|
|
|
REQ_open_timer,
|
|
|
|
REQ_set_timer,
|
|
|
|
REQ_cancel_timer,
|
2004-12-13 22:10:58 +01:00
|
|
|
REQ_get_timer_info,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_get_thread_context,
|
|
|
|
REQ_set_thread_context,
|
|
|
|
REQ_get_selector_entry,
|
|
|
|
REQ_add_atom,
|
|
|
|
REQ_delete_atom,
|
|
|
|
REQ_find_atom,
|
2005-05-10 17:15:50 +02:00
|
|
|
REQ_get_atom_information,
|
|
|
|
REQ_set_atom_information,
|
|
|
|
REQ_empty_atom_table,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_init_atom_table,
|
|
|
|
REQ_get_msg_queue,
|
2007-04-04 18:02:01 +02:00
|
|
|
REQ_set_queue_fd,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_set_queue_mask,
|
|
|
|
REQ_get_queue_status,
|
2006-07-26 11:48:25 +02:00
|
|
|
REQ_get_process_idle_event,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_send_message,
|
2006-01-17 13:14:31 +01:00
|
|
|
REQ_post_quit_message,
|
2006-08-09 16:45:26 +02:00
|
|
|
REQ_send_hardware_message,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_get_message,
|
|
|
|
REQ_reply_message,
|
2005-03-23 11:33:17 +01:00
|
|
|
REQ_accept_hardware_message,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_get_message_reply,
|
|
|
|
REQ_set_win_timer,
|
|
|
|
REQ_kill_win_timer,
|
2007-12-28 03:59:13 +01:00
|
|
|
REQ_is_window_hung,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_get_serial_info,
|
|
|
|
REQ_set_serial_info,
|
2001-12-20 01:07:05 +01:00
|
|
|
REQ_register_async,
|
2005-01-14 20:54:38 +01:00
|
|
|
REQ_cancel_async,
|
2007-04-16 14:45:03 +02:00
|
|
|
REQ_ioctl,
|
2007-05-08 20:45:44 +02:00
|
|
|
REQ_get_ioctl_result,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_create_named_pipe,
|
2001-08-27 21:03:42 +02:00
|
|
|
REQ_get_named_pipe_info,
|
2001-08-28 20:44:52 +02:00
|
|
|
REQ_create_window,
|
|
|
|
REQ_destroy_window,
|
2005-07-08 13:37:40 +02:00
|
|
|
REQ_get_desktop_window,
|
2001-10-22 21:08:33 +02:00
|
|
|
REQ_set_window_owner,
|
2001-08-28 20:44:52 +02:00
|
|
|
REQ_get_window_info,
|
2001-10-22 21:08:33 +02:00
|
|
|
REQ_set_window_info,
|
2005-03-25 11:38:56 +01:00
|
|
|
REQ_set_parent,
|
2001-09-21 23:08:40 +02:00
|
|
|
REQ_get_window_parents,
|
|
|
|
REQ_get_window_children,
|
2004-07-21 00:17:38 +02:00
|
|
|
REQ_get_window_children_from_point,
|
2001-09-21 23:08:40 +02:00
|
|
|
REQ_get_window_tree,
|
2004-12-07 18:31:53 +01:00
|
|
|
REQ_set_window_pos,
|
2001-10-16 23:55:37 +02:00
|
|
|
REQ_get_window_rectangles,
|
2001-11-13 23:23:48 +01:00
|
|
|
REQ_get_window_text,
|
|
|
|
REQ_set_window_text,
|
2001-10-16 23:55:37 +02:00
|
|
|
REQ_get_windows_offset,
|
2004-06-23 22:44:58 +02:00
|
|
|
REQ_get_visible_region,
|
2004-06-29 05:53:25 +02:00
|
|
|
REQ_get_window_region,
|
|
|
|
REQ_set_window_region,
|
2004-12-07 18:31:53 +01:00
|
|
|
REQ_get_update_region,
|
2005-03-21 13:37:00 +01:00
|
|
|
REQ_update_window_zorder,
|
2004-12-07 18:31:53 +01:00
|
|
|
REQ_redraw_window,
|
2001-10-12 21:10:26 +02:00
|
|
|
REQ_set_window_property,
|
|
|
|
REQ_remove_window_property,
|
|
|
|
REQ_get_window_property,
|
|
|
|
REQ_get_window_properties,
|
2005-06-08 20:44:50 +02:00
|
|
|
REQ_create_winstation,
|
|
|
|
REQ_open_winstation,
|
|
|
|
REQ_close_winstation,
|
|
|
|
REQ_get_process_winstation,
|
|
|
|
REQ_set_process_winstation,
|
2007-12-05 16:45:32 +01:00
|
|
|
REQ_enum_winstation,
|
2005-06-08 20:44:50 +02:00
|
|
|
REQ_create_desktop,
|
|
|
|
REQ_open_desktop,
|
|
|
|
REQ_close_desktop,
|
|
|
|
REQ_get_thread_desktop,
|
|
|
|
REQ_set_thread_desktop,
|
2007-12-05 16:45:32 +01:00
|
|
|
REQ_enum_desktop,
|
2005-06-08 20:44:50 +02:00
|
|
|
REQ_set_user_object_info,
|
2002-10-11 20:50:15 +02:00
|
|
|
REQ_attach_thread_input,
|
|
|
|
REQ_get_thread_input,
|
2005-04-28 14:04:14 +02:00
|
|
|
REQ_get_last_input_time,
|
2003-01-08 20:56:31 +01:00
|
|
|
REQ_get_key_state,
|
|
|
|
REQ_set_key_state,
|
2002-10-12 01:41:06 +02:00
|
|
|
REQ_set_foreground_window,
|
|
|
|
REQ_set_focus_window,
|
|
|
|
REQ_set_active_window,
|
2002-10-12 03:24:37 +02:00
|
|
|
REQ_set_capture_window,
|
2002-10-17 03:24:33 +02:00
|
|
|
REQ_set_caret_window,
|
|
|
|
REQ_set_caret_info,
|
2002-10-29 01:41:42 +01:00
|
|
|
REQ_set_hook,
|
|
|
|
REQ_remove_hook,
|
|
|
|
REQ_start_hook_chain,
|
|
|
|
REQ_finish_hook_chain,
|
2006-10-05 14:05:48 +02:00
|
|
|
REQ_get_hook_info,
|
2003-12-10 05:08:06 +01:00
|
|
|
REQ_create_class,
|
|
|
|
REQ_destroy_class,
|
|
|
|
REQ_set_class_info,
|
2003-06-24 01:02:02 +02:00
|
|
|
REQ_set_clipboard_info,
|
2003-07-24 02:07:00 +02:00
|
|
|
REQ_open_token,
|
2003-10-07 05:40:23 +02:00
|
|
|
REQ_set_global_windows,
|
2005-02-11 12:52:06 +01:00
|
|
|
REQ_adjust_token_privileges,
|
|
|
|
REQ_get_token_privileges,
|
2005-04-22 23:17:15 +02:00
|
|
|
REQ_check_token_privileges,
|
2005-02-11 12:52:06 +01:00
|
|
|
REQ_duplicate_token,
|
2005-05-24 14:32:18 +02:00
|
|
|
REQ_access_check,
|
2005-07-18 15:22:55 +02:00
|
|
|
REQ_get_token_user,
|
2006-05-13 17:58:19 +02:00
|
|
|
REQ_get_token_groups,
|
2009-04-21 09:53:16 +02:00
|
|
|
REQ_get_token_default_dacl,
|
|
|
|
REQ_set_token_default_dacl,
|
2007-02-08 05:43:11 +01:00
|
|
|
REQ_set_security_object,
|
2007-10-02 16:55:13 +02:00
|
|
|
REQ_get_security_object,
|
2005-03-30 21:02:15 +02:00
|
|
|
REQ_create_mailslot,
|
|
|
|
REQ_set_mailslot_info,
|
2005-11-29 17:21:05 +01:00
|
|
|
REQ_create_directory,
|
|
|
|
REQ_open_directory,
|
2007-12-05 16:57:41 +01:00
|
|
|
REQ_get_directory_entry,
|
2005-11-30 19:22:57 +01:00
|
|
|
REQ_create_symlink,
|
|
|
|
REQ_open_symlink,
|
|
|
|
REQ_query_symlink,
|
2007-01-25 07:43:04 +01:00
|
|
|
REQ_get_object_info,
|
2008-10-20 16:21:06 +02:00
|
|
|
REQ_unlink_object,
|
2007-02-21 18:10:45 +01:00
|
|
|
REQ_get_token_impersonation_level,
|
2007-03-07 01:33:26 +01:00
|
|
|
REQ_allocate_locally_unique_id,
|
2007-05-08 20:28:37 +02:00
|
|
|
REQ_create_device_manager,
|
|
|
|
REQ_create_device,
|
|
|
|
REQ_delete_device,
|
2007-05-08 20:40:26 +02:00
|
|
|
REQ_get_next_device_request,
|
2007-06-06 20:33:13 +02:00
|
|
|
REQ_make_process_system,
|
2007-09-13 17:47:56 +02:00
|
|
|
REQ_get_token_statistics,
|
2007-09-17 22:00:45 +02:00
|
|
|
REQ_create_completion,
|
|
|
|
REQ_open_completion,
|
|
|
|
REQ_add_completion,
|
|
|
|
REQ_remove_completion,
|
|
|
|
REQ_query_completion,
|
2007-09-27 22:03:39 +02:00
|
|
|
REQ_set_completion_info,
|
2007-11-09 23:11:58 +01:00
|
|
|
REQ_add_fd_completion,
|
2008-09-12 15:30:47 +02:00
|
|
|
REQ_get_window_layered_info,
|
|
|
|
REQ_set_window_layered_info,
|
2001-07-19 02:39:09 +02:00
|
|
|
REQ_NB_REQUESTS
|
|
|
|
};
|
|
|
|
|
|
|
|
union generic_request
|
|
|
|
{
|
|
|
|
struct request_max_size max_size;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct request_header request_header;
|
|
|
|
struct new_process_request new_process_request;
|
|
|
|
struct get_new_process_info_request get_new_process_info_request;
|
|
|
|
struct new_thread_request new_thread_request;
|
2002-03-29 19:28:56 +01:00
|
|
|
struct get_startup_info_request get_startup_info_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct init_process_done_request init_process_done_request;
|
|
|
|
struct init_thread_request init_thread_request;
|
|
|
|
struct terminate_process_request terminate_process_request;
|
|
|
|
struct terminate_thread_request terminate_thread_request;
|
|
|
|
struct get_process_info_request get_process_info_request;
|
|
|
|
struct set_process_info_request set_process_info_request;
|
|
|
|
struct get_thread_info_request get_thread_info_request;
|
|
|
|
struct set_thread_info_request set_thread_info_request;
|
2003-01-09 01:01:28 +01:00
|
|
|
struct get_dll_info_request get_dll_info_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct suspend_thread_request suspend_thread_request;
|
|
|
|
struct resume_thread_request resume_thread_request;
|
|
|
|
struct load_dll_request load_dll_request;
|
|
|
|
struct unload_dll_request unload_dll_request;
|
|
|
|
struct queue_apc_request queue_apc_request;
|
2007-01-15 22:24:40 +01:00
|
|
|
struct get_apc_result_request get_apc_result_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct close_handle_request close_handle_request;
|
|
|
|
struct set_handle_info_request set_handle_info_request;
|
|
|
|
struct dup_handle_request dup_handle_request;
|
|
|
|
struct open_process_request open_process_request;
|
2002-04-02 02:49:05 +02:00
|
|
|
struct open_thread_request open_thread_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct select_request select_request;
|
|
|
|
struct create_event_request create_event_request;
|
|
|
|
struct event_op_request event_op_request;
|
|
|
|
struct open_event_request open_event_request;
|
|
|
|
struct create_mutex_request create_mutex_request;
|
|
|
|
struct release_mutex_request release_mutex_request;
|
|
|
|
struct open_mutex_request open_mutex_request;
|
|
|
|
struct create_semaphore_request create_semaphore_request;
|
|
|
|
struct release_semaphore_request release_semaphore_request;
|
|
|
|
struct open_semaphore_request open_semaphore_request;
|
|
|
|
struct create_file_request create_file_request;
|
2005-12-12 14:27:45 +01:00
|
|
|
struct open_file_object_request open_file_object_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct alloc_file_handle_request alloc_file_handle_request;
|
|
|
|
struct get_handle_fd_request get_handle_fd_request;
|
|
|
|
struct flush_file_request flush_file_request;
|
|
|
|
struct lock_file_request lock_file_request;
|
|
|
|
struct unlock_file_request unlock_file_request;
|
|
|
|
struct create_socket_request create_socket_request;
|
|
|
|
struct accept_socket_request accept_socket_request;
|
|
|
|
struct set_socket_event_request set_socket_event_request;
|
|
|
|
struct get_socket_event_request get_socket_event_request;
|
|
|
|
struct enable_socket_event_request enable_socket_event_request;
|
2002-04-24 00:03:42 +02:00
|
|
|
struct set_socket_deferred_request set_socket_deferred_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct alloc_console_request alloc_console_request;
|
|
|
|
struct free_console_request free_console_request;
|
|
|
|
struct get_console_renderer_events_request get_console_renderer_events_request;
|
|
|
|
struct open_console_request open_console_request;
|
2003-06-21 04:07:10 +02:00
|
|
|
struct get_console_wait_event_request get_console_wait_event_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_console_mode_request get_console_mode_request;
|
|
|
|
struct set_console_mode_request set_console_mode_request;
|
|
|
|
struct set_console_input_info_request set_console_input_info_request;
|
|
|
|
struct get_console_input_info_request get_console_input_info_request;
|
|
|
|
struct append_console_input_history_request append_console_input_history_request;
|
|
|
|
struct get_console_input_history_request get_console_input_history_request;
|
|
|
|
struct create_console_output_request create_console_output_request;
|
|
|
|
struct set_console_output_info_request set_console_output_info_request;
|
|
|
|
struct get_console_output_info_request get_console_output_info_request;
|
|
|
|
struct write_console_input_request write_console_input_request;
|
|
|
|
struct read_console_input_request read_console_input_request;
|
|
|
|
struct write_console_output_request write_console_output_request;
|
|
|
|
struct fill_console_output_request fill_console_output_request;
|
|
|
|
struct read_console_output_request read_console_output_request;
|
|
|
|
struct move_console_output_request move_console_output_request;
|
2002-06-02 23:22:22 +02:00
|
|
|
struct send_console_signal_request send_console_signal_request;
|
2006-01-27 12:13:56 +01:00
|
|
|
struct read_directory_changes_request read_directory_changes_request;
|
2006-02-06 11:58:55 +01:00
|
|
|
struct read_change_request read_change_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_mapping_request create_mapping_request;
|
|
|
|
struct open_mapping_request open_mapping_request;
|
|
|
|
struct get_mapping_info_request get_mapping_info_request;
|
2008-11-05 12:24:05 +01:00
|
|
|
struct get_mapping_committed_range_request get_mapping_committed_range_request;
|
|
|
|
struct add_mapping_committed_range_request add_mapping_committed_range_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_snapshot_request create_snapshot_request;
|
|
|
|
struct next_process_request next_process_request;
|
|
|
|
struct next_thread_request next_thread_request;
|
|
|
|
struct wait_debug_event_request wait_debug_event_request;
|
|
|
|
struct queue_exception_event_request queue_exception_event_request;
|
|
|
|
struct get_exception_status_request get_exception_status_request;
|
|
|
|
struct output_debug_string_request output_debug_string_request;
|
|
|
|
struct continue_debug_event_request continue_debug_event_request;
|
|
|
|
struct debug_process_request debug_process_request;
|
2002-02-27 02:55:02 +01:00
|
|
|
struct debug_break_request debug_break_request;
|
2002-02-27 02:28:30 +01:00
|
|
|
struct set_debugger_kill_on_exit_request set_debugger_kill_on_exit_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct read_process_memory_request read_process_memory_request;
|
|
|
|
struct write_process_memory_request write_process_memory_request;
|
|
|
|
struct create_key_request create_key_request;
|
|
|
|
struct open_key_request open_key_request;
|
|
|
|
struct delete_key_request delete_key_request;
|
2004-01-03 01:38:30 +01:00
|
|
|
struct flush_key_request flush_key_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct enum_key_request enum_key_request;
|
|
|
|
struct set_key_value_request set_key_value_request;
|
|
|
|
struct get_key_value_request get_key_value_request;
|
|
|
|
struct enum_key_value_request enum_key_value_request;
|
|
|
|
struct delete_key_value_request delete_key_value_request;
|
|
|
|
struct load_registry_request load_registry_request;
|
2003-08-19 05:08:17 +02:00
|
|
|
struct unload_registry_request unload_registry_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct save_registry_request save_registry_request;
|
2002-11-25 03:47:32 +01:00
|
|
|
struct set_registry_notification_request set_registry_notification_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_timer_request create_timer_request;
|
|
|
|
struct open_timer_request open_timer_request;
|
|
|
|
struct set_timer_request set_timer_request;
|
|
|
|
struct cancel_timer_request cancel_timer_request;
|
2004-12-13 22:10:58 +01:00
|
|
|
struct get_timer_info_request get_timer_info_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_thread_context_request get_thread_context_request;
|
|
|
|
struct set_thread_context_request set_thread_context_request;
|
|
|
|
struct get_selector_entry_request get_selector_entry_request;
|
|
|
|
struct add_atom_request add_atom_request;
|
|
|
|
struct delete_atom_request delete_atom_request;
|
|
|
|
struct find_atom_request find_atom_request;
|
2005-05-10 17:15:50 +02:00
|
|
|
struct get_atom_information_request get_atom_information_request;
|
|
|
|
struct set_atom_information_request set_atom_information_request;
|
|
|
|
struct empty_atom_table_request empty_atom_table_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct init_atom_table_request init_atom_table_request;
|
|
|
|
struct get_msg_queue_request get_msg_queue_request;
|
2007-04-04 18:02:01 +02:00
|
|
|
struct set_queue_fd_request set_queue_fd_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_queue_mask_request set_queue_mask_request;
|
|
|
|
struct get_queue_status_request get_queue_status_request;
|
2006-07-26 11:48:25 +02:00
|
|
|
struct get_process_idle_event_request get_process_idle_event_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct send_message_request send_message_request;
|
2006-01-17 13:14:31 +01:00
|
|
|
struct post_quit_message_request post_quit_message_request;
|
2006-08-09 16:45:26 +02:00
|
|
|
struct send_hardware_message_request send_hardware_message_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_message_request get_message_request;
|
|
|
|
struct reply_message_request reply_message_request;
|
2005-03-23 11:33:17 +01:00
|
|
|
struct accept_hardware_message_request accept_hardware_message_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_message_reply_request get_message_reply_request;
|
|
|
|
struct set_win_timer_request set_win_timer_request;
|
|
|
|
struct kill_win_timer_request kill_win_timer_request;
|
2007-12-28 03:59:13 +01:00
|
|
|
struct is_window_hung_request is_window_hung_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_serial_info_request get_serial_info_request;
|
|
|
|
struct set_serial_info_request set_serial_info_request;
|
2001-12-20 01:07:05 +01:00
|
|
|
struct register_async_request register_async_request;
|
2005-01-14 20:54:38 +01:00
|
|
|
struct cancel_async_request cancel_async_request;
|
2007-04-16 14:45:03 +02:00
|
|
|
struct ioctl_request ioctl_request;
|
2007-05-08 20:45:44 +02:00
|
|
|
struct get_ioctl_result_request get_ioctl_result_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_named_pipe_request create_named_pipe_request;
|
|
|
|
struct get_named_pipe_info_request get_named_pipe_info_request;
|
|
|
|
struct create_window_request create_window_request;
|
|
|
|
struct destroy_window_request destroy_window_request;
|
2005-07-08 13:37:40 +02:00
|
|
|
struct get_desktop_window_request get_desktop_window_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_window_owner_request set_window_owner_request;
|
|
|
|
struct get_window_info_request get_window_info_request;
|
|
|
|
struct set_window_info_request set_window_info_request;
|
2005-03-25 11:38:56 +01:00
|
|
|
struct set_parent_request set_parent_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_window_parents_request get_window_parents_request;
|
|
|
|
struct get_window_children_request get_window_children_request;
|
2004-07-21 00:17:38 +02:00
|
|
|
struct get_window_children_from_point_request get_window_children_from_point_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_window_tree_request get_window_tree_request;
|
2004-12-07 18:31:53 +01:00
|
|
|
struct set_window_pos_request set_window_pos_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_window_rectangles_request get_window_rectangles_request;
|
|
|
|
struct get_window_text_request get_window_text_request;
|
|
|
|
struct set_window_text_request set_window_text_request;
|
|
|
|
struct get_windows_offset_request get_windows_offset_request;
|
2004-06-23 22:44:58 +02:00
|
|
|
struct get_visible_region_request get_visible_region_request;
|
2004-06-29 05:53:25 +02:00
|
|
|
struct get_window_region_request get_window_region_request;
|
|
|
|
struct set_window_region_request set_window_region_request;
|
2004-12-07 18:31:53 +01:00
|
|
|
struct get_update_region_request get_update_region_request;
|
2005-03-21 13:37:00 +01:00
|
|
|
struct update_window_zorder_request update_window_zorder_request;
|
2004-12-07 18:31:53 +01:00
|
|
|
struct redraw_window_request redraw_window_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_window_property_request set_window_property_request;
|
|
|
|
struct remove_window_property_request remove_window_property_request;
|
|
|
|
struct get_window_property_request get_window_property_request;
|
|
|
|
struct get_window_properties_request get_window_properties_request;
|
2005-06-08 20:44:50 +02:00
|
|
|
struct create_winstation_request create_winstation_request;
|
|
|
|
struct open_winstation_request open_winstation_request;
|
|
|
|
struct close_winstation_request close_winstation_request;
|
|
|
|
struct get_process_winstation_request get_process_winstation_request;
|
|
|
|
struct set_process_winstation_request set_process_winstation_request;
|
2007-12-05 16:45:32 +01:00
|
|
|
struct enum_winstation_request enum_winstation_request;
|
2005-06-08 20:44:50 +02:00
|
|
|
struct create_desktop_request create_desktop_request;
|
|
|
|
struct open_desktop_request open_desktop_request;
|
|
|
|
struct close_desktop_request close_desktop_request;
|
|
|
|
struct get_thread_desktop_request get_thread_desktop_request;
|
|
|
|
struct set_thread_desktop_request set_thread_desktop_request;
|
2007-12-05 16:45:32 +01:00
|
|
|
struct enum_desktop_request enum_desktop_request;
|
2005-06-08 20:44:50 +02:00
|
|
|
struct set_user_object_info_request set_user_object_info_request;
|
2002-10-11 20:50:15 +02:00
|
|
|
struct attach_thread_input_request attach_thread_input_request;
|
|
|
|
struct get_thread_input_request get_thread_input_request;
|
2005-04-28 14:04:14 +02:00
|
|
|
struct get_last_input_time_request get_last_input_time_request;
|
2003-01-08 20:56:31 +01:00
|
|
|
struct get_key_state_request get_key_state_request;
|
|
|
|
struct set_key_state_request set_key_state_request;
|
2002-10-12 01:41:06 +02:00
|
|
|
struct set_foreground_window_request set_foreground_window_request;
|
|
|
|
struct set_focus_window_request set_focus_window_request;
|
|
|
|
struct set_active_window_request set_active_window_request;
|
2002-10-12 03:24:37 +02:00
|
|
|
struct set_capture_window_request set_capture_window_request;
|
2002-10-17 03:24:33 +02:00
|
|
|
struct set_caret_window_request set_caret_window_request;
|
|
|
|
struct set_caret_info_request set_caret_info_request;
|
2002-10-29 01:41:42 +01:00
|
|
|
struct set_hook_request set_hook_request;
|
|
|
|
struct remove_hook_request remove_hook_request;
|
|
|
|
struct start_hook_chain_request start_hook_chain_request;
|
|
|
|
struct finish_hook_chain_request finish_hook_chain_request;
|
2006-10-05 14:05:48 +02:00
|
|
|
struct get_hook_info_request get_hook_info_request;
|
2003-12-10 05:08:06 +01:00
|
|
|
struct create_class_request create_class_request;
|
|
|
|
struct destroy_class_request destroy_class_request;
|
|
|
|
struct set_class_info_request set_class_info_request;
|
2003-06-24 01:02:02 +02:00
|
|
|
struct set_clipboard_info_request set_clipboard_info_request;
|
2003-07-24 02:07:00 +02:00
|
|
|
struct open_token_request open_token_request;
|
2003-10-07 05:40:23 +02:00
|
|
|
struct set_global_windows_request set_global_windows_request;
|
2005-02-11 12:52:06 +01:00
|
|
|
struct adjust_token_privileges_request adjust_token_privileges_request;
|
|
|
|
struct get_token_privileges_request get_token_privileges_request;
|
2005-04-22 23:17:15 +02:00
|
|
|
struct check_token_privileges_request check_token_privileges_request;
|
2005-02-11 12:52:06 +01:00
|
|
|
struct duplicate_token_request duplicate_token_request;
|
2005-05-24 14:32:18 +02:00
|
|
|
struct access_check_request access_check_request;
|
2005-07-18 15:22:55 +02:00
|
|
|
struct get_token_user_request get_token_user_request;
|
2006-05-13 17:58:19 +02:00
|
|
|
struct get_token_groups_request get_token_groups_request;
|
2009-04-21 09:53:16 +02:00
|
|
|
struct get_token_default_dacl_request get_token_default_dacl_request;
|
|
|
|
struct set_token_default_dacl_request set_token_default_dacl_request;
|
2007-02-08 05:43:11 +01:00
|
|
|
struct set_security_object_request set_security_object_request;
|
2007-10-02 16:55:13 +02:00
|
|
|
struct get_security_object_request get_security_object_request;
|
2005-03-30 21:02:15 +02:00
|
|
|
struct create_mailslot_request create_mailslot_request;
|
|
|
|
struct set_mailslot_info_request set_mailslot_info_request;
|
2005-11-29 17:21:05 +01:00
|
|
|
struct create_directory_request create_directory_request;
|
|
|
|
struct open_directory_request open_directory_request;
|
2007-12-05 16:57:41 +01:00
|
|
|
struct get_directory_entry_request get_directory_entry_request;
|
2005-11-30 19:22:57 +01:00
|
|
|
struct create_symlink_request create_symlink_request;
|
|
|
|
struct open_symlink_request open_symlink_request;
|
|
|
|
struct query_symlink_request query_symlink_request;
|
2007-01-25 07:43:04 +01:00
|
|
|
struct get_object_info_request get_object_info_request;
|
2008-10-20 16:21:06 +02:00
|
|
|
struct unlink_object_request unlink_object_request;
|
2007-02-21 18:10:45 +01:00
|
|
|
struct get_token_impersonation_level_request get_token_impersonation_level_request;
|
2007-03-07 01:33:26 +01:00
|
|
|
struct allocate_locally_unique_id_request allocate_locally_unique_id_request;
|
2007-05-08 20:28:37 +02:00
|
|
|
struct create_device_manager_request create_device_manager_request;
|
|
|
|
struct create_device_request create_device_request;
|
|
|
|
struct delete_device_request delete_device_request;
|
2007-05-08 20:40:26 +02:00
|
|
|
struct get_next_device_request_request get_next_device_request_request;
|
2007-06-06 20:33:13 +02:00
|
|
|
struct make_process_system_request make_process_system_request;
|
2007-09-13 17:47:56 +02:00
|
|
|
struct get_token_statistics_request get_token_statistics_request;
|
2007-09-17 22:00:45 +02:00
|
|
|
struct create_completion_request create_completion_request;
|
|
|
|
struct open_completion_request open_completion_request;
|
|
|
|
struct add_completion_request add_completion_request;
|
|
|
|
struct remove_completion_request remove_completion_request;
|
|
|
|
struct query_completion_request query_completion_request;
|
2007-09-27 22:03:39 +02:00
|
|
|
struct set_completion_info_request set_completion_info_request;
|
2007-11-09 23:11:58 +01:00
|
|
|
struct add_fd_completion_request add_fd_completion_request;
|
2008-09-12 15:30:47 +02:00
|
|
|
struct get_window_layered_info_request get_window_layered_info_request;
|
|
|
|
struct set_window_layered_info_request set_window_layered_info_request;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
union generic_reply
|
|
|
|
{
|
|
|
|
struct request_max_size max_size;
|
|
|
|
struct reply_header reply_header;
|
|
|
|
struct new_process_reply new_process_reply;
|
|
|
|
struct get_new_process_info_reply get_new_process_info_reply;
|
|
|
|
struct new_thread_reply new_thread_reply;
|
2002-03-29 19:28:56 +01:00
|
|
|
struct get_startup_info_reply get_startup_info_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct init_process_done_reply init_process_done_reply;
|
|
|
|
struct init_thread_reply init_thread_reply;
|
|
|
|
struct terminate_process_reply terminate_process_reply;
|
|
|
|
struct terminate_thread_reply terminate_thread_reply;
|
|
|
|
struct get_process_info_reply get_process_info_reply;
|
|
|
|
struct set_process_info_reply set_process_info_reply;
|
|
|
|
struct get_thread_info_reply get_thread_info_reply;
|
|
|
|
struct set_thread_info_reply set_thread_info_reply;
|
2003-01-09 01:01:28 +01:00
|
|
|
struct get_dll_info_reply get_dll_info_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct suspend_thread_reply suspend_thread_reply;
|
|
|
|
struct resume_thread_reply resume_thread_reply;
|
|
|
|
struct load_dll_reply load_dll_reply;
|
|
|
|
struct unload_dll_reply unload_dll_reply;
|
|
|
|
struct queue_apc_reply queue_apc_reply;
|
2007-01-15 22:24:40 +01:00
|
|
|
struct get_apc_result_reply get_apc_result_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct close_handle_reply close_handle_reply;
|
|
|
|
struct set_handle_info_reply set_handle_info_reply;
|
|
|
|
struct dup_handle_reply dup_handle_reply;
|
|
|
|
struct open_process_reply open_process_reply;
|
2002-04-02 02:49:05 +02:00
|
|
|
struct open_thread_reply open_thread_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct select_reply select_reply;
|
|
|
|
struct create_event_reply create_event_reply;
|
|
|
|
struct event_op_reply event_op_reply;
|
|
|
|
struct open_event_reply open_event_reply;
|
|
|
|
struct create_mutex_reply create_mutex_reply;
|
|
|
|
struct release_mutex_reply release_mutex_reply;
|
|
|
|
struct open_mutex_reply open_mutex_reply;
|
|
|
|
struct create_semaphore_reply create_semaphore_reply;
|
|
|
|
struct release_semaphore_reply release_semaphore_reply;
|
|
|
|
struct open_semaphore_reply open_semaphore_reply;
|
|
|
|
struct create_file_reply create_file_reply;
|
2005-12-12 14:27:45 +01:00
|
|
|
struct open_file_object_reply open_file_object_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct alloc_file_handle_reply alloc_file_handle_reply;
|
|
|
|
struct get_handle_fd_reply get_handle_fd_reply;
|
|
|
|
struct flush_file_reply flush_file_reply;
|
|
|
|
struct lock_file_reply lock_file_reply;
|
|
|
|
struct unlock_file_reply unlock_file_reply;
|
|
|
|
struct create_socket_reply create_socket_reply;
|
|
|
|
struct accept_socket_reply accept_socket_reply;
|
|
|
|
struct set_socket_event_reply set_socket_event_reply;
|
|
|
|
struct get_socket_event_reply get_socket_event_reply;
|
|
|
|
struct enable_socket_event_reply enable_socket_event_reply;
|
2002-04-24 00:03:42 +02:00
|
|
|
struct set_socket_deferred_reply set_socket_deferred_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct alloc_console_reply alloc_console_reply;
|
|
|
|
struct free_console_reply free_console_reply;
|
|
|
|
struct get_console_renderer_events_reply get_console_renderer_events_reply;
|
|
|
|
struct open_console_reply open_console_reply;
|
2003-06-21 04:07:10 +02:00
|
|
|
struct get_console_wait_event_reply get_console_wait_event_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_console_mode_reply get_console_mode_reply;
|
|
|
|
struct set_console_mode_reply set_console_mode_reply;
|
|
|
|
struct set_console_input_info_reply set_console_input_info_reply;
|
|
|
|
struct get_console_input_info_reply get_console_input_info_reply;
|
|
|
|
struct append_console_input_history_reply append_console_input_history_reply;
|
|
|
|
struct get_console_input_history_reply get_console_input_history_reply;
|
|
|
|
struct create_console_output_reply create_console_output_reply;
|
|
|
|
struct set_console_output_info_reply set_console_output_info_reply;
|
|
|
|
struct get_console_output_info_reply get_console_output_info_reply;
|
|
|
|
struct write_console_input_reply write_console_input_reply;
|
|
|
|
struct read_console_input_reply read_console_input_reply;
|
|
|
|
struct write_console_output_reply write_console_output_reply;
|
|
|
|
struct fill_console_output_reply fill_console_output_reply;
|
|
|
|
struct read_console_output_reply read_console_output_reply;
|
|
|
|
struct move_console_output_reply move_console_output_reply;
|
2002-06-02 23:22:22 +02:00
|
|
|
struct send_console_signal_reply send_console_signal_reply;
|
2006-01-27 12:13:56 +01:00
|
|
|
struct read_directory_changes_reply read_directory_changes_reply;
|
2006-02-06 11:58:55 +01:00
|
|
|
struct read_change_reply read_change_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_mapping_reply create_mapping_reply;
|
|
|
|
struct open_mapping_reply open_mapping_reply;
|
|
|
|
struct get_mapping_info_reply get_mapping_info_reply;
|
2008-11-05 12:24:05 +01:00
|
|
|
struct get_mapping_committed_range_reply get_mapping_committed_range_reply;
|
|
|
|
struct add_mapping_committed_range_reply add_mapping_committed_range_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_snapshot_reply create_snapshot_reply;
|
|
|
|
struct next_process_reply next_process_reply;
|
|
|
|
struct next_thread_reply next_thread_reply;
|
|
|
|
struct wait_debug_event_reply wait_debug_event_reply;
|
|
|
|
struct queue_exception_event_reply queue_exception_event_reply;
|
|
|
|
struct get_exception_status_reply get_exception_status_reply;
|
|
|
|
struct output_debug_string_reply output_debug_string_reply;
|
|
|
|
struct continue_debug_event_reply continue_debug_event_reply;
|
|
|
|
struct debug_process_reply debug_process_reply;
|
2002-02-27 02:55:02 +01:00
|
|
|
struct debug_break_reply debug_break_reply;
|
2002-02-27 02:28:30 +01:00
|
|
|
struct set_debugger_kill_on_exit_reply set_debugger_kill_on_exit_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct read_process_memory_reply read_process_memory_reply;
|
|
|
|
struct write_process_memory_reply write_process_memory_reply;
|
|
|
|
struct create_key_reply create_key_reply;
|
|
|
|
struct open_key_reply open_key_reply;
|
|
|
|
struct delete_key_reply delete_key_reply;
|
2004-01-03 01:38:30 +01:00
|
|
|
struct flush_key_reply flush_key_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct enum_key_reply enum_key_reply;
|
|
|
|
struct set_key_value_reply set_key_value_reply;
|
|
|
|
struct get_key_value_reply get_key_value_reply;
|
|
|
|
struct enum_key_value_reply enum_key_value_reply;
|
|
|
|
struct delete_key_value_reply delete_key_value_reply;
|
|
|
|
struct load_registry_reply load_registry_reply;
|
2003-08-19 05:08:17 +02:00
|
|
|
struct unload_registry_reply unload_registry_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct save_registry_reply save_registry_reply;
|
2002-11-25 03:47:32 +01:00
|
|
|
struct set_registry_notification_reply set_registry_notification_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_timer_reply create_timer_reply;
|
|
|
|
struct open_timer_reply open_timer_reply;
|
|
|
|
struct set_timer_reply set_timer_reply;
|
|
|
|
struct cancel_timer_reply cancel_timer_reply;
|
2004-12-13 22:10:58 +01:00
|
|
|
struct get_timer_info_reply get_timer_info_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_thread_context_reply get_thread_context_reply;
|
|
|
|
struct set_thread_context_reply set_thread_context_reply;
|
|
|
|
struct get_selector_entry_reply get_selector_entry_reply;
|
|
|
|
struct add_atom_reply add_atom_reply;
|
|
|
|
struct delete_atom_reply delete_atom_reply;
|
|
|
|
struct find_atom_reply find_atom_reply;
|
2005-05-10 17:15:50 +02:00
|
|
|
struct get_atom_information_reply get_atom_information_reply;
|
|
|
|
struct set_atom_information_reply set_atom_information_reply;
|
|
|
|
struct empty_atom_table_reply empty_atom_table_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct init_atom_table_reply init_atom_table_reply;
|
|
|
|
struct get_msg_queue_reply get_msg_queue_reply;
|
2007-04-04 18:02:01 +02:00
|
|
|
struct set_queue_fd_reply set_queue_fd_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_queue_mask_reply set_queue_mask_reply;
|
|
|
|
struct get_queue_status_reply get_queue_status_reply;
|
2006-07-26 11:48:25 +02:00
|
|
|
struct get_process_idle_event_reply get_process_idle_event_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct send_message_reply send_message_reply;
|
2006-01-17 13:14:31 +01:00
|
|
|
struct post_quit_message_reply post_quit_message_reply;
|
2006-08-09 16:45:26 +02:00
|
|
|
struct send_hardware_message_reply send_hardware_message_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_message_reply get_message_reply;
|
|
|
|
struct reply_message_reply reply_message_reply;
|
2005-03-23 11:33:17 +01:00
|
|
|
struct accept_hardware_message_reply accept_hardware_message_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_message_reply_reply get_message_reply_reply;
|
|
|
|
struct set_win_timer_reply set_win_timer_reply;
|
|
|
|
struct kill_win_timer_reply kill_win_timer_reply;
|
2007-12-28 03:59:13 +01:00
|
|
|
struct is_window_hung_reply is_window_hung_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_serial_info_reply get_serial_info_reply;
|
|
|
|
struct set_serial_info_reply set_serial_info_reply;
|
2001-12-20 01:07:05 +01:00
|
|
|
struct register_async_reply register_async_reply;
|
2005-01-14 20:54:38 +01:00
|
|
|
struct cancel_async_reply cancel_async_reply;
|
2007-04-16 14:45:03 +02:00
|
|
|
struct ioctl_reply ioctl_reply;
|
2007-05-08 20:45:44 +02:00
|
|
|
struct get_ioctl_result_reply get_ioctl_result_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct create_named_pipe_reply create_named_pipe_reply;
|
|
|
|
struct get_named_pipe_info_reply get_named_pipe_info_reply;
|
|
|
|
struct create_window_reply create_window_reply;
|
|
|
|
struct destroy_window_reply destroy_window_reply;
|
2005-07-08 13:37:40 +02:00
|
|
|
struct get_desktop_window_reply get_desktop_window_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_window_owner_reply set_window_owner_reply;
|
|
|
|
struct get_window_info_reply get_window_info_reply;
|
|
|
|
struct set_window_info_reply set_window_info_reply;
|
2005-03-25 11:38:56 +01:00
|
|
|
struct set_parent_reply set_parent_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_window_parents_reply get_window_parents_reply;
|
|
|
|
struct get_window_children_reply get_window_children_reply;
|
2004-07-21 00:17:38 +02:00
|
|
|
struct get_window_children_from_point_reply get_window_children_from_point_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_window_tree_reply get_window_tree_reply;
|
2004-12-07 18:31:53 +01:00
|
|
|
struct set_window_pos_reply set_window_pos_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct get_window_rectangles_reply get_window_rectangles_reply;
|
|
|
|
struct get_window_text_reply get_window_text_reply;
|
|
|
|
struct set_window_text_reply set_window_text_reply;
|
|
|
|
struct get_windows_offset_reply get_windows_offset_reply;
|
2004-06-23 22:44:58 +02:00
|
|
|
struct get_visible_region_reply get_visible_region_reply;
|
2004-06-29 05:53:25 +02:00
|
|
|
struct get_window_region_reply get_window_region_reply;
|
|
|
|
struct set_window_region_reply set_window_region_reply;
|
2004-12-07 18:31:53 +01:00
|
|
|
struct get_update_region_reply get_update_region_reply;
|
2005-03-21 13:37:00 +01:00
|
|
|
struct update_window_zorder_reply update_window_zorder_reply;
|
2004-12-07 18:31:53 +01:00
|
|
|
struct redraw_window_reply redraw_window_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
struct set_window_property_reply set_window_property_reply;
|
|
|
|
struct remove_window_property_reply remove_window_property_reply;
|
|
|
|
struct get_window_property_reply get_window_property_reply;
|
|
|
|
struct get_window_properties_reply get_window_properties_reply;
|
2005-06-08 20:44:50 +02:00
|
|
|
struct create_winstation_reply create_winstation_reply;
|
|
|
|
struct open_winstation_reply open_winstation_reply;
|
|
|
|
struct close_winstation_reply close_winstation_reply;
|
|
|
|
struct get_process_winstation_reply get_process_winstation_reply;
|
|
|
|
struct set_process_winstation_reply set_process_winstation_reply;
|
2007-12-05 16:45:32 +01:00
|
|
|
struct enum_winstation_reply enum_winstation_reply;
|
2005-06-08 20:44:50 +02:00
|
|
|
struct create_desktop_reply create_desktop_reply;
|
|
|
|
struct open_desktop_reply open_desktop_reply;
|
|
|
|
struct close_desktop_reply close_desktop_reply;
|
|
|
|
struct get_thread_desktop_reply get_thread_desktop_reply;
|
|
|
|
struct set_thread_desktop_reply set_thread_desktop_reply;
|
2007-12-05 16:45:32 +01:00
|
|
|
struct enum_desktop_reply enum_desktop_reply;
|
2005-06-08 20:44:50 +02:00
|
|
|
struct set_user_object_info_reply set_user_object_info_reply;
|
2002-10-11 20:50:15 +02:00
|
|
|
struct attach_thread_input_reply attach_thread_input_reply;
|
|
|
|
struct get_thread_input_reply get_thread_input_reply;
|
2005-04-28 14:04:14 +02:00
|
|
|
struct get_last_input_time_reply get_last_input_time_reply;
|
2003-01-08 20:56:31 +01:00
|
|
|
struct get_key_state_reply get_key_state_reply;
|
|
|
|
struct set_key_state_reply set_key_state_reply;
|
2002-10-12 01:41:06 +02:00
|
|
|
struct set_foreground_window_reply set_foreground_window_reply;
|
|
|
|
struct set_focus_window_reply set_focus_window_reply;
|
|
|
|
struct set_active_window_reply set_active_window_reply;
|
2002-10-12 03:24:37 +02:00
|
|
|
struct set_capture_window_reply set_capture_window_reply;
|
2002-10-17 03:24:33 +02:00
|
|
|
struct set_caret_window_reply set_caret_window_reply;
|
|
|
|
struct set_caret_info_reply set_caret_info_reply;
|
2002-10-29 01:41:42 +01:00
|
|
|
struct set_hook_reply set_hook_reply;
|
|
|
|
struct remove_hook_reply remove_hook_reply;
|
|
|
|
struct start_hook_chain_reply start_hook_chain_reply;
|
|
|
|
struct finish_hook_chain_reply finish_hook_chain_reply;
|
2006-10-05 14:05:48 +02:00
|
|
|
struct get_hook_info_reply get_hook_info_reply;
|
2003-12-10 05:08:06 +01:00
|
|
|
struct create_class_reply create_class_reply;
|
|
|
|
struct destroy_class_reply destroy_class_reply;
|
|
|
|
struct set_class_info_reply set_class_info_reply;
|
2003-06-24 01:02:02 +02:00
|
|
|
struct set_clipboard_info_reply set_clipboard_info_reply;
|
2003-07-24 02:07:00 +02:00
|
|
|
struct open_token_reply open_token_reply;
|
2003-10-07 05:40:23 +02:00
|
|
|
struct set_global_windows_reply set_global_windows_reply;
|
2005-02-11 12:52:06 +01:00
|
|
|
struct adjust_token_privileges_reply adjust_token_privileges_reply;
|
|
|
|
struct get_token_privileges_reply get_token_privileges_reply;
|
2005-04-22 23:17:15 +02:00
|
|
|
struct check_token_privileges_reply check_token_privileges_reply;
|
2005-02-11 12:52:06 +01:00
|
|
|
struct duplicate_token_reply duplicate_token_reply;
|
2005-05-24 14:32:18 +02:00
|
|
|
struct access_check_reply access_check_reply;
|
2005-07-18 15:22:55 +02:00
|
|
|
struct get_token_user_reply get_token_user_reply;
|
2006-05-13 17:58:19 +02:00
|
|
|
struct get_token_groups_reply get_token_groups_reply;
|
2009-04-21 09:53:16 +02:00
|
|
|
struct get_token_default_dacl_reply get_token_default_dacl_reply;
|
|
|
|
struct set_token_default_dacl_reply set_token_default_dacl_reply;
|
2007-02-08 05:43:11 +01:00
|
|
|
struct set_security_object_reply set_security_object_reply;
|
2007-10-02 16:55:13 +02:00
|
|
|
struct get_security_object_reply get_security_object_reply;
|
2005-03-30 21:02:15 +02:00
|
|
|
struct create_mailslot_reply create_mailslot_reply;
|
|
|
|
struct set_mailslot_info_reply set_mailslot_info_reply;
|
2005-11-29 17:21:05 +01:00
|
|
|
struct create_directory_reply create_directory_reply;
|
|
|
|
struct open_directory_reply open_directory_reply;
|
2007-12-05 16:57:41 +01:00
|
|
|
struct get_directory_entry_reply get_directory_entry_reply;
|
2005-11-30 19:22:57 +01:00
|
|
|
struct create_symlink_reply create_symlink_reply;
|
|
|
|
struct open_symlink_reply open_symlink_reply;
|
|
|
|
struct query_symlink_reply query_symlink_reply;
|
2007-01-25 07:43:04 +01:00
|
|
|
struct get_object_info_reply get_object_info_reply;
|
2008-10-20 16:21:06 +02:00
|
|
|
struct unlink_object_reply unlink_object_reply;
|
2007-02-21 18:10:45 +01:00
|
|
|
struct get_token_impersonation_level_reply get_token_impersonation_level_reply;
|
2007-03-07 01:33:26 +01:00
|
|
|
struct allocate_locally_unique_id_reply allocate_locally_unique_id_reply;
|
2007-05-08 20:28:37 +02:00
|
|
|
struct create_device_manager_reply create_device_manager_reply;
|
|
|
|
struct create_device_reply create_device_reply;
|
|
|
|
struct delete_device_reply delete_device_reply;
|
2007-05-08 20:40:26 +02:00
|
|
|
struct get_next_device_request_reply get_next_device_request_reply;
|
2007-06-06 20:33:13 +02:00
|
|
|
struct make_process_system_reply make_process_system_reply;
|
2007-09-13 17:47:56 +02:00
|
|
|
struct get_token_statistics_reply get_token_statistics_reply;
|
2007-09-17 22:00:45 +02:00
|
|
|
struct create_completion_reply create_completion_reply;
|
|
|
|
struct open_completion_reply open_completion_reply;
|
|
|
|
struct add_completion_reply add_completion_reply;
|
|
|
|
struct remove_completion_reply remove_completion_reply;
|
|
|
|
struct query_completion_reply query_completion_reply;
|
2007-09-27 22:03:39 +02:00
|
|
|
struct set_completion_info_reply set_completion_info_reply;
|
2007-11-09 23:11:58 +01:00
|
|
|
struct add_fd_completion_reply add_fd_completion_reply;
|
2008-09-12 15:30:47 +02:00
|
|
|
struct get_window_layered_info_reply get_window_layered_info_reply;
|
|
|
|
struct set_window_layered_info_reply set_window_layered_info_reply;
|
2001-11-30 19:46:42 +01:00
|
|
|
};
|
|
|
|
|
2009-08-27 16:38:47 +02:00
|
|
|
#define SERVER_PROTOCOL_VERSION 390
|
2001-07-19 02:39:09 +02:00
|
|
|
|
|
|
|
#endif /* __WINE_WINE_SERVER_PROTOCOL_H */
|