HANDLE hFile, // handle to file
LPDWORD lpFileSizeHigh // high-order word of file size);
DECLAREINTEGER GetFileSize IN kernel32;
INTEGER @ lpFileSizeHigh
[in] Handle to the file whose size is to be returned.
[out] Pointer to the variable where the high-order word of the file size is returned.
If the function succeeds, the return value is the low-order doubleword of the file size, and, if lpFileSizeHigh is non-NULL, the function puts the high-order doubleword of the file size into the variable pointed to by that parameter.
This function stores the file size in two DWORD values. To retrieve a file size stored in a LARGE_INTEGER structure, use the GetFileSizeEx function (WinNT only).