On Wed, 4 May 2022 08:34:43 GMT, David Holmes <dhol...@openjdk.org> wrote:

> I'm confused. 
> `src\jdk.crypto.mscapi\windows\native\libsunmscapi\security.cpp` doesn't set 
> _WIN32_WINNT so how is that later API being enabled? Does this mean that not 
> setting _WIN32_WINNT means :any API is allowed" ?

I found this info  here  
https://stackoverflow.com/questions/37668692/visual-studio-setting-winver-win32-winnt-to-windows-8-on-windows-7
"VS 2012 uses the Windows 8.0 SDK which defaults to _WIN32_WINNT=0x0602 
(Windows 8). VS 2013 / 2015 uses the Windows 8.1 SDK which defaults to 
_WIN32_WINNT=0x0603 (Windows 8.1). If you use VS 2015 and the Windows 10 SDK, 
it defaults to _WIN32_WINNT=0x0A00 (Windows 10)."

So it seems you get some more or less recent default when working with a not 
too old compiler/SDK.

-------------

PR: https://git.openjdk.java.net/jdk/pull/8428

Reply via email to