|
|
Joined: Dec 1999
Posts: 30,867
Master Elite Member
|
FUNCTION DirData_ToFileSize (BYREF pDirData AS DIRDATA) AS QUAD
'Purpose
' Parses the file size from an existing DIRDATA structure.
'Parameters
' pDirData (DIRDATA) = The structure representing the file we're working with.
'Return (QUAD)
' Returns the file size parsed from the specified DIRDATA structure.
'Version History
' 1.00 2010.03.02 Tested by Russ Tanner on PB/CC 5.03.
LOCAL qFileSize AS QUAD
qFileSize = pDirData.FileSizeHigh
SHIFT LEFT qFileSize, 32
qFileSize OR= pDirData.FileSizeLow
FUNCTION = qFileSize
END FUNCTION
|
|
|
|
|