Skip to content

Releases: microsoft/win32metadata

v63.0.31-preview

13 Nov 18:57
66962fb
Compare
Choose a tag to compare

Changes:

Enhancements:

  • #1922: It would be nice to have an impl From<DEVPROPKEY> for PROPERTYKEY

Others:

  • #2019: Add additional device partitions
  • #2008: WINTRUST_SIGNATURE_SETTINGS_FLAGS should be a flagged enum
  • #1994: More Retained functions
  • #2004: CopyFile* constants should be in the Windows.Win32.Storage.FileSystem namespace
  • #2007: IExplorerCommand: Methods could return flag type instead of u32 and flag types should be marked as flags
  • #2009: Support for enum types in CreateFont method instead of casting to uint
  • #2010: CRYPTCATATTRIBUTE can use a flagged enum
See More
  • #2017: Apply same NuGetConfigFile change as wdkmetadata to pipeline yaml
  • #2011: IContextMenu::QueryContextMenu returns multiple success values
  • #2013: Update Install-DotNetTool.ps1 to use repos NuGet.config
  • #2012: Address dependabot alerts about MessagePack NuGet package
  • #1997: Add additional BCrypt APIs
  • #1995: Move win32metadaata onto a more secure nuget feed
  • #1980: Revert [RetVal] annotation for multi-output DCompositionGetStatistics()
  • #1979: Correct GdiPlus Bitmap, Image documentation links
  • #1977: Correct AviStream documentation links
  • #1993: Annotate input length of DCompositionGetStatistics::targetIds
  • #1987: Add PRINTER_HANDLE type
  • #1988: Remove RAIIFree attribute from PSID
  • #1978: Remove StructSizeField from BLOB, BSTRBLOB
  • #1976: Correct PMPRADMINCONNECTIONHANGUPNOTIFICATION3 parameter 4
  • #1974: Add NET_IF_COMPARTMENT_ID typedef and constants
  • #1975: Add QueryOptionalDelayLoadedAPI
  • #1969: Fix error where pipeline name ending in a '.' would cause the PR pipeline to fail
  • #1971: Mark ID3D12GraphicsCommandList::ClearDepthStencilView pRects as Optional
  • #1453: Bug: ID3D12GraphicsCommandList::ClearRenderTargetView pRects should be marked optional
  • #1970: Annotate missing ComOutPtr in CompositionSwapchain and `DirectCom…

This list of changes was auto generated.

v62.0.23-preview

26 Aug 21:15
e012b29
Compare
Choose a tag to compare

Changes:

Enhancements:

  • #1967: Disable submodules where not needed and add pipeline message for PR builds
  • #1877: Move Azure build pipelines to OneBranch
  • #1942: Add attribute on IPropertyStoreCapabilities::IsPropertyWritable
  • #1938: Added Nfc and Nfp partitions
  • Added winget configure file

Bug Fixes:

  • #1963: wincrypt.h metadata issues
  • #1945: Safe version of the EnumProcessModulesEx function seems to be incorrect
  • #1950: Missing CryptCATCDFEnumMembersByCDFTagEx and CryptCATCDFEnumAttributesWithCDFTag
  • #1962: Create a new type to handle Pdh* functions
  • #1943: Move FILE_CASE_SENSITIVE_INFO to Windows.Win32.Storage.FileSystem
  • #1955: MFCreateAttributes is missing ComOutPtr
  • #1960: WSASetEvent and WSAResetEvent should take a WSAEVENT instead of a HANDLE
  • #1958: Remap ICU APIs to forwarders where possible
  • #1959: Remove commit name from pipeline build number
  • #1940: EventRegister returns handle wrong type
  • #1939: DISPLAY_DEVICE can use flagged enum
  • #1937: CERT_CHAIN_POLICY_FLAGS missing flags attribute
  • #1932: LoadIconWithScaleDown: hinst parameted can be NULL

Documentation Updates:

  • #1951: Update README.md

This list of changes was auto generated.

v61.0.15-preview

18 Jun 00:57
Compare
Choose a tag to compare

Changes:

Enhancements:

  • #1785: WinSock missing a few constants

Others:

  • #1925: NCRYPT_SSL_FUNCTION_TABLE/SslGetCipherSuitePRFHashAlgorithmFn doesn't exist
  • #1924: Emit handles as void* not IntPtr
  • #1921: Fix test failures
  • #1919: When finding a type def from a type ref, search all assemblies
  • #1915: Add Cryptographic Provider Development Kit APIs, types
  • #1916: Remove errant BCRYPT_HANDLE RAII attribute
  • #1910: Upgrade D3D12 Agility SDK to 1.614.0
See More
  • #1904: Make GDI+ private types opaque
  • #1903: Add global resource flag GR_GLOBAL
  • #1902: Add missing resource type constants
  • #1901: Add missing lang/locale default constants
  • #1900: Remove incomplete metadata for ScriptStringAnalyse

This list of changes was auto generated.

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.