147 |
in_uint32_le(s, type); |
in_uint32_le(s, type); |
148 |
switch (type) |
switch (type) |
149 |
{ |
{ |
150 |
|
/*case 4: renaming of item old name and then new name */ |
151 |
|
/*case 3: delete item name */ |
152 |
case 2: |
case 2: |
|
|
|
153 |
in_uint32_le(s, printer_unicode_length); |
in_uint32_le(s, printer_unicode_length); |
154 |
in_uint32_le(s, blob_length); |
in_uint32_le(s, blob_length); |
155 |
|
|
160 |
} |
} |
161 |
break; |
break; |
162 |
|
|
163 |
case 1: |
/*case 1:*/ |
|
|
|
164 |
// TODO: I think this one just tells us what printer is on LPT? but why? |
// TODO: I think this one just tells us what printer is on LPT? but why? |
165 |
|
|
166 |
|
// |
167 |
|
// your name and the "users choice" of printer driver |
168 |
|
// my guess is that you can store it and automagically reconnect |
169 |
|
// the printer with correct driver next time. |
170 |
default: |
default: |
171 |
|
|
172 |
unimpl("RDPDR Printer Cache Packet Type: %d\n", type); |
unimpl("RDPDR Printer Cache Packet Type: %d\n", type); |