dotnet / pinvoke

A library containing all P/Invoke code so you don't have to import it every time. Maintained and updated to support the latest Windows OS.
MIT License
2.12k stars 222 forks source link

User32.SetLayeredWindowAttributes missing #631

Closed kyleshrader closed 1 year ago

kyleshrader commented 1 year ago

This is an API request for user32.dll's SetLayeredWindowAttributes:

BOOL SetLayeredWindowAttributes(
  [in] HWND     hwnd,
  [in] COLORREF crKey,
  [in] BYTE     bAlpha,
  [in] DWORD    dwFlags
);

See: https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setlayeredwindowattributes

AArnott commented 1 year ago

Can you use CsWin32 instead?

kyleshrader commented 1 year ago

I will certainly give it a try. Thanks