BOOL WINAPI SystemTimeToTzSpecificLocalTime(
_In_opt_ LPTIME_ZONE_INFORMATION lpTimeZone,
_In_ LPSYSTEMTIME lpUniversalTime,
_Out_ LPSYSTEMTIME lpLocalTime
);
You could use this to pre-populate your memory block, and then just change the portions you need:DWORD WINAPI GetTimeZoneInformation( _Out_ LPTIME_ZONE_INFORMATION lpTimeZoneInformation );>Any ideas of a site from which I can get datetime by country?