mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
define RegQueryValueEx on Windows
This commit is contained in:
parent
558024696c
commit
b44cbc9b13
|
@ -105,6 +105,8 @@ fn C.ReadFile(hFile voidptr, lpBuffer voidptr, nNumberOfBytesToRead u32, lpNumbe
|
||||||
fn C.GetFileAttributesW(lpFileName byteptr) u32
|
fn C.GetFileAttributesW(lpFileName byteptr) u32
|
||||||
fn C.RegQueryValueExW(hKey voidptr, lpValueName &u16, lpReserved &u32, lpType &u32, lpData byteptr, lpcbData &u32) int
|
fn C.RegQueryValueExW(hKey voidptr, lpValueName &u16, lpReserved &u32, lpType &u32, lpData byteptr, lpcbData &u32) int
|
||||||
fn C.RegOpenKeyExW(hKey voidptr, lpSubKey &u16, ulOptions u32, samDesired u32, phkResult voidptr) int
|
fn C.RegOpenKeyExW(hKey voidptr, lpSubKey &u16, ulOptions u32, samDesired u32, phkResult voidptr) int
|
||||||
|
fn C.RegCloseKey()
|
||||||
|
fn C.RegQueryValueEx() voidptr
|
||||||
fn C.RemoveDirectory() int
|
fn C.RemoveDirectory() int
|
||||||
fn C.GetStdHandle() int
|
fn C.GetStdHandle() int
|
||||||
fn C.SetConsoleMode()
|
fn C.SetConsoleMode()
|
||||||
|
@ -133,7 +135,7 @@ fn C._wchdir()
|
||||||
fn C._wgetcwd() int
|
fn C._wgetcwd() int
|
||||||
fn C._fullpath() int
|
fn C._fullpath() int
|
||||||
fn C.GetCommandLine() voidptr
|
fn C.GetCommandLine() voidptr
|
||||||
fn C.CommandLineToArgvW() *voidptr
|
fn C.CommandLineToArgvW() &voidptr
|
||||||
fn C.LocalFree()
|
fn C.LocalFree()
|
||||||
fn C.FindFirstFileW() voidptr
|
fn C.FindFirstFileW() voidptr
|
||||||
fn C.FindFirstFile() voidptr
|
fn C.FindFirstFile() voidptr
|
||||||
|
|
Loading…
Reference in New Issue
Block a user