Skip to content

Instantly share code, notes, and snippets.

// http://drywa.me/2017/07/02/simple-win32-window-with-rust/
#![windows_subsystem = "windows"]
extern crate winapi;
extern crate user32;
extern crate kernel32;
use std::ffi::OsStr;
use std::os::windows::ffi::OsStrExt;
use std::iter::once;