1
// mksyscall_windows.pl -l32 file_windows.go
2
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
10
modkernel32 = syscall.NewLazyDLL("kernel32.dll")
12
procMoveFileExW = modkernel32.NewProc("MoveFileExW")
15
func moveFileEx(lpExistingFileName *uint16, lpNewFileName *uint16, dwFlags uint32) (err error) {
16
r1, _, e1 := syscall.Syscall(procMoveFileExW.Addr(), 3, uintptr(unsafe.Pointer(lpExistingFileName)), uintptr(unsafe.Pointer(lpNewFileName)), uintptr(dwFlags))