The procedure entry point EnumDynamicTimeZoneInformation could not be located

Viewed 760

I try to declare EnumDynamicTimeZoneInformation (https://docs.microsoft.com/en-us/windows/win32/api/timezoneapi/nf-timezoneapi-enumdynamictimezoneinformation) in Delphi like this :

function EnumDynamicTimeZoneInformation(dwIndex: DWORD; lpTimeZoneInformation: PDynamicTimeZoneInformation): DWORD; stdcall; external kernel32 name 'EnumDynamicTimeZoneInformation';

however at runtime i get this error :

The procedure entry point EnumDynamicTimeZoneInformation could not be located in the dynamic link library C:\temp\test\test.exe

What did i do wrong? i m on Windows 8.1 and it's say that this function is supported still windows 8

Minimum supported client Windows 8 [desktop apps | UWP apps]

0 Answers
Related