|
|
@@ -172,7 +172,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
|
|
//sys CancelIo(s Handle) (err error)
|
|
|
//sys CancelIoEx(s Handle, o *Overlapped) (err error)
|
|
|
//sys CreateProcess(appName *uint16, commandLine *uint16, procSecurity *SecurityAttributes, threadSecurity *SecurityAttributes, inheritHandles bool, creationFlags uint32, env *uint16, currentDir *uint16, startupInfo *StartupInfo, outProcInfo *ProcessInformation) (err error) = CreateProcessW
|
|
|
-//sys OpenProcess(da uint32, inheritHandle bool, pid uint32) (handle Handle, err error)
|
|
|
+//sys OpenProcess(desiredAccess uint32, inheritHandle bool, processId uint32) (handle Handle, err error)
|
|
|
//sys ShellExecute(hwnd Handle, verb *uint16, file *uint16, args *uint16, cwd *uint16, showCmd int32) (err error) = shell32.ShellExecuteW
|
|
|
//sys shGetKnownFolderPath(id *KNOWNFOLDERID, flags uint32, token Token, path **uint16) (ret error) = shell32.SHGetKnownFolderPath
|
|
|
//sys TerminateProcess(handle Handle, exitcode uint32) (err error)
|
|
|
@@ -268,7 +268,7 @@ func NewCallbackCDecl(fn interface{}) uintptr {
|
|
|
//sys SetInformationJobObject(job Handle, JobObjectInformationClass uint32, JobObjectInformation uintptr, JobObjectInformationLength uint32) (ret int, err error)
|
|
|
//sys GenerateConsoleCtrlEvent(ctrlEvent uint32, processGroupID uint32) (err error)
|
|
|
//sys GetProcessId(process Handle) (id uint32, err error)
|
|
|
-//sys OpenThread(da uint32, inheritHandle bool, tid uint32) (handle Handle, err error)
|
|
|
+//sys OpenThread(desiredAccess uint32, inheritHandle bool, threadId uint32) (handle Handle, err error)
|
|
|
|
|
|
// Volume Management Functions
|
|
|
//sys DefineDosDevice(flags uint32, deviceName *uint16, targetPath *uint16) (err error) = DefineDosDeviceW
|