use std::ffi::{OsString, OsStr};
use std::os::windows::prelude::*;
use std::ptr;
-use libc::{c_void, c_long};
+use libc::c_long;
-type DWORD = u32;
+pub type DWORD = u32;
type LPCWSTR = *const u16;
type LONG = c_long;
type LPDWORD = *mut DWORD;
pub type HKEY = *mut __HKEY__;
pub type PHKEY = *mut HKEY;
pub type REGSAM = DWORD;
-pub type LPWSTR = *mut u16;
-pub type PFILETIME = *mut c_void;
#[link(name = "advapi32")]
extern "system" {