Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FinalPath (0.17 sec)

  1. src/os/dir_windows.go

    	} else {
    		// If FileIdBothDirectoryRestartInfo is not available but objects IDs are supported,
    		// get the directory path so that os.SameFile can use it to open the file
    		// and retrieve the file ID.
    		d.path, _ = windows.FinalPath(h, windows.FILE_NAME_OPENED)
    	}
    }
    
    func (file *File) readdir(n int, mode readdirMode) (names []string, dirents []DirEntry, infos []FileInfo, err error) {
    	// If this file has no dirInfo, create one.
    	var d *dirInfo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. src/internal/syscall/windows/syscall_windows.go

    //sys    OpenSCManager(machineName *uint16, databaseName *uint16, access uint32) (handle syscall.Handle, err error)  [failretval==0] = advapi32.OpenSCManagerW
    
    func FinalPath(h syscall.Handle, flags uint32) (string, error) {
    	buf := make([]uint16, 100)
    	for {
    		n, err := GetFinalPathNameByHandle(h, &buf[0], uint32(len(buf)), flags)
    		if err != nil {
    			return "", err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top