Releases: microsoft/win32metadata
Releases · microsoft/win32metadata
v50.0.71-preview
Changes:
Fixes:
- #632: Dhcp types are duplicated and top level ones are empty
- #547: Field_size_full struct member annotation is ignored
- #1484: IWMDMEnumStorage::Next has faulty CountParamIndex attribute value
Enhancements:
- #1542: Feature request: Add rtworkq.h interfaces
- #1312: When to ignore out parameters based on return value?
- #1006: Fixed size array parameters decay to pointers
Others:
- #1550: Missing AlternateSuccessCodes signature
See More
- #1547: Add missing opaque handles and remove empty structs
- #1548: IKsPin missing IID?
- #1549: Remove duplicate IIDs
- #1522: Add aliases for
RTL_CONDITION_VARIABLE,RTL_SRWLOCKandRTL_RUN_ONCE - #1019:
VARIANTin wrong namespace? - #912: Unbounded string fields should be declared with
[]instead of[0...0]bounds - #1544: VarArgs Example.
- #141: Create a wiki or set of test cases for projection authors to track "interesting" types and functions
- #561: MapViewOfFile should generate an overload returning SafeMemoryMappedViewHandle
- #1538: Differentiate NativeTypedef structs that exist in the headers vs. only in metadata
- #1533: Ideally, there would be a distinct attribute for these "invented" handle types
- #1400: Add CONTEXT_* values to enums.json
- #1537: Need to update to AgilitySDK 1.610.0 release
- #1540:
LocalAllocandGlobalAllocreturn pointers - #1535: Update libMappings.rsp for the 22621 SDK
- #1536: Include extensions in generated libMappings.rsp
- #1534:
ReadFile(Ex)has a different buffer type toWriteFile(Ex)
This list of changes was auto generated.
v49.0.21-preview
Changes:
Fixes:
- #729: REG_NOTIFY_THREAD_AGNOSTIC should be attributed as requiring
- #469: cannot find type
userHMETAFILEPICTin modulesuper::SystemServices
Enhancements:
- #1288: Add attribute to parameters to better track "reserved" parameters
Others:
- #561: MapViewOfFile should generate an overload returning SafeMemoryMappedViewHandle
- #1530: Consolidate PROCESSOR_ARCHITECTURE values
- #1531: IWbemClassObject::GetNames
- #1528:
FILE_DISPOSITION_INFO_EXflags
See More
- #1527: Retired Windows.Win32.Interop.dll and moved attribute definitions to Windows.Win32.Foundation.Metadata
- #1526: ULONG needed for a COM interface method, bindings take u32 but define a u64 const?
- #1523:
BCryptGenRandomflags - #1521:
CSTRenum - #1520:
GetFinalPathNameByHandleWflags - #1519:
SystemFunction036➜RtlGenRandom - #1518: Invalid parameters types for MIDL_STUB_DESC
This list of changes was auto generated.
v48.0.19-preview
Changes:
- #1514: Bug: RegisterDeviceNotificationA returns
*mut c_voidin Rust and notHDEVNOTIFY - #1515: Add PSAPI v2 APIs (K32 variants)
- #1512:
IEnumSpellingError.Nextshould apply[CanReturnMultipleSuccessValues] - #903: DiInstallDevice only generated to take SP_DRVINFO_DATA_V2_A
- #1509: Correct ushort PSTR/PWSTR constant values
- microsoft/wdkmetadata#15: Removed NtCreateFile.
This list of changes was auto generated.
v47.0.26-preview
Changes:
Fixes:
- #1507: Bug: BluetoothFindFirstDevice return value differs from MSDN doc
- #1506: Bug:
IWbemClassObject::Getparams are not*mut - #1505: Bug: SetThreadErrorMode has invalid prototype
- #1497: v46 has name collision
Enhancements:
- #1495: Add MSCoreEE exports to the metadata
Others:
- #1500: Discussion: IDEs and large module sizes
- #1411: Bug: DIPROP_* flags from dinput.h not generated
See More
- #618: MSIDBOPEN_PATCHFILE etc. for MsiOpenDatabase
- #1503: Add short const support, make constant scraping impl. testable
- #796:
Win32::Graphics::Printing::MONITOR2structure is supposed to hold callbacks, but it has generic isize fields instead. I think for the callbacks the fields should be Option<fn...>, like for the other similar APIs. - #1474:
generation/WinSDK/manual/Backup.cscould be removed - #1492:
NETIO_STATUSshould not be interpreted asNTSTATUS - #1486: RPC_WSTR is not defined
- #810: Commctrl.h notification message constants are missing
- #983: Function pointers in
EXTENSION_CONTROL_BLOCKareIntPtrin the metadata - #834: K32EnumProcessModules takes HINSTANCE instead of HMODULE
- #436:
GetCurrentProcessTokenmissing - #1499:
IWICImagingFactory::CreateDecoderFromFilenamedwDesiredAccessparameter...
This list of changes was auto generated.
v46.0.5-preview
v45.0.21-preview
Changes:
Fixes:
- #1457:
CreateFiledoes not generate generic access flags - #1490: FindVolumeMointPointHandle
- #1487: Case collisions
- #904: Unsigned vs. signed types in WinSock APIs
Enhancements:
- #1041: Feature request: sa_family_t and socklen_t types
Others:
- #1442: BITMAPINFOHEADER biCompression flag inconsistencies
- #561: MapViewOfFile should generate an overload returning SafeMemoryMappedViewHandle
See More
- #691: Missing
usbdef.handusbioctl.h - #1454:
GetCommandLineshould return a pointer to a constant string - #468: Please add extsfns.h
- #869: Missing metadata for ordinal method FileIconInit
- #1489: Clarify licensing
- #920: EnumProcesses alias (PSAPI) not generated for K32EnumProcesses
- #639: The metadata is missing these functions
- #1049: Update to the 22621 SDK
- #1025: mq.h is excluded due to conflicts with mqoai.h
This list of changes was auto generated.
v44.0.17-preview
Changes:
Fixes:
- #1388: Bug: type error in D3D12_SUBOBJECT_TO_EXPORTS_ASSOCIATION::pExports
- #1401: Many enums are missing [flags] attributes
Others:
- #675: setsockopt and SOL_SOCKET don't match
- #611: LoadImage's returned HANDLE must be released in ONE of THREE ways
- #638: Suggestion normalize all Platform
- #634: Microsoft.Dia.Win32Metadata should express its dependency on Windows.Win32
- #763: Missing VDS interfaces
- #1260: Bug: couldn't call QueryDisplayConfig except QDC_DATABASE_CURRENT, with 0.40.0
See More
- #1480: Add [Const] to more string APIs
- #1485: Replace
LARGE_INTEGERandULARGE_INTEGERwithInt64andUInt64respectively - #1483: Replace [PropertyKey] with [Constant]
- #1482: Absent
SECURITY_NT_AUTHORITYand similar defines - #1479: Add StructSizeField("cbSize") to all structs that have a cbSize field
- #433: An attribute to indicate struct size fields
- #1369: ConstantWriter emits unchecked integers in unsigned integer enumerations
- #1478: Detect more flags enums and don't force flags enums to be uint
This list of changes was auto generated.
v43.0.29-preview
Changes:
Fixes:
- #1003: Bug: IMAGE_ORDINAL_FLAG should be pointer-sized, not always equal to IMAGE_ORDINAL_FLAG64
- #1012: Don't conflate BCrypt and NCrypt
Enhancements:
- #1296: Add HLOCAL and HGLOBAL typedefs
- #1242: The build should report suggested remappings from the ClangSharp output
- #792: Metadata should annotate methods which return unowned handles
Others:
- #1271: Missing COLE_DEFAULT_PRINCIPAL, COLE_DEFAULT_AUTHINFO constants
- #687: Incremental build doesn't notice changes to manual files require a rebuild of the winmd
See More
- #1459: WinVerifyTrust pgActionID GUIDS missing in rust crate
- #1439: THREADINFOCLASS declares only 2 of many enum values
- #1286:
PROCESS_BASIC_INFORMATIONhasReservedplaceholder names, but MSDN has full names and documentation - #1372:
PFNGETACTIVATIONFACTORYis missing - #781: BeginUpdateResource requires custom handle handling
- #1252: Unify DEFINE_USHORT_ENUM types in cfapi.h
- #1448: Is there corresponding function to
IEIsProtectedModeProcess? - #1476: Refactor Windows.Win32.Web.MsHtml
This list of changes was auto generated.
v42.0.39-preview
Changes:
Fixes:
- #1311: Missing error codes in WIN32_ERROR enum.
- #1465: Bug: VK_ABNT_C1 and VK_ABNT_C2 are the wrong type
- #1429: GetVcDirPath.ps1 fails due to dependency on missing scripts
- #1449: AssocQueryStringW missing CanReturnMultipleSuccessValuesAttribute
Enhancements:
- #1428: Make it possible to customize MIDL parameters
Others:
- #951: CERT_INFO.rgExtension metadata isn't consistent with docs
- #619: Generated method signature may not be completely correct for cfapi->CfConnectSyncRoot
See More
- #1404: Threadpool API should use handles, not pointers to structs
- #947: LPBSTR parameters should retain metadata about their being BSTRs
- #958: Better support for generating (flagged) enums
- #885: NDR_SCONTEXT_1 appears to be a duplicate of _NDR_SCONTEXT
- #614: PrivateExtractIcons method incorrectly claims piconid parameter is an array
- #612: ReadOnlySpan friendly overload for WriteFile
- #1473: Correct [Show|Scroll]Window statuses, commands, and flags
- #1472: Add usage hints for _SVGIO
- #1471: Add usage hints for SWTC, SWFWO enums
- #1466: IWbemClassObject::Get
- #1447: Fix Enum Size Validation Bug
- #1453: Bug: ID3D12GraphicsCommandList::ClearRenderTargetView pRects should be marked optional
- #1451: Correct EnsureEnumSizeMatchesOriginalSize switch case
- #448: Documentation on Metadata Semantics
- #1337: Missing
SID_IDENTIFIER_AUTHORITYconstants - #964: HIDP_ constants missing from metadata
- #1432: Added MidlSwitches for #1428.
- #1436:
WTSEnumerateSessions: AnnotatehServeras[Optional] - #1446: winspool.drv APIs missing SetLastError attribute
- #1448: Is there corresponding function to
IEIsProtectedModeProcess?
This list of changes was auto generated.
v41.0.25-preview
Changes:
Fixes:
- #1431: MF_VERSION missing from metadata
- #1435: WTSQuerySessionInformation throws exception on null hServer
- #1410: Bug: TOKEN_ALL_ACCESS is incorrectly defined
Enhancements:
- #1421: LoadLibraryEx missing critical
[Optional]attribute on reserved parameter - #1407: Feature request: support for the SIO_GET_EXTENSION_FUNCTION_POINTER WSAIoctl ?
Others:
- #1444: removing conditional filters for unsafe code property
- #1445: Override D3D headers with those from D3D12 "Agility SDK" nuget package
See More
- #1369: ConstantWriter emits unchecked integers in unsigned integer enumerations
- #1403: Some
WTS_*constants are missing - #1408: Various WinUsb_* functions missing helpful metadata
- #1417:
LookupPrivilegeValue: Use an enum instead ofstringfor thelpNameparameter for ease of use - #1413:
EnumDisplaySettingsEx: Use enum fordwFlagsparameter instead ofuint - #1433: Add Optional to Reserved parameters.
- #1414:
GetDisplayConfigBufferSizes: use enum forflagsparameter instead ofuint - #1415:
QueryDisplayConfig: Use enum forflagsparameter instead ofuint - #1416:
SetDisplayConfig: Use enum forflagsparameter instead ofuint - #1424: QueryDisplayConfig return type, parameter touch-ups
- #1425: Functions missing the
ComOutPtrattribute - #1429: GetVcDirPath.ps1 fails due to dependency on missing scripts
- #1430: WINDOWINFO's dwStyle and dwExStyle should use WINDOW_STYLE and WINDOW_EX_STYLE types
- #1427: Fix method counting for interfaces when scanning references
- #1391: Various
DirectSoundXxxfunctions missing the[ComOutPtr]attribute
This list of changes was auto generated.