FreeRDP: A Remote Desktop Protocol Implementation Clipboard Virtual Channel Extension
Copyright 2013 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com Copyright 2015 Thincast Technologies GmbH Copyright 2015 DI (FH) Martin Haimberger marti.nosp@m.n.ha.nosp@m.imber.nosp@m.ger@.nosp@m.thinc.nosp@m.ast..nosp@m.com
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Initialization Sequence\n
Client Server
| |
|<-------------------—Server Clipboard Capabilities PDU--------------—|
|<--------------------------—Monitor Ready PDU-----------------------—|
|--------------------—Client Clipboard Capabilities PDU-------------—>|
|------------------------—Temporary Directory PDU-------------------—>|
|----------------------------—Format List PDU-----------------------—>|
|<-----------------------—Format List Response PDU-------------------—|
Data Transfer Sequences\n
Shared Local\n
Clipboard Owner Clipboard Owner
| |
|----------------------------------------------------------------------—|
_ |----------------------------—Format List PDU-----------------------—>|
| |<-----------------------—Format List Response PDU-------------------—|
_| Copy Sequence |<------------------—Lock Clipboard Data PDU (Optional)--------------—|
|----------------------------------------------------------------------—|
|----------------------------------------------------------------------—|
_ |<-----------------------—Format Data Request PDU--------------------—|
| Paste Sequence Palette, |------------------------—Format Data Response PDU------------------—>|
_| Metafile, File List Data |----------------------------------------------------------------------—|
|----------------------------------------------------------------------—|
_ |<---------------------—Format Contents Request PDU------------------—|
| Paste Sequence |----------------------—Format Contents Response PDU----------------—>|
_| File Stream Data |<------------------—Lock Clipboard Data PDU (Optional)--------------—|
|----------------------------------------------------------------------—|
Function description
- Returns
- 0 on success, otherwise a Win32 error code