Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/os/file_windows.go

    			pathp, e1 := syscall.UTF16PtrFromString(path)
    			if e1 == nil {
    				var fa syscall.Win32FileAttributeData
    				e1 = syscall.GetFileAttributesEx(pathp, syscall.GetFileExInfoStandard, (*byte)(unsafe.Pointer(&fa)))
    				if e1 == nil && fa.FileAttributes&syscall.FILE_ATTRIBUTE_DIRECTORY != 0 {
    					e = syscall.EISDIR
    				}
    			}
    		}
    		return nil, &PathError{Op: "open", Path: name, Err: e}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 30 15:38:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. src/syscall/types_windows.go

    	VolumeSerialNumber uint32
    	FileSizeHigh       uint32
    	FileSizeLow        uint32
    	NumberOfLinks      uint32
    	FileIndexHigh      uint32
    	FileIndexLow       uint32
    }
    
    const (
    	GetFileExInfoStandard = 0
    	GetFileExMaxInfoLevel = 1
    )
    
    type Win32FileAttributeData struct {
    	FileAttributes uint32
    	CreationTime   Filetime
    	LastAccessTime Filetime
    	LastWriteTime  Filetime
    	FileSizeHigh   uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top