Find out the language windows was installed as

前端 未结 4 1021
无人及你
无人及你 2021-01-12 18:33

I have a problem where the user has set their locale (German) which is different that the Language Windows was installed as (English). Is there a way to discover what langua

4条回答
  •  情深已故
    2021-01-12 19:05

    The question's title and the question itself are different issues. You're trying to create an "Everyone" SID, but you're going about it in a way that depends on the locale. The solution to your problem is to not use a locale-dependent method. Use the CreateWellKnownSid API. The MSDN page on CreateWellKnownSid even has code for creating an Everyone SID.

提交回复
热议问题