You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The official docs for GetLocaleInfoW() list a number of constants for the first parameter that aren't in the windows crate.
Maybe it's because the top of the page says GetLocaleInfoEx() should be used instead (by why is the old function available then?). But for that new function, I also found the missing value LOCALE_NAME_USER_DEFAULT.
BTW: The official docs for GetLocaleInfoEx() also contain an easily misunderstood statement, or one that you first have to think of as a documentation error:
The buffer that receives the value must be at least the length of a DWORD value, which is 2.
By "2", they mean 2 wide chars, so 4 bytes.
The text was updated successfully, but these errors were encountered:
The official docs for
GetLocaleInfoW()
list a number of constants for the first parameter that aren't in thewindows
crate.Maybe it's because the top of the page says
GetLocaleInfoEx()
should be used instead (by why is the old function available then?). But for that new function, I also found the missing valueLOCALE_NAME_USER_DEFAULT
.BTW: The official docs for
GetLocaleInfoEx()
also contain an easily misunderstood statement, or one that you first have to think of as a documentation error:By "2", they mean 2 wide chars, so 4 bytes.
The text was updated successfully, but these errors were encountered: