CreateMDIWindow function Null safety user32

int CreateMDIWindow(
  1. Pointer<Utf16> lpClassName,
  2. Pointer<Utf16> lpWindowName,
  3. int dwStyle,
  4. int X,
  5. int Y,
  6. int nWidth,
  7. int nHeight,
  8. int hWndParent,
  9. int hInstance,
  10. int lParam
)

Creates a multiple-document interface (MDI) child window.

HWND CreateMDIWindowW(
  LPCWSTR   lpClassName,
  LPCWSTR   lpWindowName,
  DWORD     dwStyle,
  int       X,
  int       Y,
  int       nWidth,
  int       nHeight,
  HWND      hWndParent,
  HINSTANCE hInstance,
  LPARAM    lParam
);

Implementation

int CreateMDIWindow(
        Pointer<Utf16> lpClassName,
        Pointer<Utf16> lpWindowName,
        int dwStyle,
        int X,
        int Y,
        int nWidth,
        int nHeight,
        int hWndParent,
        int hInstance,
        int lParam) =>
    _CreateMDIWindow(lpClassName, lpWindowName, dwStyle, X, Y, nWidth, nHeight,
        hWndParent, hInstance, lParam);