Skip to content

Releases: microsoft/win32metadata

v43.0.29-preview

06 Mar 20:35
Compare
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
Compare
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
Compare
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.

v40.0.14-preview

12 Dec 15:50
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1398: ADDRESS_FAMILY should be typed as ushort
  • #1406: Remove INTERNET_PORT enum
  • #1005: _Outptr_result_maybenull_ and variants interpreted incorrectly
  • #1386: Bug: ContinueDebugEvent third parameter doesn't match type of its constants

Others:

  • #1405: Fixed SAL parsing of _opt
  • #1402: CreateProcessAsUser: Use the enumeration PROCESS_CREATION_FLAGS instead of uint for the dwCreationFlags parameter.
  • #1381: INVALID_FILE_SIZE is missing from metadata
  • #1394: PROCESSOR_POWER_INFORMATION exposes u64 instead of u32
See More
  • #1399: Add MAP_VIRTUAL_KEY_TYPE for MAPVK_ constants to MapVirtualKey functions
  • #1397: Add support for remapping short integers
  • #1389: BOOL and BOOLEAN are defined as a struct whereas VARIANT_BOOL is defined as an enum
  • #1390: ID2D1Resource::GetFactory is missing the [ComOutPtr] attribute
  • #1355: cleanup the enums.json to make sure it validates

This list of changes was auto generated.

v39.0.18-preview

29 Nov 00:56
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1374: [mouse_event] Param dwData cant be a negative value
  • #965: Incorrect values in MOUSEHOOKSTRUCTEX_MOUSE_DATA
  • #1367: IPicture.set_hPal method missing [SpecialName] flag

Enhancements:

  • #950: Feature request: Missing function LookupAccountSidLocal

Others:

  • #1382: FILE_TYPE enum missing
  • #1384: SECURITY_DESCRIPTOR_CONTROL should be a flags enum
  • #1383: DescribePixelFormat should take an int, not a PFD_PIXEL_TYPE
See More
  • #1380: Sign the Microsoft.Windows.Sdk.Win32Docs.dll assembly
  • #1378: Last parameter of OleCreatePictureIndirect should be [ComOutPtr]
  • #1379: COMPRESSION_FORMAT enum
  • #1376: GetPrivateProfileIntW should return int
  • #1373: SendSAS is not generated
  • #1366: The OpenInputDesktop function has the dwDesiredAccess parameter of type uint instead of ACCESS_MASK.
  • #1371: IUnknown.QueryInterface should be tagged with [CanReturnErrorsAsSuccessAttribute]
  • #1244: IWABOBJECT_ is incorrectly defined

This list of changes was auto generated.

v38.0.19-preview

15 Nov 23:31
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1368: IAudioProcessingObjectConfiguration.LockForProcess missing array attributes on parameters
  • #1362: D3D11_CLEAR_FLAG does not implement bit ops and uses i32 instead of u32 internally
  • #1325: DEVMODE structure has fields with incorrect types

Enhancements:

  • #950: Feature request: Missing function LookupAccountSidLocal

Others:

  • #1364: Missing AlsoUsableFor on NCRYPT_PROV_HANDLE and NCRYPT_KEY_HANDLE
  • #1106: Feature request: Lsa functions should "always?" use LsaHandle
  • #1363: ShellMessageBoxW / ShellMessageBoxA need typed flags
See More
  • #1358: Added ASSOCF enum
  • #1354: Add enum for OLEIVERB
  • #1356: Add HTML_HELP_COMMAND enum for HH_ constants
  • #1352: GetNumberOfPhysicalMonitorsFromHMONITOR has wrong return type
  • #1353: GetMessageA and GetMessageW need the CanReturnMultipleSuccessValuesAttribute attribute
  • #1059: Multiple functions with params with IN/OUT/OPTIONAL have incorrect [In, Out] in metadata
  • #452: DhcpEnumSubnets, DHCP_IP_ARRAY issues
  • #508: Missing optional flag on some LPUNKNOWN parameters
  • #519: Invalid Optional
  • #1317: Remove D3DCOMPILER_DLL constant

This list of changes was auto generated.

v37.0.34-preview

02 Nov 02:34
c787657
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1339: CRYPTOAPI_BLOB exists in metadata but not in WinSDK
  • #1335: [Regression] BLUETOOTH_DEVICE_INFO_STRUCT incorrectly named
  • #1338: Some C++ classes showing up incorrectly
  • #1292: Bug: EVT_HANDLE is treated as an isize in the Win32_System_EventLog API
  • #918: IAssocHandler.IsRecommended should be annotated with CanReturnMultipleSuccessValues

Others:

  • #1350: Add enum for cfFormat
  • #1345: Missing HtmlHelpW/HtmlHelpA from HtmlHelp.h
  • #1334: OLE_HANDLE Not Defined in Metadata
See More
  • #1328: Performance counter errors use incorrect underlying type
  • #1322: Add in CDN_* defines
  • #1349: InitializeAcl revision parameter type
  • #1344: [Regression] SFGAOF is incorrectly typed as Uint64 instead of Uint32
  • #1348: Change return type of some functions in POWRPROF.dll to WIN32_ERROR
  • #1346: The return type of the POWRPROF API should be WIN32_ERROR
  • #1342: Correct various XInput enum types
  • #1336: IDCompositionSurface.BeginDraw needs the ComOutPtr attribute
  • #1059: Multiple functions with params with IN/OUT/OPTIONAL have incorrect [In, Out] in metadata
  • #911: Several HTTP Server API is incorrect parameter attribute (IN/OUT/OPTIONAL)
  • #1208: Missing struct HDWP from WinUser.h
  • #1333: DirectComposition functions are missing the [ComOutPtr] attribute
  • #1332: IWICImagingFactory.CreateDecoderFromFilename parameter should be optional
  • #1031: IFaxAccountNotify and IFaxServerNotify2 are fake interfaces
  • #1303: TS_DEFAULT_SELECTION / TF_DEFAULT_SELECTION defines not in metadata
  • #1323: CERT_QUERY_ENCODING_TYPE not applied to many relevant functions
  • #1329: Adjust DEVMODE structure fields
  • #1324: RegGetValue parameter refinements
  • #1326: IPersistFile.Load parameter dwMode should be STGM instead of DWORD?
  • #1327: Add uses for UIA enums
  • #1315: Annotate members that return failing HRESULTs in success paths
  • #1321: Replaced PreserveSig usage with explicit attributes
  • #1319: VARIANT_BOOL isn't in the metdata
  • #1320: Added VARIANT_BOOL
  • #1302: Update NuGet packages
  • #1317: D3DCOMPILER_DLL and friends
  • #1306: No enumeration generated for DXGI_USAGE?
  • #1316: Update to v37

This list of changes was auto generated.

v36.0.9-preview

17 Oct 17:27
384800a
Compare
Choose a tag to compare

Changes:

Fixes:

  • #1295: Using PreserveSig by default for IDXGIFactory::EnumAdapters and similar functions

Enhancements:

  • #1008: String constants need attribute indicating original encoding

Others:

  • #1310: Test
  • #1297: DnsQuery_W/DnsQuery_A needs improvement
  • #1298: SetSecurityInfo return type WIN32_ERROR
  • #1304: Get-RequiredWorkloads.ps1 should include dotnet
  • #1309: String constants need attribute indicating original encoding
See More
  • #1246: Investigate merge driver/merge strategy to reduce merge conflicts on ChangesSinceLastRelease.txt
  • #1308: Update to v36
  • #1307: Fix release pipeline

This list of changes was auto generated.

v35.0.14-preview

11 Oct 16:30
Compare
Choose a tag to compare

Changes:

  • #1295: Using PreserveSig by default for IDXGIFactory::EnumAdapters and similar functions
  • #1272: Windows.Win32.System.RemoteDesktop.IWTSVirtualChannelManager.CreateListener : pszChannelName should be a null terminated string instead of Byte*
  • #1253: AddAccessAllowedAce parameter type
  • #1282: ReleaseStgMedium pmedium parameter should possibly not be marked [In]
  • #1285: IMAGE_LIST_DRAW_STYLE Enum Missing Values
  • #1281: Add GLOBAL_ALLOC_FLAGS enum to OleDuplicateData
  • #1291: IDropSource::[QueryContinueDrag|GiveFeedback] needs PreserveSig treatment
  • #1284: Add in SHGSI Enum
  • #1280: Add ComOutPtr to SHGetPropertyStoreFromParsingName
  • #1275: Add HTHEME type
See More

This list of changes was auto generated.

v34.0.8-preview

26 Sep 20:43
7a77895
Compare
Choose a tag to compare

Changes:

  • #1276: Change xinputuap to xinput 1.4 lib
  • #1211: LdapMapErrorToWin32 should return WIN32_ERROR and accept LDAP_RETCODE
  • #1270: PICTYPE is not a flags enum.
  • #1259: TrackPopupMenu() prcRect parameter isn't optional
  • #1248: DWriteCreateFactory has incorrect parameter type
  • #1263: IBackgroundCopyJobHttpOptions.GetClientCertificate has conflicting attributes
  • #1265: IWbemServices::ExecQuery flags are hard to use
  • #1266: IEnumWbemClassObject::Next hard to use
  • #1268: Update to v34

This list of changes was auto generated.