win32metadata

Tooling to generate metadata for Win32 APIs in the Windows SDK.

OTHER License

Stars
1.3K
Committers
42

Bot releases are visible (Hide)

win32metadata - v22.0.14-preview

Published by sotteson1 over 2 years ago

Changes:

  • #707: IKsTopologyInfo.get_NodeName is incorrectly described in metadata as property getter
  • #736: AddInterfacesToAdapter pAdapter not a pointer
  • #848: Bug: Incorrect value for INVALID_SOCKET
  • #854: IDataObject::* methods need PreserveSig treatment
  • #881: Duplicate Item
  • #879: MFTEnumEx's flags param could have a more precise type
  • #893: Combine send/recv flags into new SEND_RECV_FLAGS enumeration
  • #864: Add InvalidHandleAttribute to HINSTANCE
  • #782: DEVPKEY_Device_InstanceId has the wrong type
  • #856: HDEVINFO is not defined as a handle type
  • #846: Invalid MulticastDelegate
  • #813: IWMDRMMessageParser.ParseLicenseRequestMsg has odd NativeArrayInfo info
  • #852: Cannot access alternative success HRESULT values returned by IEnumExplorerCommand::*
  • #855: IAudioClient*::GetService does not have ComOutPtr

This list of changes was auto generated.

win32metadata - v21.0.3-preview

Published by sotteson1 over 2 years ago

Changes:

  • #803: Many parameters include incorrect directional attributes
  • #740: Some Win32 interfaces should be marked with an agile attribute
  • #861: Fixes #740 - Add Agile attribute to ID3D* interfaces
  • #859: Add InvalidHandleValues to all handle types
  • #860: Fixes #803 - Remove out directional attribute when a param isn't a pointer
  • #671: SIO_GET_EXTENSION_FUNCTION_POINTER missing constant
  • #844: Various Winsock constants missing
  • #858: Fixes #671, fixes #844 - Add lots of missing winsock constants

This list of changes was auto generated.

win32metadata - v20.0.1-preview

Published by sotteson1 over 2 years ago

Changes:

  • #837: Bug: CoInitializeSecurity cannot entirely be called correctly anymore
  • #841: IO_REPARSE_TAG_APPEXECLINK is generated with incorrect type and value
  • #850: Feature request: define POLLIN
  • #857: Allow for the removal of attributes when emitting the winmd
  • #853: Add InvalidHandleValueAttribute support
  • #845: AF_INET and AF_INET6 should not be exclusive to Win32::NetworkManagement::IpHelper
  • #843: Bluetooth LE APIs missing

This list of changes was auto generated.

win32metadata - v19.0.1-preview

Published by sotteson1 over 2 years ago

Changes:

  • #839: Add PSECURITY_DESCRIPTOR NativeTypeDef
  • #840: Add PreserveSig to IsDirty methods
win32metadata - v18.0.1-preview

Published by sotteson1 over 2 years ago

Changes:

Fixes:

  • #805: SAL annotations are incorrectly being interpreted as Optional
  • #804: RAWINPUTDEVICE_FLAGS not longer implements bitwise ops
  • #824: Win32::System::SqlLite is mis-named
  • #820: WideCharToMultiByte uses wrong attribute to describe array parameter
  • #809: STATUS_ACCESS_DENIED placed in a weird namespace
  • #814: INetCfgComponentUpperEdge.AddInterfacesToAdapter has unusable metadata
  • #827: Add SetLastError attribute to additional Di APIs
  • #822: Remove incorrect PSECURITY_DESCRIPTOR mapping
  • #819: Remap ICM mode constants to integers
  • #818: Add PreserveSig attribute to IXmlReader methods
  • #811: Add FreeWith(CoTaskMemFree) attribute to BITS API params
  • #812: Temporarily disable PowerShell strict mode
  • #801: Move window message constants from RichEdit namespace
  • #799: Adjust lib mapping for PackageDependency APIs
  • #798: Add PreserveSig to ISequentialStream methods
  • #483: WAVEHDR lpData needs NotNullTerm
  • #794: Add WIN32_ERROR return attribute to virtdisk, appmodel APIs
  • #793: Remove DoesNotReturn from [Rtl]RaiseException

This list of changes was auto generated.

win32metadata - v17.0.9-preview

Published by sotteson1 over 2 years ago

Changes:

  • #789: Adjust PreserveSig emission
  • #783: New string constants are problematic
  • #788: Annotate [Rtl]RaiseException APIs with DoesNotReturn
  • #787: IAgileReference's Resolve method has wrong signature

This list of changes was auto generated.

win32metadata - v17.0.5-preview

Published by sotteson1 over 2 years ago

Changes:

  • #779: Struct enum members no longer generated
  • #783: New string constants are problematic

This list of changes was auto generated.

win32metadata - v17.0.2-preview

Published by sotteson1 over 2 years ago

Changes:

  • #777: Explicitly specify extension for winspool, bthprops libs
  • #776: Missing structure MEM_ADDRESS_REQUIREMENTS
  • #746: Flag structs in Win32::UI::Shell::PropertiesSystem are missing bitwise traits
  • #739: D2D1_2DAFFINETRANSFORM_INTERPOLATION_MODE
  • #772: _FILEOPENDIALOGOPTIONS is i32 in definition but u32 in parameter
  • #587: Many string constants are not being scraped

This list of changes was auto generated.

win32metadata - v16.0.1-preview

Published by sotteson1 almost 3 years ago

Changes:

  • #769: RADIUS_ATTRIBUTE_ARRAY definition seems very wrong
  • #764: Proposal: Attribute noreturn functions
  • #559: Add an attribute for identifying methods and functions that return alternative success codes
  • #587: Many string constants are not being scraped
  • #609: Constants in processthreadsapi.h missing
  • #759: Functions from the avrt.h header?
  • #774: Switch to VS 2022
  • #755: DnsServiceBrowse uses incorrect version of DNS_RECORD

This list of changes was auto generated.

win32metadata - v15.0.22-preview

Published by sotteson1 almost 3 years ago

Changes:

Fixes:

  • #747: CA1418: The platform 'Windows ' is not a known platform name
  • #715: IUIAutomation.get_CurrentNativeWindowHandle has incorrect parameter
  • #725: SupportedArchitecture dependency issue
  • #717: Unscoped enum JsDebugReadMemoryFlags contains rude None member
  • #754: Type mismatch between STGM constants, various storage object method parameters
  • #760: LSTATUS
  • #752: IMMDevice's Activate method missing metadata
  • #755: DnsServiceBrowse uses incorrect version of DNS_RECORD
  • #751: Missing Exception Codes
  • #753: ReadConsoleW does not have SetLastError=true
  • #746: Flag structs in Win32::UI::Shell::PropertiesSystem are missing bitwise traits
  • #757: AdjustWindowRectExForDpi dwStyle/dwExStyle parameter type
  • #756: WTD_CACHE_ONLY_URL_RETRIEVAL not available in the crate
  • #720: Inconsistencies and missing entities in comparison with C++ and winapi-rs API
  • #728: ExitWindowsEx should use the SHUTDOWN_REASON enum for its second parameter
  • #705: SHCreateItemFromParsingName is not transformed into a generic function
  • #732: strange codegen for MONITORINFOEXA / MONITORINFOEXW

This list of changes was auto generated

win32metadata - v15.0.2-preview

Published by sotteson1 almost 3 years ago

Changes:

  • Added the Windows.Win32.Graphics.Direct3D9on12 namespace to bring back some D3D9on12 types we lost in the refactor.
  • #730: No definition of PKEY_Image_HorizontalSize

This list of changes was auto generated.

win32metadata - v15.0.1-preview

Published by sotteson1 almost 3 years ago

Changes:

  • #733: D3D12CreateDevice requires Win32_Graphics_Direct3D11
  • #731: HTREEITEM and _TREEITEM api different from CommCtrl.h api
  • #722: Should GetErrorInfo and IErrorInfo be in different namespaces?
  • #721: ISupportErrorInfo and IErrorInfo are in different namespaces
  • #719: Correct Security.Cryptography.Catalog using statement

This list of changes was auto generated.

win32metadata - v14.0.3-preview

Published by sotteson1 almost 3 years ago

Changes:

  • #718: Mega namespace refactor
  • #702: missing ioctlsocket constant FIONBIO
  • #713: Improve namespace factoring for namespaces under media and others
  • #708: CF_SYNC_POLICIES has a weird emit

This list of changes was auto generated.

win32metadata - v13.0.2-preview

Published by sotteson1 almost 3 years ago

Changes:

  • #709: More namespace dependency fixes
  • #706: Namespace refactors: com, security, ole

This list of changes was auto generated.

win32metadata - v12.0.2-preview

Published by sotteson1 about 3 years ago

Changes:

  • #698: Fixes #693 - Add MSDelta APIs
  • #697: Move to WinSDK version 22000 plus a ton of changes in header coverage
  • #696: Lib scrape fixes
  • #683: SetupDiEnumDeviceInfo uses [Out] for parameter which caller must initialize
  • #692: Improving build to only scan non-arch-specific partitions once
  • #613: Make more structs AnyCPU-compatible by assuming Pack=4 for x86
  • #688: Fixes #613 - Make more structs AnyCPU-compatible by assuming Pack=4 for x86
  • #686: Get the docs package to work for lower TFM projects
  • #663: NTDDI_WINTHRESHOLD has wrong value
  • #668: Missing constants WIN32_WINNT*
  • #684: Adding a partition for HostCompute
  • #600: IDCompositionVisual2::SetOffsetX methods are flipped in SDK + metadata
  • #681: Fixes #600 - Fix vtable ordering bug
  • #680: Move WIN32_ERROR and Get/SetLastError(Ex) to Windows.Win32.Foundation
  • #653: GetLastError and SetLastError don't match
  • #678: WAIT_TIMEOUT missing from WIN32_ERROR
  • #676: WaitNamedPipeW has weird parameter
  • #672: PIPE_ACCESS_DUPLEX wrong namespace
  • #541: Media Foundation video subtype GUIDs missing from metadata

This list of changes was auto generated.

win32metadata - v10.3.16-preview

Published by sotteson1 about 3 years ago

Changes:

  • External scraper wasn't properly looking at libs
  • #677: CreateNamedPipeA flags
  • #674: HeapAlloc doesn't set the calling thread's last error code

This list of changes was auto generated.

win32metadata - v10.3.11-preview

Published by sotteson1 about 3 years ago

Changes:

  • #627: Supported OS platform name contains a space, causing a lot of CA1418 warnings
  • #667: Fixes for FirmwareTableProvider and Wer* functions
  • #670: Incremental build system
  • #569: Why is FLASHWINFO in Windows.Win32.System.Diagnostics.Debug?
  • #656: IsOS is missing an enum
  • #657: GetDeviceCaps enum is missing most of its members
  • #650: WerStoreOpen second parameter should be typed as a typedef struct
  • #655: WerReportCreate should produce an HREPORT
  • #658: GetSystemFirmwareTable enum missing
  • #654: Fixes #644 - Specify version of Microsoft.Build.NoTargets when doing Import
  • #644: winmdgenerator: 0.2.185-preview nuget is broken
  • #652: Version bump and some minor changes
  • #649: Fix metadata SDK project, change samples to build against built nuget packages
  • #630: Build authoring cleanup
  • #647: Add conditions to globbing
  • #637: SC_MANAGER_ALL_ACCESS missing from system.services
  • #594: OBJID_WINDOW not available?

This list of changes was auto generated.

win32metadata - v10.2.185-preview

Published by sotteson1 about 3 years ago

Changes:

Breaking:

  • #629: Create msbuild ProjectionMetadataWinmd item in package import
    This replaces the MSBuild MicrosoftWindowsSdkWin32MetadataBasePath property that had been set by referencing the package with an msbuild item with item type ProjectionMetadataWinmd. The property pointed to the directory containing the winmd whereas the new item points directly at the winmd.
    Also note that other metadata packages to be created in the future are expected to contribute to this msbuild item list.

Fixes:

  • #537: IsValidSecurityDescriptor listed in WithSetLastError.rsp

Others:

  • #630: Build authoring cleanup
  • #633: MSBuild task improvements
  • #631: Get rid of signing and pushing for PR builds
  • #628: Add idl parsing to external scraper, add Debug Interface Access SDK project
  • #620: Missing LLKHF_* constants
  • #624: PIPE_WAIT && PIPE_NOWAIT should be located in the same module and have the same type?
  • #625: Bitwise operators of _SIIGBF are missing
  • #571: IFELanguage.GetJMorphResult() return broken MORRSLT struct
  • #575: GUID_TFCAT_TIPCAP_COMLESS is missing from Windows::Win32::UI::TextServices
  • #515: ProcessorArchitecture not being used
  • #572: Incorrect definition for LRESULT
  • #606: DwmGet/SetWindowAttribute dwattribute Parameter type
  • #590: TASKDIALOGCONFIG members are missing enum types
  • #615: Incorrect size of multiple generated Enums when generating IMAGE_NT_HEADERS64
  • #601: Incorrect IMAGE_FILE_HEADER structure generated for rust.

This list of changes was auto generated.

win32metadata - v10.2.163-preview

Published by sotteson1 about 3 years ago

Changes:

  • #548: Add API Docs package build to pipeline
  • #559: Add an attribute for identifying methods and functions that return alternative success codes
  • #577: AVI Interfaces IIDs missing
  • #583: INVALID_SOCKET not a SOCKET
  • #576: Incorrect tag parsing in dinputd.h
  • #574: DDE Code Page constants are u32 but functions which take a code page take i32
  • #585: BCryptOpenAlgorithmProvider loses handle type
  • #608: Can't find error type definitions in Win32 API
  • #598: Missing metadata for NERR_*
  • #607: Change the pipeline to use the public vm image
  • #584: IcmpSendEcho2 FARPROC vs PIO_APC_ROUTINE
  • #602: Windows::Win32::System::SystemServices::LABEL_SECURITY_INFORMATION isn't a Windows::Win32::System::Services::OBJECT_SECURITY_INFORMATION
  • #593: UIA_HWND should be mapped to HWND
  • #592: ImageList_Create has a flags parameter that should be an enum
  • #581: USN_RECORD_UNION should be with USN_RECORD*
  • #597: Add null checks to ScrapeHeaders, ScanLibs to support no-lib scenarios
  • #553: Add a WebView2Sample with a StaticLibrary attribute mapping the DllImport name to an optional static library substitute
  • #525: CreateSymbolicLink returns byte instead of bool for BOOLEAN
  • #557: COM calls causing memory leaks
  • #578: DxcCreateInstance and DxcCreateInstance2 are missing
  • #567: WriteConsole missing Optional attribute in lpReserved
  • #573: Make .zip, .winmd use git lfs
  • #568: RegisterEventSourceW should return EventSourceHandle
  • #566: Nuget releases?
  • #565: IcmpCloseHandle and friends missing from Handle to IcmpHandle remapping
  • #558: URL_COMPONENTS (winhttp.h) has wrong field type for nScheme
  • #551: Virtual Key Codes not Generated
  • #489: VK_ constants are defined as UInt32 instead of UInt16
  • #512: socket address family, type, protocol use signed types; constants are unsigned
  • #555: Missing type for THREAD_ACCESS_RIGHTS
  • #554: ShowWindowAsync Parameter nCmdShow should be a SHOW_WINDOW_CMD
  • #550: Fix release notes link in Win32Docs

This list of changes was auto generated.

win32metadata - v10.2.118-preview

Published by sotteson1 over 3 years ago

Changes:

  • #121: Collect more constants under enums
  • #542: Missing HRESULT definitions (E_NOTIMPL, E_FAIL, etc)
  • #539: How to browse/search the metadata?
  • #534: AdjustWindowRect and CreateWindowExA's dwStyle parameters are inconsistent
  • #527: RichTextBox and TextBox constants got mixed up
  • #528: CreateIC* should return CreatedHDC
  • #532: D3D12_DEFAULT_DEPTH_BIAS has type uint (it should be int)
  • #479: MEMORY_BASIC_INFORMATION, MEMORY_BASIC_INFORMATION32 and MEMORY_BASIC_INFORMATION64
  • #503: CCH_RM_SESSION_KEY defined in RestartManager.h is not available
  • #514: MEMORY_BASIC_INFORMATION missing field types
  • #524: Why is E_NOTIMPL inside Windows.Win32.Graphics.DirectDraw now?
  • #520: AuthzInitializeResourceManagerEx phAuthzResourceManager is IntPtr
  • #522: INTERNET_DEFAULT_PORT not compatible with some languages
  • #512: socket address family, type, protocol use signed types; constants are unsigned
  • #497: Log the ClangSharpPInvokeGenerator path and ensure the script doesn't fail for missing tools
  • #517: BSTR
  • #516: Missing type for dwfilterflag for use in EnumProcessModulesEx

This list of changes was auto generated.

Related Projects