PrintWindow function Null safety user32

int PrintWindow(
  1. int hwnd,
  2. int hdcBlt,
  3. int nFlags

The PrintWindow function copies a visual window into the specified device context (DC), typically a printer DC.

BOOL PrintWindow(
  HWND hwnd,
  HDC  hdcBlt,
  UINT nFlags


int PrintWindow(int hwnd, int hdcBlt, int nFlags) =>
    _PrintWindow(hwnd, hdcBlt, nFlags);