- May
- 13,117
- 180
I could implement either of these with little change elsewhere and with the same result.
The first, and one call to it, requires 32 fewer bytes in .text while the second seems more in keeping with the MS way of doing things and avoids passing 64-bit values (inefficient on a 32-bit machine?).
Is one preferred over the other? Thanks.
Code:
ULONGLONG LocalDateTimeToUTCFileTime( LPWSTR szDateTime )
BOOL LocalDateTimeToUTCFileTime( LPWSTR szDateTime, ULONGLONG *pftDueUTC )
Is one preferred over the other? Thanks.