CreateWindowExW method

Pointer<HWND__> CreateWindowExW(
  1. int dwExStyle,
  2. Pointer<Uint16> lpClassName,
  3. Pointer<Uint16> lpWindowName,
  4. int dwStyle,
  5. int X,
  6. int Y,
  7. int nWidth,
  8. int nHeight,
  9. Pointer<HWND__> hWndParent,
  10. Pointer<HMENU__> hMenu,
  11. Pointer<HINSTANCE__> hInstance,
  12. Pointer<Void> lpParam,
)

Implementation

ffi.Pointer<HWND__> CreateWindowExW(
  int dwExStyle,
  ffi.Pointer<ffi.Uint16> lpClassName,
  ffi.Pointer<ffi.Uint16> lpWindowName,
  int dwStyle,
  int X,
  int Y,
  int nWidth,
  int nHeight,
  ffi.Pointer<HWND__> hWndParent,
  ffi.Pointer<HMENU__> hMenu,
  ffi.Pointer<HINSTANCE__> hInstance,
  ffi.Pointer<ffi.Void> lpParam,
) {
  return (_CreateWindowExW ??=
      _dylib.lookupFunction<_c_CreateWindowExW, _dart_CreateWindowExW>(
          'CreateWindowExW'))(
    dwExStyle,
    lpClassName,
    lpWindowName,
    dwStyle,
    X,
    Y,
    nWidth,
    nHeight,
    hWndParent,
    hMenu,
    hInstance,
    lpParam,
  );
}