--- sourceforge.net/trunk/rdesktop/constants.h 2004/01/21 14:40:40 569 +++ sourceforge.net/trunk/rdesktop/constants.h 2004/03/04 12:43:10 628 @@ -12,7 +12,7 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. @@ -237,9 +237,11 @@ #define RDP_SOURCE "MSTSC" /* Logon flags */ -#define RDP_LOGON_NORMAL 0x33 -#define RDP_LOGON_AUTO 0x8 -#define RDP_LOGON_BLOB 0x100 +#define RDP_LOGON_AUTO 0x0008 +#define RDP_LOGON_NORMAL 0x0033 +#define RDP_COMPRESSION 0x0080 +#define RDP_LOGON_BLOB 0x0100 +#define RDP_LOGON_LEAVE_AUDIO 0x2000 /* Keymap flags */ #define MapRightShiftMask (1<<0) @@ -314,16 +316,26 @@ /* NT status codes for RDPDR */ #define STATUS_SUCCESS 0x00000000 +#define STATUS_PENDING 0x00000103 + +#define STATUS_NO_MORE_FILES 0x80000006 +#define STATUS_DEVICE_PAPER_EMPTY 0x8000000e +#define STATUS_DEVICE_POWERED_OFF 0x8000000f +#define STATUS_DEVICE_OFF_LINE 0x80000010 +#define STATUS_DEVICE_BUSY 0x80000011 + +#define STATUS_INVALID_HANDLE 0xc0000008 #define STATUS_INVALID_PARAMETER 0xc000000d +#define STATUS_NO_SUCH_FILE 0xc000000f #define STATUS_INVALID_DEVICE_REQUEST 0xc0000010 #define STATUS_ACCESS_DENIED 0xc0000022 -#define STATUS_NO_SUCH_FILE 0xc000000f -#define STATUS_NO_MORE_FILES 0x80000006 -#define STATUS_INVALID_HANDLE 0xc0000008 +#define STATUS_OBJECT_NAME_COLLISION 0xc0000035 +#define STATUS_DISK_FULL 0xc000007f +#define STATUS_FILE_IS_A_DIRECTORY 0xc00000ba #define STATUS_NOT_SUPPORTED 0xc00000bb -#define STATUS_PENDING 0x00000103 -#define STATUS_CANCELLED 0xc0000120 #define STATUS_TIMEOUT 0xc0000102 +#define STATUS_CANCELLED 0xc0000120 + /* RDPDR constants */ #define RDPDR_MAX_DEVICES 0x10 @@ -334,3 +346,5 @@ #define DEVICE_TYPE_SCARD 0x20 #define FILE_DIRECTORY_FILE 0x00000001 +#define FILE_NON_DIRECTORY_FILE 0x00000040 +#define FILE_OPEN_FOR_FREE_SPACE_QUERY 0x00800000