Skip to content

Releases: microsoft/win32metadata

v60.0.34-preview

08 May 15:18
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1813: CLSID_GlobalOptions is Missing
  • #1883: RT_MANIFEST is u32 while RT_ICON is PCWSTR
  • #1852: SC_HANDLE should be a managed SafeHandle derived type

Enhancements:

  • #1876: GetProcessHandleFromHwnd missing from SDK, metadata

Others:

  • #1766: Missing ID... constants
  • #480: Rename KNONVOLATILE_CONTEXT_POINTERS_ARM64 to KNONVOLATILE_CONTEXT_POINTERS
  • #1587: WSAEVENT and WSA_INVALID_EVENT
See More
  • #1892: RAIIFree functions have wrong type
  • #1884: VARENUM needs the flags attribute
  • #1894: EventRegister needs handle type
  • #1792: Add new Retained attribute to OVERLAPPED parameters
  • #1898: Fix ConstantsScraper tests
  • #1890: Add an option to ConstantsScraper to import constants from another namespace
  • #1895: Add additional RAII metadata
  • #1897: Remove invalid D2D DWRITE_PAINT_FEATURE_LEVEL enum
  • #1757: Associate DXGI function parameters and struct fields with the corresponding enum type
  • #1893: Add additional InvalidHandleValues metadata
  • #1886: Add references for all assemblies passed in via --ref
  • #1866: Cannot generate IPrintDocumentPageSource and IPrintPreviewPageCollection
  • #1858: Several functions which could return a Result
  • #1857: RPC_S_ACCESS_DENIED has wrong value
  • #1875: Update win32metadata for AgilitySDK 1.613.1 (minor release)
  • #1872: WNetAddConnection2W and WNetCancelConnection2W should accept NET_USE_CONNECT_FLAGS enumeration instead of uint as dwFlags
  • #1870: Update D3D12 Agility SDK to 1.613
  • #1871: RecompileIdlFilesForScraping does not run on a clean repo
  • #1859: AdjustWindowExForDpi expects WINDOW_STYLE and WINDOW_EX_STYLE, but CREATESTRUCTW only provides i32 and u32 respectively
  • #1856: IMMDevice::GetState: Wrong function signature/return type
  • #1853: Correct ICompositionTexture reference
  • #1855: Fix MetadataUtils.Tests failures
  • #1850: fix: IoRing return types

This list of changes was auto generated.

v59.0.13-preview

16 Feb 20:32
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1840: WriteConsoleW may be bloken
  • #1835: Certain constants appear to be missing (e.g. WINSTA_ALL_ACCESS)
  • #1842: Missing wincrypt #defines (e.g. CERT_SYSTEM_STORE_CURRENT_USER, CERT_SYSTEM_STORE_LOCAL_MACHINE)
  • #1843: PFAX_ROUTING_INSTALLATION_CALLBACKW should take PWSTR instead of PCWSTR

Others:

  • #1847: 3x FILE_COMPRESSION enum
  • #1721: Missing metadata for SECURITY_MAX_SID_SIZE
  • #1846: Inconsistency in GetSystemMetrics
  • #1833: IShellFolder::CompareIDs should be marked as CanReturnMultipleSuccessValues
See More
  • #1834: IShellFolder2::GetDefaultColumnState::pcsFlags not associated with SHCOLSTATE enum
  • #1839: APIs that should be declared as returning WIN32_ERROR
  • #1841: SetErrorMode should return THREAD_ERROR_MODE
  • #1824: Only load netstandard.dll from the hardcoded path if it wasn't provided by the user

This list of changes was auto generated.

v58.0.18-preview

24 Jan 23:31
Compare
Choose a tag to compare

Changes:

Enhancements:

  • #1829: make IMoniker::BindToStorage Option where T: ComInterface?

Others:

  • #1812: CLSID_DxcUtils is not included in metadata
  • #1793: Missing DEVPKEY_s part 2
  • #1794: CONFIGFLAG to enum
  • #1801: SP_DEVINSTALL_PARAMS_W can use various flagged enums
  • #1802: SP_CLASSINSTALL_HEADER and SetupDiCallClassInstaller can use enum
  • #1800: SetupDiGetClassDevs can use enum
  • #1803: SP_REMOVEDEVICE_PARAMS can use enum
See More
  • #1806: SP_PROPCHANGE_PARAMS can use enum
  • #1807: SP_DRVINSTALL_PARAMS can use enum
  • #1808: SetupDiCreateDeviceInfo can use enum
  • #1809: SetupDiSetDeviceRegistryPropertyW can use enum
  • #1816: SP_ALTPLATFORM_INFO_V2 can use one more enum
  • #1818: DEVPROPTYPE incomplete
  • #1832: Restore StgConvertPropertyToVariant, adjust param type
  • #1788: Missing synchapi.h CONDITION_, INIT_, SRWLOCK_ constants

This list of changes was auto generated.

v57.0.42-preview

18 Jan 21:15
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1820: NativeBitfieldAttribute has bizarre Doc attribute
  • #1780: Missing FileNamesInformation and other FILE_INFORMATION_CLASS constants in windows-sys
  • #1741: FreeMibTable returns ERROR_INVALID_FUNCTION
  • #1743: GlobalMemoryStatusEx fails to meet API precondition

Enhancements:

  • #1774: SHCreateItemInKnownFolder dwKFFlags param missing association with KNOWN_FOLDER_FLAG enum
  • #1779: RegisterPowerSettingNotification flags param missing association with REGISTER_NOTIFICATION_FLAGS
  • #1740: LCS_WINDOWS_COLOR_SPACE and LCS_sRGB are missing for LcsCsType enum constants

Others:

See More
  • #1827: TASKDIALOG_FLAGS missing the Flags attribute
  • #1782: Missing IsWindowArranged, other functions without headers/libs
  • #1754: Functions missing CanReturnMultipleSuccessValuesAttribute or needing other treatment
  • #1776: Missing appmodel.h, minappmodel.h constants
  • #1811: CHAR should be signed, not unsigned
  • #1805: SetupDiEnumDriverInfo and SetupDiDestroyDriverInfoList can use existing enum
  • #1810: SetupDiGetClassImageList should be in/out
  • #1817: Some functions and structs are missing Ansi/Unicode attributes
  • #1796: Add trace logging constants
  • #1746: Update tools to .NET 8
  • #1786: RAWMOUSE usFlags missing association with MOUSE_* flags
  • #1787: Enumeration missing to capture DEVICE_STATE_xxx constants
  • #1759: Document how to update dependencies (Windows SDK, D3D Agility SDK, ClangSharp, etc.)
  • #1768: Adjust NOTIFYICONDATA flags, types
  • #1763: Correct external contract assembly references
  • #1745: WinSock: WSAID_WSASENDMSG GUID missing
  • #1751: Update to latest Windows SDK 10.0.22621.2428
  • #1752: Correct HtmlHelp libs
  • #1753: Update CODEOWNERS
  • #1739: _DES enums part 2
  • #1738: AddSAPI Engine-Level Interfaces
  • #1733: Add Task_DIALOG_NOTIFICATION enum for TDN_ constants and use in PFTASKDIALOGCALLBACK msg parameter

This list of changes was auto generated.

v56.0.13-preview

14 Nov 02:03
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1717: CM_Get_Device_Interface_List_Size not using new enum flags

Enhancements:

  • #1735: LsaRegisterLogonProcess SecurityMode parameter missing reserved bit
  • #1724: return value of IShellView::TranslateAccelerator

Others:

  • #1648: _DES enums
  • #1730: HttpReceiveHttpRequest OVERLAPPED* parameter missing Out
  • #1731: Missing EXCEPTION_CONTINUE_EXECUTION, etc.
  • #1734: Need to update to AgilitySDK 1.611.1 release
See More
  • #1677: Bug: ID3D12InfoQueue1::RegisterMessageCallback context pointer type does not match D3D12MessageFunc
  • #1728: Missing constant RPC_S_OK
  • #1727: Need to update to AgilitySDK 1.611.0 release
  • #1723: UIA_ Enums should be signed type
  • #1725: Adjust IShellView::TranslateAccelerator attributes to account for multiple success codes

This list of changes was auto generated.

v55.0.45-preview

20 Sep 14:43
1e1cd10
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1705: CERT_OPEN_STORE_FLAGS can not be treated as bitflags (OR, AND etc.)
  • #1693: JET_errSuccess is u32 but other JET_err* types are i32
  • #1689: MOUSEINPUT.mouseData type is i32 instead of win32's DWORD/u32
  • #1680: Bug: ALL_PROCESSOR_GROUPS is u32, while should be u16
  • #1676: WaitableTimer related functions' A/W variants are split across functions

Enhancements:

  • #1688: Add FWP_ACTION_TYPE

Others:

  • #1715: Adjust scraper expression to capture BYTE constants
See More
  • #1713: Add GDI+ 1.1 types
  • #1709: Initial support for GDI+
  • #1711: Remove sa_family_t typedef
  • #1710: Correct CRYPT_ACQUIRE_FLAGS
  • #1707: Fix PARAFORMAT enums missing values
  • #1647: CM_REMOVAL_POLICY + CM_INSTALL_STATE + CM_DEVCAP enums
  • #1704: FINDREPLACE_FLAGS enum missing values from commdlg.h
  • #1701: Remove LIST_VIEW_INSERT_MARK_FLAGS enum
  • #1703: LVITEMA/LVITEMW Remove the enum limitation on iGroupId based on documentation
  • #1702: Update the ConstantsScraper to handle HWND_BROADCAST hexadecimal value
  • #1700: Add missing LVGROUP_MASK enum values
  • #1697: Add missing values to TASKDIALOG_COMMON_BUTTON_FLAGS
  • #1694: SetSecurityInfo: For the SecurityInfo parameter, use the OBJECT_SECURITY_INFORMATION enumeration instead of the uint
  • #1695: WNet* methods should return WIN32_ERROR, not uint
  • #1667: DevProp * enums
  • #1646: CONFLICT_DETAILS can use two enums
  • #1671: SPSVCINST_* to enum
  • #1691: Initial support for UCHAR constants
  • #1687: Add extended file operation flags (FOFX_*)
  • #1629: ChangeServiceConfig dwServiceType not using ENUM_SERVICE_TYPE
  • #1661: IAMStreamConfig::GetStreamCaps returns single byte instead of array
  • #1685: TrackPopupMenu() binding is wrong in windows
  • #1684: TrackPopupMenuEx returns error code 87, wrong parameter
  • #1679: Initial support for GDI+
  • #1683: Revert "Initial support for GDI+ (#1679)"
  • #1653: MIB_TCP* row can use enum
  • #1645: CM_Get_DevNode_Status can use two enums
  • #1649: CM_Get_*_Log_Conf enum
  • #1681: CM_Get_Device_Interface_List_Size should use existing CM_GET_DEVICE_INTERFACE_LIST_FLAGS enum
  • #1682: Add ALG_ID enum
  • #1669: CONFLICT_DETAILS_W can use enum
  • #1665: WlanRegisterNotification can use enum
  • #1673: Geo API enum parameter improvements
  • #1674: IWbemServices can use WBEM_GENERIC_FLAG_TYPE for flags instead of long
  • #1672: SetupAPI error codes missing from WIN32_ERROR
  • #1675: DEVPROP_FALSE / DEVPROP_TRUE incorrect char type

This list of changes was auto generated.

v54.0.44-preview

07 Aug 18:26
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1664: IAudioSessionControl2::IsSystemSoundSession uses S_FALSE
  • #1660: Bug: Compiler complains that HWND doesn't implement IntoParam<Handle, CopyType>
  • #1656: WlanOpenHandle uses Microsoft.Win32.SafeHandles.SafeFileHandle
  • #1622: LoadResource generates an unexpected GlobalFreeSafeHandle
  • #1621: Bug: Missing definitions for DEVPROP_BOOLEAN
  • #1609: Documentation mappings false positives

Enhancements:

  • #792: Metadata should annotate methods which return unowned handles
  • #1392: Feature request: use get/set to deal with bitfields.
See More

Others:

  • #1668: CredRead parameter should use CRED_TYPE enum
  • #1654: SetupCopyOEMInf can use CopyStyle enum
  • #1655: SetupScanFileQueue can use flagged enum
  • #1657: SetupOpenInfFile can use flagged enum
  • #1644: CM_Get_Next_Res_Des* should also use CM_QUERY_RESOURCE_CONFLICT_LIST_RESTYPE
  • #1643: CM_Enumerate_Classes and CM_Enumerate_Classes_Ex can use enum
  • #1636: SetProcessWorkingSetSizeEx can use enum in flags parameter
  • #1658: CertOpenStore's hCryptProv parameter should get a [Reserved] attribute
  • #1586: WinHTTP interfaces from httprequest.idl is missing
  • #1635: Missing DEVPKEY_s
  • #1589: Using Microsoft.Windows.WinmdGenerator on Linux: cannot find Sdk.props (case sensitivity)
  • #1634: CM_* can use enums
  • #1642: CM_Query_Resource_Conflict_List ResourceID parameter should use enum of ResType_*
  • #1638: UpdateDriverForPlugAndPlayDevices can use enum
  • #1640: REGISTER_NOTIFICATION_FLAGS missing flags attribute
  • #1641: EXIT_WINDOWS_FLAGS is incomplete
  • #1628: PrivilegeCheck pfResult is incorrect type
  • #1623: IGroupPolicyObject can use enums
  • #1624: REGISTRY_EXTENSION_GUID is missing from GPEdit.h
  • #1625: IServiceProvider::QueryService::ppvObject missing ComOutPtr
  • #1626: Restartmanager.h methods should return WIN32_ERROR
  • #1627: RM_PROCESS_INFO AppStatus should use RM_APP_STATUS enum
  • #1619: Update documentation links to learn.microsoft.com
  • #1620: Updated to ClangSharp 16.0 and added support for bitfields
  • #1594: WSA functions should be marked SetLastError where appropriate
  • #1618: PROCESSOR_FEATURE_ID is incomplete
  • #1617: newdev missing enums
  • #1616: The functions from netcon.h are missing
  • #1612: ImageList_GetIcon flags doesn't use existing IMAGE_LIST_DRAW_STYLE enum
  • #1614: STATEMGRSTATUS.nStatus should map to WIN32_ERROR
  • #1615: SRRemoveRestorePoint is missing
  • #1611: Update HeaderFileCoverageExceptions.csv
  • #1610: All types from Nvme.h are missing

This list of changes was auto generated.

v53.0.14-preview

11 Jul 15:40
e3e8b7b
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1595: Unusual generation of the HOTKEYF_EXT constant on Windows
  • #1592: CfReleaseTransferKey mistakenly has an out-parameter
  • #1600: [Regression] Regular expression remaps ignored when matching explicit remap exists
  • #1585: MetaData for IKsPropertySet missing

Enhancements:

  • #1593: Feature request: SCH_CREDENTIALS

Others:

  • #1608: Add bcrypt prng functions
  • #1606: Annotate SHGetPropertyStoreForWindow ComOutPtr
See More
  • #1591: Mark IDXGI* interfaces as [Agile]
  • #1588: Should IDXGI* types be marked as [Agile]?
  • #740: Some Win32 interfaces should be marked with an agile attribute
  • #861: Fixes #740 - Add Agile attribute to ID3D* interfaces
  • #1596: Change URL for Dart projection
  • #1583: Mark DXGI_SWAP_CHAIN_DESC1::Flags as DXGI_SWAP_CHAIN_FLAG type
  • #1582: Metadata is missing for CLR hosting API.

This list of changes was auto generated.

v52.0.65-preview

23 May 17:40
16a7e8e
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1581: CreateActCtx is returning the wrong SafeHandle
  • #1579: Bug: D3D12_COMMAND_QUEUE_DESC::Priority is i32 instead of D3D12_COMMAND_QUEUE_PRIORITY
  • #1571: Fix IDL compilation bugs

Enhancements:

  • #711: [Feature Request] Attribute for ANSI/Unicode Suffix

Others:

  • #1572: Remove enum assignments and add [AssociatedEnum] when the types don't align
  • #1502: Regression: Flags are not being marked as unsigned
  • #1575: MetadataTypedef attribute does not work
See More
  • #1580: Windows.Win32.System.WinRT.Metadata.CorElementType
  • #1578: IDI_ERROR/IDI_WARNING/IDI_INFORMATION
  • #389: [AlsoUsableFor] and [RAIIFree]
  • #1573: ID3D11Texture2D.SetEvictionPriority should accept DXGI_RESOURCE_PRIORITY as the param type.
  • #1574: VBS_BASIC_ENCLAVE_BASIC_CALL_CREATE_THREAD
  • #1570: IAMStreamConfig::SetFormat should use a *const AM_MEDIA_TYPE
  • #1569: Missing AlternateSuccessCodes signature
  • #1517: Bug: Win32::Foundation::HINSTANCE is not generated
  • #1565: OBJECT_ATTRIBUTES should have read-only fields
  • #1567: AtlThunk_Xxx functions should be removed

This list of changes was auto generated.

v51.0.33-preview

05 May 23:05
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1559: A/W APIs in the win32 docs repo are missing Documentation attributes
  • #1313: OpenPrinter is not being generated with a link to docs (or any XML docs)
  • #919: Missing documentation for WM_ constants and enums

Enhancements:

  • #865: How to compute permalink to docs?

Others:

  • #1561: Include MicrosoftDocs/Win32 in the Win32Docs package
  • #1560: Remove unintended enumerators
  • #1558: (Msg)WaitFor(Single|Multiple)Object(s)(Ex) now return Result instead of WIN32_ERROR
See More
  • #412: LoadMenuIndirectW takes a MENUTEMPLATEW *, not a void *
  • #1557: Bug: LocalFree
  • #987: SignerFreeSignerContext function missing
  • #1556: Move remaining Nt* APIs and associated types to the WDK metadata

This list of changes was auto generated.