mirror of https://github.com/dahall/Vanara.git
Added FILEDESCRIPTOR.nFileSize property to combine high/low fields
parent
2c058d2289
commit
cbfc0e1ebe
|
@ -328,6 +328,17 @@ namespace Vanara.PInvoke
|
|||
/// </summary>
|
||||
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = MAX_PATH)]
|
||||
public string cFileName;
|
||||
|
||||
/// <summary>The file size, in bytes.</summary>
|
||||
public ulong nFileSIze
|
||||
{
|
||||
get => Macros.MAKELONG64(nFileSizeLow, nFileSizeHigh);
|
||||
set
|
||||
{
|
||||
nFileSizeHigh = (uint)(value >> 32);
|
||||
nFileSizeLow = (uint)(value & 0xFFFFFFFF);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Defines the CF_FILEGROUPDESCRIPTOR clipboard format.</summary>
|
||||
|
|
Loading…
Reference in New Issue