Generally I use RtlGetVersion to check whether my VB6 app is running in Windows 10. But this time I wanted to know whether I can use IsWindows10OrGreater for this purpose and test this WinAPI function in various environments. Sadly enough, but I could not call it from VB6. My declarations like this

Code:
Private Declare Function IsWindows10OrGreater Lib "Kernel32" () As Boolean
simply gave me the run-time error 453 "Can't find DLL entry point". I tried it in the VB6 IDE and in the compiled exe - nothing helped.

Is it possible to call IsWindows10OrGreater from a VB6 app? Do we need to target our app for Win10 or do any other thing for that?