microsoft / microsoft/win32metadata
`LOCALE_NAME_USER_DEFAULT` API is missing
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 149
- Avg merge
- 5d 16h
- Merged PRs (30d)
- 4
Description
## Actual behavior
PInvoke001: Method, type or constant "LOCALE_NAME_USER_DEFAULT" not found
## Expected behavior
I get a desired API generaed as it is defined in official docs: https://learn.microsoft.com/en-us/windows/win32/intl/locale-name-constants. Note that other APIs from that page generate without errors
## Repro steps
1. `NativeMethods.txt` content:
```
LOCALE_NAME_INVARIANT
LOCALE_NAME_MAX_LENGTH
LOCALE_NAME_SYSTEM_DEFAULT
LOCALE_NAME_USER_DEFAULT
```
### Context
- CsWin32 version: `0.3.183`
- Win32Metadata version (if explicitly set by project): Not explicitly set
- Target Framework: `net10.0`
- `LangVersion` (if explicitly set by project): Not explicitly set
Contributor guide
Research direction
Start with the NativeMethods.txt reproduction and compare the four locale-name constants against the official Windows documentation. Trace how these constants are represented and generated in win32metadata and CsWin32. Done means LOCALE_NAME_USER_DEFAULT generates successfully alongside the other listed constants.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, csharp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100