mirror of
https://github.com/reactos/reactos.git
synced 2024-11-03 21:34:00 +00:00
use DUMMYUNIONNAME instead of plain 'u'
svn path=/trunk/; revision=7456
This commit is contained in:
parent
63080fde1a
commit
7bf39cb245
1 changed files with 3 additions and 3 deletions
|
@ -627,20 +627,20 @@ static HRESULT WINAPI ISF_MyComputer_fnGetDetailsOf (IShellFolder2 * iface, LPCI
|
||||||
hr = IShellFolder_GetDisplayNameOf (iface, pidl, SHGDN_NORMAL | SHGDN_INFOLDER, &psd->str);
|
hr = IShellFolder_GetDisplayNameOf (iface, pidl, SHGDN_NORMAL | SHGDN_INFOLDER, &psd->str);
|
||||||
break;
|
break;
|
||||||
case 1: /* type */
|
case 1: /* type */
|
||||||
_ILGetFileType (pidl, psd->str.u.cStr, MAX_PATH);
|
_ILGetFileType (pidl, psd->str.DUMMYUNIONNAME.cStr, MAX_PATH);
|
||||||
break;
|
break;
|
||||||
case 2: /* total size */
|
case 2: /* total size */
|
||||||
if (_ILIsDrive (pidl)) {
|
if (_ILIsDrive (pidl)) {
|
||||||
_ILSimpleGetText (pidl, szPath, MAX_PATH);
|
_ILSimpleGetText (pidl, szPath, MAX_PATH);
|
||||||
GetDiskFreeSpaceExA (szPath, NULL, &ulBytes, NULL);
|
GetDiskFreeSpaceExA (szPath, NULL, &ulBytes, NULL);
|
||||||
StrFormatByteSizeA (ulBytes.u.LowPart, psd->str.u.cStr, MAX_PATH);
|
StrFormatByteSizeA (ulBytes.DUMMYUNIONNAME.LowPart, psd->str.u.cStr, MAX_PATH);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 3: /* free size */
|
case 3: /* free size */
|
||||||
if (_ILIsDrive (pidl)) {
|
if (_ILIsDrive (pidl)) {
|
||||||
_ILSimpleGetText (pidl, szPath, MAX_PATH);
|
_ILSimpleGetText (pidl, szPath, MAX_PATH);
|
||||||
GetDiskFreeSpaceExA (szPath, &ulBytes, NULL, NULL);
|
GetDiskFreeSpaceExA (szPath, &ulBytes, NULL, NULL);
|
||||||
StrFormatByteSizeA (ulBytes.u.LowPart, psd->str.u.cStr, MAX_PATH);
|
StrFormatByteSizeA (ulBytes.DUMMYUNIONNAME.LowPart, psd->str.DUMMYUNIONNAME.cStr, MAX_PATH);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue