2.2.2.5 Delete Printer Cachedata (DR_PRN_DELETE_CACHEDATA)
This message is sent by the server when a manually created printer on the redirected port is deleted.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Header |
|||||||||||||||||||||||||||||||
EventId |
|||||||||||||||||||||||||||||||
PrinterNameLen |
|||||||||||||||||||||||||||||||
PrinterName (variable) |
|||||||||||||||||||||||||||||||
... |
Header (4 bytes): The common message header (as specified in [MS-RDPEFS] section 2.2.1.1). The Component field MUST be set to RDPDR_CTYP_PRN and the PacketId field MUST be set to PAKID_PRN_CACHE_DATA.
EventId (4 bytes): A SERVER_PRINTER_CACHE_EVENT (section 2.2.1.1) event. The cachedata field MUST be set to RDPDR_DELETE_PRINTER_EVENT (0x00000003).
PrinterNameLen (4 bytes): A 32-bit unsigned integer that specifies the number of bytes in the PrinterName field, including its null terminator.
PrinterName (variable): A null-terminated Unicode string that specifies the printer that was deleted.