2
2
rdesktop: A Remote Desktop Protocol client.
4
Copyright (C) Matthew Chapman 1999-2005
4
Copyright (C) Matthew Chapman 1999-2007
6
6
This program is free software; you can redistribute it and/or modify
7
7
it under the terms of the GNU General Public License as published by
8
8
the Free Software Foundation; either version 2 of the License, or
12
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
14
GNU General Public License for more details.
16
16
You should have received a copy of the GNU General Public License
17
17
along with this program; if not, write to the Free Software
18
18
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
32
32
typedef unsigned int uint32;
33
33
typedef signed int sint32;
35
typedef void *HBITMAP;
37
typedef void *HCOLOURMAP;
38
typedef void *HCURSOR;
35
typedef void *RD_HBITMAP;
36
typedef void *RD_HGLYPH;
37
typedef void *RD_HCOLOURMAP;
38
typedef void *RD_HCURSOR;
40
typedef struct _RD_POINT
46
46
typedef struct _COLOURENTRY
169
typedef uint32 NTSTATUS;
170
typedef uint32 NTHANDLE;
169
typedef uint32 RD_NTSTATUS;
170
typedef uint32 RD_NTHANDLE;
172
172
typedef struct _DEVICE_FNS
174
NTSTATUS(*create) (uint32 device, uint32 desired_access, uint32 share_mode,
175
uint32 create_disposition, uint32 flags_and_attributes, char *filename,
177
NTSTATUS(*close) (NTHANDLE handle);
178
NTSTATUS(*read) (NTHANDLE handle, uint8 * data, uint32 length, uint32 offset,
180
NTSTATUS(*write) (NTHANDLE handle, uint8 * data, uint32 length, uint32 offset,
182
NTSTATUS(*device_control) (NTHANDLE handle, uint32 request, STREAM in, STREAM out);
174
RD_NTSTATUS(*create) (uint32 device, uint32 desired_access, uint32 share_mode,
175
uint32 create_disposition, uint32 flags_and_attributes,
176
char *filename, RD_NTHANDLE * handle);
177
RD_NTSTATUS(*close) (RD_NTHANDLE handle);
178
RD_NTSTATUS(*read) (RD_NTHANDLE handle, uint8 * data, uint32 length, uint32 offset,
180
RD_NTSTATUS(*write) (RD_NTHANDLE handle, uint8 * data, uint32 length, uint32 offset,
182
RD_NTSTATUS(*device_control) (RD_NTHANDLE handle, uint32 request, STREAM in, STREAM out);