win32metadata

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

OTHER License

Stars
1.3K
Committers
42

Bot releases are hidden (Show)

win32metadata - v10.2.84-preview

Published by sotteson1 over 3 years ago

Fixes:

  • #463: Add WSL API.
  • #511: [...].SystemServices.OVERLAPPED member appears to contains invalid field TypeReference
  • #507: VIRTUAL_ALLOCATION_TYPE not marked as Flags
  • #411: RtlCaptureContext and RtlCaptureContext2
  • #467: Inconsistent types for DXGI_SHARED_RESOURCE_READ and DXGI_SHARED_RESOURCE_WRITE
  • #499: Still some interop headers are missing
  • #500: Missing dwFlags enum for CredUnPackAuthenticationBuffer
  • #502: CreateSymbolicLink missing enum for dwFlags
  • #428: Add HID Usages values
  • #485: PEXCEPTION_FILTER delegate has suspiciously inconsistent signature across CPU architectures
  • #491: IDelayedPropertyStoreFactory and its base IPropertyStoreFactory interface in different namespaces?
  • #179: List of missing enums
  • #445: AUDCLNT_E_ error-codes are not generated
  • #490: Handle types should share a namespace with their release functions
  • #488: StartDocPrinter pDocInfo should be DOC_INFO_1*
  • #464: Add support for scraping constants defined with macros like IOCTLs from winioctl.h
  • #486: FARPROC shouldn't be arch-specific
  • #484: fd_set not using SOCKET type
  • #90: Consider removing general numeric constants
  • #482: missing WAVE_MAPPER constant
  • #478: Absence of some TSF constants
  • #480: Rename KNONVOLATILE_CONTEXT_POINTERS_ARM64 to KNONVOLATILE_CONTEXT_POINTERS
  • #476: Use nerdbank.gitversioning to better deal with versioning
  • #466: Combining flags is inconvenient for some enum types
  • #475: User/sotteson/msbuildsdk
  • #473: IMAGE_FILE_HEADER Machine field using enum with wrong bit width
  • #470: Redundant file in scripts folder

This list of changes was auto generated.

win32metadata - v10.0.19041.202-preview

Published by sotteson1 over 3 years ago

Changes:

  • #441: IXMLHTTPRequest3 and IXMLHTTPRequest3Callback have wrong SupportedOSPlatform
  • #462: Missing dbgeng.h and wdbgexts.h
  • #458: Remove LPENCLAVE_ROUTINE and LPENCLAVE_TARGET_FUNCTION
  • #461: Typeref to mangled name Windows.Win32.System.Diagnostics.Debug.CONTEXT____1
  • #450: generation: Add DirectXShaderCompiler partition
  • #438: Add missing dedup headers
  • #459: Fix null => $null.
  • #457: Additional namespace refactoring
  • #455: enclaveapi.h functions refer to wrong DLL in some cases
  • #451: remap: Use NTSTATUS for EXCEPTION_RECORD::ExceptionCode
  • #449: ITransactionImport's Import method should have const Guid parameter
  • #443: Synthesized enums must have unique constant names
  • #442: OLEMISC_ACTSLIKEBUTTON
  • #420: Some pointer parameters could be const
  • #425: DPI_AWARENESS_CONTEXT_* values missing
  • #429: Add PM_QS_ members to PeekMessage_wRemoveMsg
  • #446: IWeakReference's Resolve method signature is inaccurate
  • #447: Move SystemServices namespace to System.SystemServices.
  • #437: Winsock Functions Not Using a Socket Type
  • #91: GetDeviceID Duplicate API
  • #444: Updating a lot of namespaces
  • #244: Annotate methods that return handles that are not meant to be closed
  • #422: Functions like LoadCursorA need a "DoNotRelease" attribute to indicate the return type should not be freed
  • #424: LoadLibraryA and friends needs to return a handle type that is freed with FreeLibrary
  • #421: HINSTANCE says to free with FreeLibrary but the latter expects an IntPtr not an HINSTANCE
  • #426: Add ManagementInfrastructure header

This list of changes was auto generated.

win32metadata - v10.0.19041.166-preview

Published by sotteson1 over 3 years ago

Changes:

Breaking change notice:
There can now be duplicate type names and methods if there are differences for different architectures (i.e. x64 vs. x86 vs. arm64). Projection authors need to look for the SupportedArchitecture attribute to know which ones to use when projecting to a language.

  • #430: Missing IWeakReference and IWeakReferenceSource interfaces
  • #431: Missing IContextCallback interface
  • #435: Metadata needs to contain arch-specific differences

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.143

Published by sotteson1 over 3 years ago

Fixes:

  • #399: FindClose receive a Handle type different than the returned by FindFirstFile
  • #407: HPALETTE missing AlsoUsableFor
  • #406: HBITMAP needs the AlsoUsableFor("HANDLE") attribute
  • #410: IActivationFactory
  • #413: LOGFONT, EXTLOGFONT and ENUMLOGFONT should be in same namespace

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.138

Published by sotteson1 over 3 years ago

Fixes:

  • #400: COM methods suffixed with 'A'
  • #270: Property getters and setters should be marked as SpecialName
  • #331: LoadLibraryEx_dwFlags, CreateProcessWith_dwLogonFlags, and others
  • #397: Enums having to be passed as u32
  • #164: MapViewOfFile desiredAccess parameter constants (and enum) are missing
  • #205: Missing Enum Types for CREDENTIAL
  • #396: mshtml.h and Debug
  • #159: Win32 error codes should be collected under an enum
  • #216: Missing Winsock Error Codes
  • #115: SOCKADDR_STORAGE appears twice, one of which is empty
  • #156: Obsolete fields
  • #277: Incorrect function arguments for mouse_event
  • #61: const fields
  • #46: OSVERSIONINFOW.szCSDVersion fixed buffer lacks metadata indicating wide character type
  • #145: SHFILEINFOW has ushort[] fields instead of char[]
  • #285: ushort where char ought to be
  • #358: IUserConsentVerifierInterop method signature is not great
  • #283: Rename SizeParamIndex to CountParamIndex
  • #155: IMAGE_OPTIONAL_HEADER32 should have enum, whose constants are also missing

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.122

Published by sotteson1 over 3 years ago

Changes:

  • #30: Types implementing interfaces are handled incorrectly
  • #134: Reg base key constants missing
  • #154: IMAGE_FILE_HEADER: 2 fields should be enums
  • #127: IUIAutomation6 using invalid types in methods
  • #160: API request: virtdisk.h
  • #157: IMAGE_SECTION_HEADER.Characteristics should be an enum
  • #162: Missing enum: EXECUTION_STATE
  • #185: CoCreateInstance/CoCreateInstanceEx and CLSCTX
  • #161: API request: WinHvPlatform
  • #390: LPPROC_THREAD_ATTRIBUTE_LIST should be a Pointer, not an int
  • #72: System.FlagsAttribute no longer appears on any enum types
  • #95: CoInitializeEx and COINIT
  • #387: Nuget license and GitHub license are different
  • #203: The CLSCTX enum is missing CLSCTX_ALL
  • #226: Missing Authentication and Impersonation Levels
  • #224: Unable to get constants from Reason.h defined
  • #334: Add Microsoft Speech APIs
  • #343: Scraped enums used in CryptQueryObject contain wrong members, are misleadingly named and incorrectly assigned.

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.101

Published by sotteson1 over 3 years ago

Changes:

Fixes:

  • #290: COM methods suffixed with 'A'

Others:

  • #284: VirtualQueryEx 3rd parameter is not an array
  • #244: Annotate methods that return handles that are not meant to be closed
  • #300: CreateIcon missing NativeArray attribute on byte* array parameters
  • #322: GetProcessHeap and HeapAlloc
  • #239: dbghelp.h structs like LOADED_IMAGE (and methods?) are missing
  • #292: WindowsCreateString PCNZWCH not represented as String
  • #351: LOAD_LIBRARY_SEARCH_SYSTEM32_NO_FORWARDER
  • #386: IDI_APPLICATION
  • #385: D3DCOLORVALUE
  • #382: Missing multimedia constants
  • #383: midiInOpen flags are broken

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.90

Published by sotteson1 over 3 years ago

Changes:

Fixes:

  • #282: GetIconInfo has an HICON overload but HCURSOR can't be passed to it

Others:

  • #378: Missing constants
  • #362: OPENFILENAMEW.Flags should be an enum
  • #370: C# - MINIDUMP_TYPE does not get emitted with [Flags] attribute applied to it.
  • #369: IMemoryBufferByteAccess is missing
  • #372: MB_FLAGS should be unsigned flags
  • #379: Regression in LoadIcon
  • #371: MessageBoxA/MessageBoxW return value
  • #324: Fields with arrays of COM objects should be annotated as such
  • #377: FILE_FLAG_OVERLAPPED
  • #227: Outdated D3D9 structs and enums
  • #375: Naming of WINDOWS_STYLE and WINDOWS_EX_STYLE
  • #376: Wrong definition of WAITORTIMERCALLBACK

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.75

Published by sotteson1 over 3 years ago

Changes:

Fixes:

  • #368: GetIconInfo improperly uses a 32-bit enum for the HICON parameter

Others:

  • #373: ID2D1RenderTarget regression
  • #366: BITMAPINFOHEADER should be in Windows.Win32.Gdi.Apis
  • #367: SID struct not picked up correctly
  • #365: CreateLogFile_fCreateDispositionFlags should be removed in favor of FILE_CREATE_FLAGS
  • #364: TOKEN_PRIVILEGES
  • #251: GetDC incorrectly returns, and DrawIconEx incorrectly requires, a safe handle that calls DeleteDC instead of ReleaseDC
  • #296: BLUETOOTH_DEVICE_INFO_STRUCT is incorrectly named

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.68

Published by sotteson1 over 3 years ago

Changes:

Fixes:

  • #361: PEERDIST_RETRIEVAL_OPTIONS_CONTENTINFO_VERSION
  • #286: "Project Site" link on nuget.org listing redirects to ... another nuget package
  • #294: Misspelled HANDLEs
  • #315: BuildMetadataBin.cmd fails if the display language is not English

Others:

  • #360: AS_ANY_TYPE contains enum value with no name
  • #355: Duplicate Constant Definitions in Direct3D11
  • #279: SupportedOSPlatform attributes so that API usage can be version-safe
  • #272: Missing DesiredAccess enum mapping for OpenProcessToken
  • #317: FILE_FLAGS_AND_ATTRIBUTES
  • #353: CW_USEDEFAULT has disappeared (regression)
  • #352: WINDOWSCLASS_STYLES
  • #301: TRUE and FALSE
  • #299: BSTR and PWSTR

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.54

Published by sotteson1 over 3 years ago

Changes:

  • #350: Fixing several issues around delegates
  • #313: FONTENUMPROCW missing definition
  • #345: Fixes #332, fixes #328
  • #332: EXCEPINFO has field with bad type (10 pointers!)
  • #328: LPTHREAD_START_ROUTINE function pointer missing parameter

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.51

Published by sotteson1 over 3 years ago

Changes:

  • #344: User/sotteson/guid scraping and bugs
  • #132: Incorrect field types in some structs
  • #333: User/sotteson/doall cmd
  • #319: Add metadata for registry APIs
  • #310: Add WAIT_RETURN_CAUSE enum
  • #287: Add link for release notes to the nuget.org listing
  • #314: Add HPOWERNOTIFY as IntPtr type

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.39

Published by sotteson1 over 3 years ago

Changes:

Enhancements:

  • #7: Remove "tags" from struct names

Others:

  • #327: Add constant scraper and integration with enums scraped from docs
  • #295: HPCON is void * not IntPtr
  • #304: Provide way to add handle types that follow certain patterns like DECLARE_HANDLE
  • #303: Refactor scraper, emitter outputs in a more logical way
  • #297: Windows.Win32.Mmc contains some weird enums

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.27

Published by sotteson1 over 3 years ago

Changes:

  • #288: [ComOutPtr] should not appear with [In]

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.26

Published by sotteson1 over 3 years ago

Changes:

  • #63: Explicit input/output parameters
  • #139: HANDLE* parameters should not be annotated [In, Out]
  • #254: Consider having fewer ways to represent GUID values
  • #265: Wrong interface inheritance IComponent2
  • #235: Wrong interface inheritance IMPEG2Component
  • #236: Wrong interface inheritance IImageList2

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.22

Published by sotteson1 over 3 years ago

Changes:

  • #276: Remove PMSIHANDLE struct
  • #275: Handle release methods take HANDLE instead of their own typedef
  • #278: MAX_PATH missing
  • #268: NotNullTerminated attribute out of conventional naming
  • #267: Duplicate definition of FNCALLBACK (DataExchange)
  • #264: Unresolved "Close" function for RAIIFree
  • #263: PdfCreateRenderer
  • #274: IRunningObject.GetObjectA
  • #269: CreateDIBSection docs page fails to mention that GetLastError should be used

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.20

Published by sotteson1 over 3 years ago

Changes:

  • #230: HGLRC doesn't seem to be respected
  • #246: OLD_LARGE_INTEGER
  • #247: Missing DI_NORMAL and other DrawIconEx flags
  • #250: BitBlt 'rop' parameter is uint instead of an enum
  • #249: CreateDIBSection 'usage' parameter is uint instead of an enum
  • #206: ISpellingError::get_Replacement
  • #253: Windows.Win32.FileSystem.FILE_ACCESS_FLAGS
  • #252: DuplicateHandle should take a *mut HANDLE argument for lp_target_handle
  • #256: Adding release pipeline
  • #255: Update pipeline to always use RTM SDK NuGet package

This list of changes was auto generated.

win32metadata - v10.0.19041.5-preview.15

Published by sotteson1 over 3 years ago

Changes:

  • Win32 strings are new represented with PWSTR/PSTR NativeTypedef structs.

Fixes:

  • #89: Many generated structs should be removed
  • #243: Attribute to distinguish length of array in bytes vs element count
  • #241: Double pointers to strings have no NativeTypeInfo
  • #233: OLECHAR missing NativeTypeInfo attribute
  • #123: Why are ANSI characters represented as sbyte instead of byte?
  • #59: Need more metadata for ushort** to interpret as char**
  • #38: IEnumDebugPropertyInfo.Next is missing annotations about array parameter, and out parameter
Related Projects