Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getSystemDirectory (0.13 sec)

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

    		return Token(0), err
    	}
    	return linkedToken, nil
    }
    
    // GetSystemDirectory retrieves the path to current location of the system
    // directory, which is typically, though not always, `C:\Windows\System32`.
    func GetSystemDirectory() (string, error) {
    	n := uint32(MAX_PATH)
    	for {
    		b := make([]uint16, n)
    		l, e := getSystemDirectory(&b[0], n)
    		if e != nil {
    			return "", e
    		}
    		if l <= n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
Back to top