You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
We refer to COLORREF many times inside our code therefore it would be very useful if it was defined in CsWin32.
Describe the solution you'd like
Add COLORREF to CsWin32
We use this a lot, so it would be great if we could get a similar implementation and have it used instead of uint in the various structures/APIs that use it.
Activity
JeremyKuhne commentedon Aug 10, 2022
We use this a lot, so it would be great if we could get a similar implementation and have it used instead of
uintin the various structures/APIs that use it.AArnott commentedon Aug 10, 2022
This would have to be changed in the metadata. A typedef struct ought to do it, probably.
elachlan commentedon Aug 14, 2022
Mike Battista (@mikebattista) Do I just add this to https://github.com/microsoft/win32metadata/blob/main/generation/WinSDK/autoTypes.json?
elachlan commentedon Aug 15, 2022
Might as well add LOGPALETTE and PALETTEENTRY while we are at it.
sotteson1 commentedon Aug 16, 2022
Both of those structs are already in the metadata.
elachlan commentedon Aug 16, 2022
Thanks, I should have checked ILSpy.