- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StringToUTF16Ptr (0.08 sec)
-
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) -
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)