GetLayeredWindowAttributes function Null safety user32

int GetLayeredWindowAttributes(
  1. int hwnd,
  2. Pointer<Uint32> pcrKey,
  3. Pointer<Uint8> pbAlpha,
  4. Pointer<Uint32> pdwFlags

Retrieves the opacity and transparency color key of a layered window.

BOOL GetLayeredWindowAttributes(
  HWND     hwnd,
  COLORREF *pcrKey,
  BYTE     *pbAlpha,
  DWORD    *pdwFlags


int GetLayeredWindowAttributes(int hwnd, Pointer<Uint32> pcrKey,
        Pointer<Uint8> pbAlpha, Pointer<Uint32> pdwFlags) =>
    _GetLayeredWindowAttributes(hwnd, pcrKey, pbAlpha, pdwFlags);