Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
TotalSize
long System.IO.DriveInfo.TotalSize
get
Definition at line
84
of file
DriveInfo.cs
.
85
{
86
get
87
{
88
global::Interop.Kernel32.SetThreadErrorMode(1
u
,
out
var
lpOldMode
);
89
try
90
{
91
if
(!global::Interop.Kernel32.GetDiskFreeSpaceEx(
Name
,
out
var
_
,
out
var
totalBytes
,
out
var
_
))
92
{
93
throw
Error
.GetExceptionForLastWin32DriveError(
Name
);
94
}
95
return
totalBytes
;
96
}
97
finally
98
{
99
global::Interop.Kernel32.SetThreadErrorMode(
lpOldMode
,
out
var
_
);
100
}
101
}
102
}
System.IO.DriveInfo.Name
string Name
Definition
DriveInfo.cs:12
System.Runtime.InteropServices.UnmanagedType.Error
@ Error
System.Runtime.Serialization.CollectionKind.Dictionary
@ Dictionary
System
IO
DriveInfo
Generated by
1.10.0