func copyFile(from *uint16, to *uint16) (regerrno error) { r0, _, _ := procCopyFile.Call(uintptr(unsafe.Pointer(from)), uintptr(unsafe.Pointer(to)), uintptr(1)) if r0 != 0 { regerrno = syscall.Errno(r0) } return }
()
| 1450 | //} |
| 1451 | |
| 1452 | func createTransaction() (handle windows.Handle, err error) { |
| 1453 | r0, _, e1 := syscall.SyscallN(procCreateTransaction.Addr(), 0, 0, 0, 0, 0, 0, 0, 0, 0) |
| 1454 | handle = windows.Handle(r0) |
| 1455 | if handle == windows.InvalidHandle { |
| 1456 | err = e1 |
| 1457 | } |
| 1458 | return |
| 1459 | } |
no test coverage detected