FindWindow function Null safety user32

int FindWindow(
  1. Pointer<Utf16> lpClassName,
  2. Pointer<Utf16> lpWindowName

Retrieves a handle to the top-level window whose class name and window name match the specified strings. This function does not search child windows. This function does not perform a case-sensitive search.

HWND FindWindowW(
  LPCWSTR lpClassName,
  LPCWSTR lpWindowName


int FindWindow(Pointer<Utf16> lpClassName, Pointer<Utf16> lpWindowName) =>
    _FindWindow(lpClassName, lpWindowName);