Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for GetCurrentProcess (0.32 sec)

  1. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    // syscall interface implementation for other packages
    
    // GetCurrentProcess returns the handle for the current process.
    // It is a pseudo handle that does not need to be closed.
    // The returned error is always nil.
    //
    // Deprecated: use CurrentProcess for the same Handle without the nil
    // error.
    func GetCurrentProcess() (Handle, error) {
    	return CurrentProcess(), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  2. src/os/os_windows_test.go

    	if err = os.Remove(p); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestReadStdin(t *testing.T) {
    	old := poll.ReadConsole
    	defer func() {
    		poll.ReadConsole = old
    	}()
    
    	p, err := syscall.GetCurrentProcess()
    	if err != nil {
    		t.Fatalf("Unable to get handle to current process: %v", err)
    	}
    	var stdinDuplicate syscall.Handle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. src/syscall/syscall_windows.go

    //sys	TerminateProcess(handle Handle, exitcode uint32) (err error)
    //sys	GetExitCodeProcess(handle Handle, exitcode *uint32) (err error)
    //sys	getStartupInfo(startupInfo *StartupInfo) = GetStartupInfoW
    //sys	GetCurrentProcess() (pseudoHandle Handle, err error)
    //sys	GetProcessTimes(handle Handle, creationTime *Filetime, exitTime *Filetime, kernelTime *Filetime, userTime *Filetime) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 11:49:46 UTC 2024
    - 52.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"GetAdaptersInfo", Func, 0},
    		{"GetAddrInfoW", Func, 1},
    		{"GetCommandLine", Func, 0},
    		{"GetComputerName", Func, 0},
    		{"GetConsoleMode", Func, 1},
    		{"GetCurrentDirectory", Func, 0},
    		{"GetCurrentProcess", Func, 0},
    		{"GetEnvironmentStrings", Func, 0},
    		{"GetEnvironmentVariable", Func, 0},
    		{"GetExitCodeProcess", Func, 0},
    		{"GetFileAttributes", Func, 0},
    		{"GetFileAttributesEx", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  5. api/go1.txt

    pkg syscall (windows-386), func GetComputerName(*uint16, *uint32) error
    pkg syscall (windows-386), func GetCurrentDirectory(uint32, *uint16) (uint32, error)
    pkg syscall (windows-386), func GetCurrentProcess() (Handle, error)
    pkg syscall (windows-386), func GetEnvironmentStrings() (*uint16, error)
    pkg syscall (windows-386), func GetEnvironmentVariable(*uint16, *uint16, uint32) (uint32, error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top