⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 proto.h

📁 ReactOS是一些高手根据Windows XP的内核编写出的类XP。内核实现机理和API函数调用几乎相同。甚至可以兼容XP的程序。喜欢研究系统内核的人可以看一看。
💻 H
📖 第 1 页 / 共 2 页
字号:
BOOL rdpdr_abort_io(RDPCLIENT * This, uint32 fd, uint32 major, NTSTATUS status);
#endif
#if 0
/* rdpsnd.c */
void rdpsnd_send_completion(RDPCLIENT * This, uint16 tick, uint8 packet_index);
BOOL rdpsnd_init(RDPCLIENT * This);
/* rdpsnd_oss.c */
BOOL wave_out_open(void);
void wave_out_close(void);
BOOL wave_out_format_supported(WAVEFORMATEX * pwfx);
BOOL wave_out_set_format(WAVEFORMATEX * pwfx);
void wave_out_volume(uint16 left, uint16 right);
void wave_out_write(STREAM s, uint16 tick, uint8 index);
void wave_out_play(void);
#endif
/* secure.c */
void sec_hash_48(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2, uint8 salt);
void sec_hash_16(uint8 * out, uint8 * in, uint8 * salt1, uint8 * salt2);
void buf_out_uint32(uint8 * buffer, uint32 value);
void sec_sign(uint8 * signature, int siglen, uint8 * session_key, int keylen, uint8 * data,
	      int datalen);
void sec_decrypt(RDPCLIENT * This, uint8 * data, int length);
STREAM sec_init(RDPCLIENT * This, uint32 flags, int maxlen);
BOOL sec_send_to_channel(RDPCLIENT * This, STREAM s, uint32 flags, uint16 channel);
BOOL sec_send(RDPCLIENT * This, STREAM s, uint32 flags);
void sec_process_mcs_data(RDPCLIENT * This, STREAM s);
STREAM sec_recv(RDPCLIENT * This, uint8 * rdpver);
BOOL sec_connect(RDPCLIENT * This, char *server, wchar_t *hostname, char *cookie);
BOOL sec_reconnect(RDPCLIENT * This, char *server, wchar_t *hostname, char *cookie);
void sec_disconnect(RDPCLIENT * This);
void sec_reset_state(RDPCLIENT * This);
#if 0
/* serial.c */
int serial_enum_devices(RDPCLIENT * This, uint32 * id, char *optarg);
BOOL serial_get_event(RDPCLIENT * This, NTHANDLE handle, uint32 * result);
BOOL serial_get_timeout(RDPCLIENT * This, NTHANDLE handle, uint32 length, uint32 * timeout, uint32 * itv_timeout);
#endif
/* tcp.c */
STREAM tcp_init(RDPCLIENT * This, uint32 maxlen);
BOOL tcp_send(RDPCLIENT * This, STREAM s);
STREAM tcp_recv(RDPCLIENT * This, STREAM s, uint32 length);
BOOL tcp_connect(RDPCLIENT * This, char *server);
BOOL tcp_disconnect(RDPCLIENT * This);
wchar_t *tcp_get_address(RDPCLIENT * This);
void tcp_reset_state(RDPCLIENT * This);
/* xclip.c */
void ui_clip_format_announce(RDPCLIENT * This, uint8 * data, uint32 length);
void ui_clip_handle_data(RDPCLIENT * This, uint8 * data, uint32 length);
void ui_clip_request_failed(RDPCLIENT * This);
void ui_clip_request_data(RDPCLIENT * This, uint32 format);
void ui_clip_sync(RDPCLIENT * This);
void ui_clip_set_mode(RDPCLIENT * This, const char *optarg);
void xclip_init(RDPCLIENT * This);
void xclip_deinit(RDPCLIENT * This);
#if 0
/* xkeymap.c */
BOOL xkeymap_from_locale(RDPCLIENT * This, const char *locale);
FILE *xkeymap_open(const char *filename);
void xkeymap_init(RDPCLIENT * This);
BOOL handle_special_keys(RDPCLIENT * This, uint32 keysym, unsigned int state, uint32 ev_time, BOOL pressed);
key_translation xkeymap_translate_key(RDPCLIENT * This, uint32 keysym, unsigned int keycode, unsigned int state);
void xkeymap_send_keys(RDPCLIENT * This, uint32 keysym, unsigned int keycode, unsigned int state, uint32 ev_time,
		       BOOL pressed, uint8 nesting);
uint16 xkeymap_translate_button(unsigned int button);
char *get_ksname(uint32 keysym);
void save_remote_modifiers(RDPCLIENT * This, uint8 scancode);
void restore_remote_modifiers(RDPCLIENT * This, uint32 ev_time, uint8 scancode);
void ensure_remote_modifiers(RDPCLIENT * This, uint32 ev_time, key_translation tr);
unsigned int read_keyboard_state(RDPCLIENT * This);
uint16 ui_get_numlock_state(RDPCLIENT * This, unsigned int state);
void reset_modifier_keys(RDPCLIENT * This);
void rdp_send_scancode(RDPCLIENT * This, uint32 time, uint16 flags, uint8 scancode);
#endif
/* xwin.c */
BOOL get_key_state(RDPCLIENT * This, unsigned int state, uint32 keysym);
BOOL ui_init(RDPCLIENT * This);
void ui_deinit(RDPCLIENT * This);
BOOL ui_create_window(RDPCLIENT * This);
void ui_resize_window(RDPCLIENT * This);
void ui_destroy_window(RDPCLIENT * This);
void xwin_toggle_fullscreen(RDPCLIENT * This);
int ui_select(RDPCLIENT * This, SOCKET rdp_socket);
void ui_move_pointer(RDPCLIENT * This, int x, int y);
HBITMAP ui_create_bitmap(RDPCLIENT * This, int width, int height, uint8 * data);
void ui_paint_bitmap(RDPCLIENT * This, int x, int y, int cx, int cy, int width, int height, uint8 * data);
void ui_destroy_bitmap(RDPCLIENT * This, HBITMAP bmp);
HGLYPH ui_create_glyph(RDPCLIENT * This, int width, int height, const uint8 * data);
void ui_destroy_glyph(RDPCLIENT * This, HGLYPH glyph);
HCURSOR ui_create_cursor(RDPCLIENT * This, unsigned int x, unsigned int y, int width, int height, uint8 * andmask,
			 uint8 * xormask);
void ui_set_cursor(RDPCLIENT * This, HCURSOR cursor);
void ui_destroy_cursor(RDPCLIENT * This, HCURSOR cursor);
void ui_set_null_cursor(RDPCLIENT * This);
HCOLOURMAP ui_create_colourmap(RDPCLIENT * This, COLOURMAP * colours);
void ui_destroy_colourmap(RDPCLIENT * This, HCOLOURMAP map);
void ui_set_colourmap(RDPCLIENT * This, HCOLOURMAP map);
void ui_set_clip(RDPCLIENT * This, int x, int y, int cx, int cy);
void ui_reset_clip(RDPCLIENT * This);
void ui_bell(RDPCLIENT * This);
void ui_destblt(RDPCLIENT * This, uint8 opcode, int x, int y, int cx, int cy);
void ui_patblt(RDPCLIENT * This, uint8 opcode, int x, int y, int cx, int cy, BRUSH * brush, int bgcolour,
	       int fgcolour);
void ui_screenblt(RDPCLIENT * This, uint8 opcode, int x, int y, int cx, int cy, int srcx, int srcy);
void ui_memblt(RDPCLIENT * This, uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy);
void ui_triblt(RDPCLIENT * This, uint8 opcode, int x, int y, int cx, int cy, HBITMAP src, int srcx, int srcy,
	       BRUSH * brush, int bgcolour, int fgcolour);
void ui_line(RDPCLIENT * This, uint8 opcode, int startx, int starty, int endx, int endy, PEN * pen);
void ui_rect(RDPCLIENT * This, int x, int y, int cx, int cy, int colour);
void ui_polygon(RDPCLIENT * This, uint8 opcode, uint8 fillmode, POINT * point, int npoints, BRUSH * brush,
		int bgcolour, int fgcolour);
void ui_polyline(RDPCLIENT * This, uint8 opcode, POINT * points, int npoints, PEN * pen);
void ui_ellipse(RDPCLIENT * This, uint8 opcode, uint8 fillmode, int x, int y, int cx, int cy, BRUSH * brush,
		int bgcolour, int fgcolour);
void ui_draw_glyph(RDPCLIENT * This, int mixmode, int x, int y, int cx, int cy, HGLYPH glyph, int srcx, int srcy,
		   int bgcolour, int fgcolour);
void ui_draw_text(RDPCLIENT * This, uint8 font, uint8 flags, uint8 opcode, int mixmode, int x, int y, int clipx,
		  int clipy, int clipcx, int clipcy, int boxx, int boxy, int boxcx, int boxcy,
		  BRUSH * brush, int bgcolour, int fgcolour, uint8 * text, uint8 length);
void ui_desktop_save(RDPCLIENT * This, uint32 offset, int x, int y, int cx, int cy);
void ui_desktop_restore(RDPCLIENT * This, uint32 offset, int x, int y, int cx, int cy);
void ui_begin_update(RDPCLIENT * This);
void ui_end_update(RDPCLIENT * This);
void ui_seamless_begin(RDPCLIENT * This, BOOL hidden);
void ui_seamless_hide_desktop(RDPCLIENT * This);
void ui_seamless_unhide_desktop(RDPCLIENT * This);
void ui_seamless_toggle(RDPCLIENT * This);
void ui_seamless_create_window(RDPCLIENT * This, unsigned long id, unsigned long group, unsigned long parent,
			       unsigned long flags);
void ui_seamless_destroy_window(RDPCLIENT * This, unsigned long id, unsigned long flags);
void ui_seamless_destroy_group(RDPCLIENT * This, unsigned long id, unsigned long flags);
void ui_seamless_move_window(RDPCLIENT * This, unsigned long id, int x, int y, int width, int height,
			     unsigned long flags);
void ui_seamless_restack_window(RDPCLIENT * This, unsigned long id, unsigned long behind, unsigned long flags);
void ui_seamless_settitle(RDPCLIENT * This, unsigned long id, const char *title, unsigned long flags);
void ui_seamless_setstate(RDPCLIENT * This, unsigned long id, unsigned int state, unsigned long flags);
void ui_seamless_syncbegin(RDPCLIENT * This, unsigned long flags);
void ui_seamless_ack(RDPCLIENT * This, unsigned int serial);
/* lspci.c */
BOOL lspci_init(RDPCLIENT * This);
/* seamless.c */
BOOL seamless_init(RDPCLIENT * This);
unsigned int seamless_send_sync(RDPCLIENT * This);
unsigned int seamless_send_state(RDPCLIENT * This, unsigned long id, unsigned int state, unsigned long flags);
unsigned int seamless_send_position(RDPCLIENT * This, unsigned long id, int x, int y, int width, int height,
				    unsigned long flags);
void seamless_select_timeout(RDPCLIENT * This, struct timeval *tv);
unsigned int seamless_send_zchange(RDPCLIENT * This, unsigned long id, unsigned long below, unsigned long flags);
unsigned int seamless_send_focus(RDPCLIENT * This, unsigned long id, unsigned long flags);

/* events */
BOOL event_pubkey(RDPCLIENT * This, unsigned char * key, unsigned int key_size);
void event_logon(RDPCLIENT * This);
BOOL event_redirect(RDPCLIENT * This, uint32 flags, uint32 server_len, wchar_t * server, uint32 cookie_len, char * cookie, uint32 username_len, wchar_t * username, uint32 domain_len, wchar_t * domain, uint32 password_len, wchar_t * password);

/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -