GetLayeredWindowAttributes

[DllImport("user32.dll")]
public static extern bool GetLayeredWindowAttributes(
   IntPtr hwnd,
   out uint crKey,
   out byte bAlpha,
   out uint dwFlags
);

Microsoft documentation: Link

Last updated