96 |
{ |
{ |
97 |
uint16 type, status; |
uint16 type, status; |
98 |
uint32 length, format; |
uint32 length, format; |
99 |
char *data; |
uint8 *data; |
100 |
|
|
101 |
in_uint16_le(s, type); |
in_uint16_le(s, type); |
102 |
in_uint16_le(s, status); |
in_uint16_le(s, status); |
115 |
return; |
return; |
116 |
} |
} |
117 |
|
|
118 |
error("CLIPRDR error (type=%d)\n", type); |
DEBUG_CLIPBOARD(("CLIPRDR error (type=%d)\n", type)); |
119 |
return; |
return; |
120 |
} |
} |
121 |
|
|
137 |
case CLIPRDR_DATA_RESPONSE: |
case CLIPRDR_DATA_RESPONSE: |
138 |
ui_clip_handle_data(data, length); |
ui_clip_handle_data(data, length); |
139 |
break; |
break; |
140 |
|
case 7: /* TODO: W2K3 SP1 sends this on connect with a value of 1 */ |
141 |
|
break; |
142 |
default: |
default: |
143 |
unimpl("CLIPRDR packet type %d\n", type); |
unimpl("CLIPRDR packet type %d\n", type); |
144 |
} |
} |