Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add enum for cfFormat #1350

Merged
merged 2 commits into from
Nov 2, 2022

Conversation

elachlan
Copy link
Contributor

@elachlan elachlan commented Nov 1, 2022

Fixes #1148

Windows.Win32.System.Ole.CLIPBOARD_FORMATS added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_BITMAP added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIB added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIBV5 added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DIF added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPBITMAP added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPENHMETAFILE added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPMETAFILEPICT added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_DSPTEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_ENHMETAFILE added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_GDIOBJFIRST added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_GDIOBJLAST added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_HDROP added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_LOCALE added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_MAX added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_METAFILEPICT added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_OEMTEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_OWNERDISPLAY added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PALETTE added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PENDATA added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PRIVATEFIRST added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_PRIVATELAST added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_RIFF added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_SYLK added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_TEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_TIFF added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_UNICODETEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMATS.CF_WAVE added
Windows.Win32.System.Ole.Apis.OleDuplicateData : cfFormat...UInt16 => CLIPBOARD_FORMATS
Unknown differences found:
Windows.Win32.System.Ole.Apis.OleDuplicateData : cfFormat...UInt16 => CLIPBOARD_FORMAT
Windows.Win32.System.Ole.CLIPBOARD_FORMAT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_BITMAP added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DIB added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DIBV5 added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DIF added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPBITMAP added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPENHMETAFILE added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPMETAFILEPICT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_DSPTEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_ENHMETAFILE added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_GDIOBJFIRST added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_GDIOBJLAST added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_HDROP added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_LOCALE added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_MAX added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_METAFILEPICT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_OEMTEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_OWNERDISPLAY added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PALETTE added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PENDATA added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PRIVATEFIRST added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_PRIVATELAST added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_RIFF added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_SYLK added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_TEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_TIFF added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_UNICODETEXT added
Windows.Win32.System.Ole.CLIPBOARD_FORMAT.CF_WAVE added

@elachlan elachlan force-pushed the OleDuplicateData-cfFormat branch from ff2ef9c to 69d07f9 Compare November 1, 2022 23:49
Copy link
Collaborator

@mikebattista mikebattista left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this isn't a flags enum, then should be CLIPBOARD_FORMAT (singular).

@elachlan
Copy link
Contributor Author

elachlan commented Nov 1, 2022

Ahh, I missed marking it as flags.

@elachlan
Copy link
Contributor Author

elachlan commented Nov 2, 2022

Actually, It doesn't look like its a flags enum.
https://learn.microsoft.com/en-us/windows/win32/dataxchg/standard-clipboard-formats

scripts/ChangesSinceLastRelease.txt Outdated Show resolved Hide resolved
@mikebattista mikebattista merged commit c787657 into microsoft:main Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider adding enum for GMEM_ constants for use in OleDuplicateData
2 participants