Skip to main content
Module

x/win32/user32/CreateWindow.ts

Wraps some of the most common Win32 API calls using FFI to make them accessible to Deno.
Latest
File
import { cstr2ptrW } from "../util.ts";import { dll } from "./dll.ts";
export function CreateWindow( dwExStyle: number, lpClassName: string, lpWindowName: string, dwStyle: number, x: number, y: number, nWidth: number, nHeight: number, hWndParent: Deno.UnsafePointer, hMenu: Deno.UnsafePointer, hInstance: Deno.UnsafePointer, lpParam: Deno.UnsafePointer,): Deno.UnsafePointer { return dll.symbols.CreateWindowExW( dwExStyle, cstr2ptrW(lpClassName), cstr2ptrW(lpWindowName), dwStyle, x, y, nWidth, nHeight, hWndParent, hMenu, hInstance, lpParam, ) as Deno.UnsafePointer;}