Skip to content

How do I get the parameters I need when I request a file from the clipboard? #8827

Answered by akallabeth
kimcoldwater asked this question in Q&A
Discussion options

You must be logged in to vote
  • File stream to use streamId
  • File to request data from: listIndex (the index in the FILEDESCRIPTORW list you got)
  • offset in file to read: nPositionLow and nPositionHigh
  • size to read from file: cbRequested
  • (optional) if clipboard is locked, set clipDataId to the ID of the lock

the rest is not to be touched on send, it will contain data if received. (success/failure/...)

check cliprdr_write_file_contents_request for a use of that.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@kimcoldwater
Comment options

@akallabeth
Comment options

@kimcoldwater
Comment options

@akallabeth
Comment options

@kimcoldwater
Comment options

Answer selected by kimcoldwater
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants