Skip to content

Releases: microsoft/win32metadata

v50.0.71-preview

28 Apr 14:52

Choose a tag to compare

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_SRWLOCK and RTL_RUN_ONCE
  • #1019: VARIANT in 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: LocalAlloc and GlobalAlloc return pointers
  • #1535: Update libMappings.rsp for the 22621 SDK
  • #1536: Include extensions in generated libMappings.rsp
  • #1534: ReadFile(Ex) has a different buffer type to WriteFile(Ex)

This list of changes was auto generated.

v49.0.21-preview

12 Apr 00:34

Choose a tag to compare

Changes:

Fixes:

  • #729: REG_NOTIFY_THREAD_AGNOSTIC should be attributed as requiring
  • #469: cannot find type userHMETAFILEPICT in module super::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_EX flags
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: BCryptGenRandom flags
  • #1521: CSTR enum
  • #1520: GetFinalPathNameByHandleW flags
  • #1519: SystemFunction036RtlGenRandom
  • #1518: Invalid parameters types for MIDL_STUB_DESC

This list of changes was auto generated.

v48.0.19-preview

31 Mar 01:57

Choose a tag to compare

Changes:

  • #1514: Bug: RegisterDeviceNotificationA returns *mut c_void in Rust and not HDEVNOTIFY
  • #1515: Add PSAPI v2 APIs (K32 variants)
  • #1512: IEnumSpellingError.Next should 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

23 Mar 02:55

Choose a tag to compare

Changes:

Fixes:

  • #1507: Bug: BluetoothFindFirstDevice return value differs from MSDN doc
  • #1506: Bug: IWbemClassObject::Get params 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::MONITOR2 structure 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.cs could be removed
  • #1492: NETIO_STATUS should not be interpreted as NTSTATUS
  • #1486: RPC_WSTR is not defined
  • #810: Commctrl.h notification message constants are missing
  • #983: Function pointers in EXTENSION_CONTROL_BLOCK are IntPtr in the metadata
  • #834: K32EnumProcessModules takes HINSTANCE instead of HMODULE
  • #436: GetCurrentProcessToken missing
  • #1499: IWICImagingFactory::CreateDecoderFromFilename dwDesiredAccess parameter...

This list of changes was auto generated.

v46.0.5-preview

15 Mar 17:52

Choose a tag to compare

Changes:

  • #1494: Move rometadata APIs to WinRT.Metadata
  • #1493: v45 has a number of regressions around parameter attributes
  • #305: [QUESTION] CLR Profiling APIs
  • #408: RoParseTypeName missing from metadata
  • #240: Add missing rometadata APIs

This list of changes was auto generated.

v45.0.21-preview

15 Mar 03:17

Choose a tag to compare

Changes:

Fixes:

  • #1457: CreateFile does 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.h and usbioctl.h
  • #1454: GetCommandLine should 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

10 Mar 15:49

Choose a tag to compare

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_INTEGER and ULARGE_INTEGER with Int64 and UInt64 respectively
  • #1483: Replace [PropertyKey] with [Constant]
  • #1482: Absent SECURITY_NT_AUTHORITY and 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

06 Mar 20:35

Choose a tag to compare

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_INFORMATION has Reserved placeholder names, but MSDN has full names and documentation
  • #1372: PFNGETACTIVATIONFACTORY is 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

21 Feb 21:55

Choose a tag to compare

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_AUTHORITY constants
  • #964: HIDP_ constants missing from metadata
  • #1432: Added MidlSwitches for #1428.
  • #1436: WTSEnumerateSessions: Annotate hServer as [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

25 Jan 17:24

Choose a tag to compare

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 of string for the lpName parameter for ease of use
  • #1413: EnumDisplaySettingsEx: Use enum for dwFlags parameter instead of uint
  • #1433: Add Optional to Reserved parameters.
  • #1414: GetDisplayConfigBufferSizes: use enum for flags parameter instead of uint
  • #1415: QueryDisplayConfig: Use enum for flags parameter instead of uint
  • #1416: SetDisplayConfig: Use enum for flags parameter instead of uint
  • #1424: QueryDisplayConfig return type, parameter touch-ups
  • #1425: Functions missing the ComOutPtr attribute
  • #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 DirectSoundXxx functions missing the [ComOutPtr] attribute

This list of changes was auto generated.