-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Actual behavior
When generating the enumeration OS_PRODUCT_TYPE, the resulting enumeration misses a few entries. The missing values are:
- PRODUCT_IOTENTERPRISE
- PRODUCT_IOTENTERPRISE_S
- PRODUCT_PPI_PRO
- PRODUCT_PRO_FOR_EDUCATION
- PRODUCT_SERVERRDSH
Expected behavior
All entries listed on https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getproductinfo are present in the enumeration.
Repro steps
NativeMethods.txt
content:
GetProductInfo
NativeMethods.json
content (if present):
{
"$schema": "https://aka.ms/CsWin32.schema.json",
"allowMarshaling": false,
"className": "WindowsApi",
"emitSingleFile": false,
"friendlyOverloads": {
"enabled": true
},
"multiTargetingFriendlyAPIs": true,
"public": false,
"useSafeHandles": false,
"wideCharOnly": true
}
- Any of your own code that should be shared?
Context
- CsWin32 version: 0.3.205
- Win32Metadata version (if explicitly set by project): 63.0.31-preview
- Target Framework: .NET 9
LangVersion
(if explicitly set by project): latest
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working