crash.software
Projects
Pull Requests
Issues
Builds
scan4all
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
scan4all
Files
🤬
Sign In
b49ed62a
ROOT
/
pkg
/
kscan
/
lib
/
grdp
/
protocol
/
pdu
/
cliprdr.go
Search
History
340 lines
|
ISO-8859-1
|
9 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
MsgType
CB_MONITOR_READY
CB_FORMAT_LIST
CB_FORMAT_LIST_RESPONSE
CB_FORMAT_DATA_REQUEST
CB_FORMAT_DATA_RESPONSE
CB_TEMP_DIRECTORY
CB_CLIP_CAPS
CB_FILECONTENTS_REQUEST
CB_FILECONTENTS_RESPONSE
CB_LOCK_CLIPDATA
CB_UNLOCK_CLIPDATA
MsgFlags
CB_RESPONSE_OK
CB_RESPONSE_FAIL
CB_ASCII_NAMES
DwFlags
FILECONTENTS_SIZE
FILECONTENTS_RANGE
CliprdrPDUHeader
MsgType
:
uint16
MsgFlags
:
uint16
DataLen
:
uint32
NewCliprdrPDUHeader
(mType, flags uint16, ln uint32)
:
*CliprdrPDUHeader
CliprdrClient
useLongFormatNames
:
bool
streamFileClipEnabled
:
bool
fileClipNoFilePaths
:
bool
canLockClipData
:
bool
hasHugeFileSupport
:
bool
process_message
(s []byte)
CliprdrGeneralCapabilitySet
CapabilitySetType
:
uint16
CapabilitySetLength
:
uint16
Version
:
uint32
GeneralFlags
:
uint32
CliprdrCapabilitySets
CapabilitySetType
:
uint16
LengthCapability
:
uint16
CapabilityData
:
[]byte
CliprdrCapabilitiesPDU
CliprdrPDUHeader
CCapabilitiesSets
:
uint16
Pad1
:
uint16
CapabilitySets
:
CliprdrGeneralCapabilitySet
CliprdrMonitorReady
CliprdrPDUHeader
GeneralFlags
CB_USE_LONG_FORMAT_NAMES
CB_STREAM_FILECLIP_ENABLED
CB_FILECLIP_NO_FILE_PATHS
CB_CAN_LOCK_CLIPDATA
CB_HUGE_FILE_SUPPORT_ENABLED
CB_CAPS_VERSION_1
CB_CAPS_VERSION_2
CB_CAPSTYPE_GENERAL_LEN
CliprdrInit
(context CliprdrClient)
CliprdrTempDirectory
Header
:
*CliprdrPDUHeader
SzTempDir
:
string
CliprdrFormat
FormatId
:
uint32
FormatName
:
string
CliprdrFormatList
Header
:
*CliprdrPDUHeader
NumFormats
:
uint32
Formats
:
[]CliprdrFormat
ClipboardFormats
CB_FORMAT_HTML
CB_FORMAT_PNG
CB_FORMAT_JPEG
CB_FORMAT_GIF
CB_FORMAT_TEXTURILIST
CB_FORMAT_GNOMECOPIEDFILES
CB_FORMAT_MATECOPIEDFILES
CliprdrCtrlClipboardData
Header
:
*CliprdrPDUHeader
ClipDataId
:
uint32
CliprdrFormatDataRequest
Header
:
*CliprdrPDUHeader
RequestedFormatId
:
uint32
CliprdrFormatDataResponse
Header
:
*CliprdrPDUHeader
RequestedFormatData
:
[]byte
CliprdrFileContentsRequest
Header
:
*CliprdrPDUHeader
StreamId
:
uint32
Lindex
:
int32
DwFlags
:
uint32
NPositionLow
:
uint32
NPositionHigh
:
uint32
CbRequested
:
uint32
ClipDataId
:
uint32
NewCliprdrFileContentsRequest
()
:
*CliprdrFileContentsRequest
CliprdrFileContentsResponse
Header
:
*CliprdrPDUHeader
StreamId
:
uint32
CbRequested
:
uint32
RequestedData
:
[]byte
All occurrences
Please wait...
Page is in error, reload to recover