Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for StringToUTF16Ptr (0.14 sec)

  1. internal/disk/stat_windows.go

    	// _Out_opt_ PULARGE_INTEGER lpTotalNumberOfBytes,
    	// _Out_opt_ PULARGE_INTEGER lpTotalNumberOfFreeBytes
    	// );
    	_, _, _ = GetDiskFreeSpaceEx.Call(uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr(path))),
    		uintptr(unsafe.Pointer(&lpFreeBytesAvailable)),
    		uintptr(unsafe.Pointer(&lpTotalNumberOfBytes)),
    		uintptr(unsafe.Pointer(&lpTotalNumberOfFreeBytes)))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. internal/disk/type_windows.go

    	volumeNameSize, nFileSystemNameSize := uint32(260), uint32(260)
    	var lpVolumeSerialNumber uint32
    	var lpFileSystemFlags, lpMaximumComponentLength uint32
    	var lpFileSystemNameBuffer, volumeName [260]uint16
    	ps := syscall.StringToUTF16Ptr(filepath.VolumeName(path))
    
    	// Extract values safely
    	// BOOL WINAPI GetVolumeInformation(
    	// _In_opt_  LPCTSTR lpRootPathName,
    	// _Out_opt_ LPTSTR  lpVolumeNameBuffer,
    	// _In_      DWORD   nVolumeNameSize,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  3. api/go1.16.txt

    pkg syscall (windows-386), func StringToUTF16 //deprecated
    pkg syscall (windows-386), func StringToUTF16Ptr //deprecated
    pkg syscall (windows-amd64), func FormatMessage //deprecated
    pkg syscall (windows-amd64), func StringToUTF16 //deprecated
    pkg syscall (windows-amd64), func StringToUTF16Ptr //deprecated
    pkg syscall, func StringBytePtr //deprecated
    pkg syscall, func StringByteSlice //deprecated
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:30:41 UTC 2022
    - 479.2K bytes
    - Viewed (0)
Back to top