in reply to Re: Win32 FILETIME and 64-bit numbers
in thread Win32 FILETIME and 64-bit numbers
I think VT_FILETIME is a COM/OLE name. I'm used to FILETIME in the Win32 API. It's used for timestamps and also for file sizes and offsets. In some functions the WINDOWS.H file passes the low and high halves as two 32-bit values, presumably so it would be compatible with compilers that didn't support __int64. For return values, I know one where the function return value is the low 32 bits, and the high 32 bits is in an out parameter!
Naturally, I get rid of all that nonesence. I import the Win32 DLL's functions with int64 arguments (and structure members) when they are indeed that. In one case they have the halves backwards (sigh) so I have a wrapper to put it back together again.
—John
|
|---|