Jump to content

_ClipBoard_GetDataEx fails for some formats - why?


 Share

Recommended Posts

_ClipBoard_GetDataEx returns '0' for some formats and i don't know why

the formats in this instance are 49577 and 49756, which are in clipboard memory (if that's the right term) after copying an image in Firefox

the dll call for _ClipBoard_GetDataEx is:

DllCall("user32.dll", "handle", "GetClipboardData", "uint", $iFormat)

according to MSDN, i'm not seeing anything wrong with the dll call, so i guess my question is; how can _ClipBoard_GetDataEx fail (return 0) if the format is valid (and how could the format be in clipboard mem if it wasn't valid)?

is this something specific to binary formats perhaps?

Edited by iCode

FUNCTIONS: WinDock (dock window to screen edge) | EditCtrl_ToggleLineWrap (line/word wrap for AU3 edit control) | SendEX (yet another alternative to Send( ) ) | Spell Checker (Hunspell wrapper) | SentenceCase (capitalize first letter of sentences)

CODE SNIPPITS: Dynamic tab width (set tab control width according to window width)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...