Post #2480974
2023-11-14 13:06 UTC
@smurthys@hachyderm.io @h5e@tech.lgbt @shi@tech.lgbt Is there documentation for how a destination program can decide which format to pull?
Replies (1)
-
@shi@tech.lgbt 2023-11-14 13:12
@AT1ST@mstdn.ca @smurthys@hachyderm.io @h5e@tech.lgbt there are a few ways, but e.g. the Windows API has a function EnumClipboardFormats that'll enumerate through the formats currently available on the clipboard. If you're looking for a specific format only, there's also IsClipboardFormatAvailable.