mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[idd] clipboard: route file dataset records
This commit is contained in:
@@ -113,8 +113,9 @@ bool CClipboardRing::Valid(const ClipboardRingSlot& slot)
|
||||
{
|
||||
return slot.header.version == KVMFR_CLIPBOARD_VERSION &&
|
||||
slot.header.type >= KVMFR_CLIPBOARD_MESSAGE_CLAIM &&
|
||||
slot.header.type <= KVMFR_CLIPBOARD_MESSAGE_GRANT &&
|
||||
slot.header.type <= KVMFR_CLIPBOARD_MESSAGE_FILE_CANCEL &&
|
||||
slot.header.length <= KVMFR_CLIPBOARD_DATA_BYTES &&
|
||||
(slot.header.type == KVMFR_CLIPBOARD_MESSAGE_DATA ||
|
||||
slot.header.type == KVMFR_CLIPBOARD_MESSAGE_FILE_DATA ||
|
||||
!slot.header.length);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user