DEV Community

Le Vuong
Le Vuong

Posted on

Windows buffer format

Windows supports many buffer formats that is not widely known. Additionally, you have the option to register a custom buffer format.

CF_HTML
CF_BITMAP
CF_DIB
CF_DIBV5
CF_ENHMETAFILE
CF_METAFILEPICT
CF_OEMTEXT
CF_TEXT
CF_UNICODETEXT

By utilizing tools such as Free Clipboard Viewer, you can directly access these buffer values. This proves particularly useful when you need to obtain the HTML format of text, such as when copying text from Google Docs or Microsoft Word.

References:
Clipboard Overviews
HTML Clipboard Format

Top comments (0)

ACI image

ACI.dev: Fully Open-source AI Agent Tool-Use Infra (Composio Alternative)

100% open-source tool-use platform (backend, dev portal, integration library, SDK/MCP) that connects your AI agents to 600+ tools with multi-tenant auth, granular permissions, and access through direct function calling or a unified MCP server.

Check out our GitHub!

World's Largest Hackathon: Building Conversational Video Agents with Tavus and Bolt

With Tavus + Bolt, you can easily build real-time conversational AI apps that see, hear, and speak, just like humans. You won’t want to miss it!.

Tune in to the full event

DEV is bringing live events to the community. Dismiss if you're not interested. ❤️