Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

Updated Microsoft.Windows.CsWin32 from 0.1.319-beta to 0.3.228.

Release notes

Sourced from Microsoft.Windows.CsWin32's releases.

0.3.228

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.3.217...v0.3.228

https://www.nuget.org/packages/Microsoft.Windows.CsWin32/0.3.228

0.3.217

What's Changed

Full Changelog: microsoft/CsWin32@v0.3.213...v0.3.217

0.3.213

What's Changed

Full Changelog: microsoft/CsWin32@v0.3.205...v0.3.213

0.3.205

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.3.183...v0.3.205

0.3.183

Fixes

Enhancements

New Contributors

Full Changelog: microsoft/CsWin32@v0.3.162...v0.3.183

0.3.162

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.3.106...v0.3.162

0.3.106

What's Changed

High level enhancements

Fixes or enhancements

Full Changelog: microsoft/CsWin32@v0.3.49-beta...v0.3.106

0.3.49-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.3.46-beta...v0.3.49-beta

0.3.46-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.3.18-beta...v0.3.46-beta

0.3.18-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.3.2-beta...v0.3.18-beta

0.3.2-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.252-beta...v0.3.2-beta

0.2.252-beta

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.2.229-beta...v0.2.252-beta

0.2.229-beta

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.2.206-beta...v0.2.229-beta

0.2.206-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.188-beta...v0.2.206-beta

0.2.188-beta

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.2.164-beta...v0.2.188-beta

0.2.164-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.162-beta...v0.2.164-beta

0.2.162-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.158-beta...v0.2.162-beta

0.2.158-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.138-beta...v0.2.158-beta

0.2.138-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.104-beta...v0.2.138-beta

0.2.104-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.63-beta...v0.2.104-beta

0.2.63-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.2.46-beta...v0.2.63-beta

0.2.46-beta

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.2.10-beta...v0.2.46-beta

0.2.10-beta

Changes:

Fixes:

  • #​597: Broken struct definition for MODULEENTRY32
  • #​312: Handle structs incorrectly using nint field instead of IntPtr

Enhancements:

  • #​328: Add option to generate out IntPtr for COM output pointer parameters
  • #​586: Add interop helpers to BOOLEAN
  • #​585: Foundation BOOLEAN

Others:

  • #​599: Fix inline arrays when marshaling is off
  • #​587: Add option to generate out IntPtr for COM output pointer parameters
See More
  • #​588: Give HWND an IntPtr field type

This list of changes was auto generated.

0.2.1-beta

Changes:

Fixes:

  • #​578: [Optional, In] parameter shouldn't use in modifier in extern method for managed structs
  • #​565: Generated code fails to consider extern aliases
  • #​292: Could not load type "that is incorrectly aligned or overlapped by a non-object field"
  • #​574: Suppress CS8981 in generated code

Enhancements:

  • #​579: Make [In, Optional] managed struct parameters actually optional in friendly overloads
  • #​562: Unify the IDataObject interface with the one in the BCL
  • #​561: Avoid allocating large string for generated text
  • #​577: Add ambiguity handling when reusing symbols from multiple metadata references
  • #​564: Add support for multiple NativeMethods.txt files in a project

0.1.691-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.1.689-beta...v0.1.691-beta

0.1.689-beta

What's Changed

New Contributors

Full Changelog: microsoft/CsWin32@v0.1.647-beta...v0.1.689-beta

0.1.647-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.1.646-beta...v0.1.647-beta

0.1.646-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.1.635-beta...v0.1.646-beta

0.1.635-beta

What's Changed

Full Changelog: microsoft/CsWin32@v0.1.619-beta...v0.1.635-beta

0.1.619-beta

Changes:

Fixes:

  • #​429: Can't emit interface in 2nd winmd that inherits from interface in 1st winmd
  • #​430: Can't emit items from 2nd winmd if its namespace doesn't start with Windows.Win32
  • #​431: IEnumMoniker returns null-elements in marshaling environment
  • #​370: Toggling allowMarshaling breaks the IDE experience till reload
  • #​419: Regression in 0.1.560-beta CS0436/CS0103 due to type conflict
  • #​422: Fix schema descriptions
  • #​446: Fix cross-winmd type references
  • #​418: Fix generation of interop types from multiple winmd's
  • #​421: Fix source generation break when NativeMethods.json does not parse

Enhancements:

  • #​433: Apply [Out] to marshalled arrays where [Out] is in the metadata
  • #​442: Reuse SafeRegistryHandle instead of generating RegCloseKeySafeHandle
  • #​447: Update win32metadata to 15.0.1-preview
  • #​415: Enable APIs using synthesized types to be used on net35
  • #​444: Consolidate extern method and constants into the same class

This list of changes was auto generated.

0.1.588-beta

Changes:

Fixes:

  • #​369: VS editor constantly warns about inconsistent line endings
  • #​389: Struct getting created with ANSI instead of Unicode string fields, leading to wrong Marshal.SizeOf result

Others:

  • #​412: Generate code with consistent line endings
  • #​410: Apply [StructLayout(CharSet.Unicode)] to structs that contain the char type

This list of changes was auto generated.

0.1.584-beta

Changes:

Fixes:

  • #​396: FARPROC, PROC should be expressed as typedef structs with IntPtr field instead of a delegate

Enhancements:

  • #​406: A variety of enhancements for fixed length inline arrays
  • #​301: Generate ToString methods on fixed-length char arrays
  • #​391: Offer friendly overloads for ANSI-only methods
  • #​395: Allow fixed char array field initialization with string
  • #​385: Fixed length inline arrays are difficult to initialize

Others:

  • #​407: Suppress CS0436 in generated files

This list of changes was auto generated.

0.1.560-beta

Changes:

Fixes:

  • #​362: GetMessage returns a bool when it should return a BOOL
  • #​316: Microsoft.Windows.SDK.Win32Docs.dll appears in build and publish output
  • #​375: Fix detection of SupportedOSPlatformAttribute
  • #​357: Fix marshaling of NativeArrayInfo parameters
  • #​325: Suppress Win32Docs showing up as a runtime dependency downstream
  • #​331: Fix SA1629 "... should end with a period" in generated xml docs

Enhancements:

  • #​386: Enable creating C# projections based on multiple input winmd's and docs
  • #​388: Update win32metadata to 10.2.163-preview

This list of changes was auto generated.

0.1.506-beta

Changes:

Fixes:

  • #​229: Friendly overloads are missing SupportedOSPlatform
  • #​198: COM interfaces should have attributed with [ComImport]

Enhancements:

  • #​309: Consume API docs from win32metadata
  • #​302: Perf work
  • #​307: Fix startup perf (YAML to messagepack)
  • #​303: Replace NormalizeWhitespace with manually generated whitespace
  • #​293: HANDLE typedefs should overload the == operator
  • #​299: Update metadata version to 10.2.84-preview
  • #​294: Downgrade System.Text.Json version
  • #​208: Please skip emitting DefaultDllImportSearchPaths on targets < net45
  • #​40: Filter generated output based on target WinSDK version
  • #​196: Emit suggestions when requested API does not exist
  • #​103: Generate generic method overloads where out void* appears for one parameter
  • #​182: LPARAM should declare an implicit conversion from nint
  • #​212: Attribute COM interfaces with [ComImport]
  • #​210: Omit DefaultDllImportSearchPathsAttribute generation on older TFMs
  • #​204: Add SupportedOSPlatformAttribute to generated code
  • #​203: Suggest APIs for NativeMethods.txt when no match is found in the metadata
  • #​201: Add CoCreateInstance generic friendly overload
  • #​200: Offer implicit conversion from nint/nuint to LPARAM/WPARAM

Others:

  • #​305: Fix memory leak in testing
  • #​300: Generate whole namespaces on-demand
  • #​295: Include the period in the full-sentence link in XML docs
  • #​272: Print helpful errors/warnings on generation failures
  • #​221: Generator may fail with "Could not load file or assembly 'YamlDotNet..."
  • #​265: Add dependencies to package.
  • #​258: Add IsNull property on pointer-sized structs
  • #​260: Add NOTICE.txt file to package
  • #​241: Add [SupportedOSPlatform] to friendly overloads
  • #​236: Bump Microsoft.CodeAnalysis.CSharp.Workspaces from 3.8.0 to 3.9.0

This list of changes was auto generated.

0.1.422-beta

Changes:

Fixes:

  • #​49: Missing docs for IMAGE_NT_HEADERS32

Enhancements:

  • #​186: BOOL.Value should be typed as int
  • #​102: When an enum value is requested in NativeMethods.txt, emit an error that mentions the name of the containing enum
  • #​41: Generated methods should have DefaultDllImportSearchPathsAttribute
  • #​22: Add documentation for constants
  • #​152: Add extension methods to help index into inline arrays on downlevel TFMs
  • #​185: Update metadata to 10.0.19041.5-preview.68
  • #​194: Generate COM interfaces, delegates, and managed structures
  • #​177: Emit enums based on value names, and emit warning
  • #​172: Add Length property to inline arrays
  • #​173: Add ability to generate enum declarations from docs
  • #​159: Add doc comments to "unsafe" AsSpan() and indexer members
  • #​157: Add extension methods so more runtimes can index into inline arrays
  • #​140: New codegen for inline array fields

Others:

See More
  • #​175: Fix doc collection for structs ending in 32 or 64
  • #​176: Add DefaultDllImportSearchPathsAttribute to each extern method
  • #​174: Always use BOOL instead of bool in native function pointers

This list of changes was auto generated.

0.1.378-beta

Changes:

Fixes:

  • #​64: [In, Out] char* parameter MUST NOT generate string as a friendly overload
  • #​126: GetIconInfo throws "Pointers cannot reference marshaled structures. Use ByRef instead."
  • #​62: Source Generator not installed for packages.config projects
  • #​43: Types are not generated when referenced project already defines them, even though they are inaccessible
  • #​75: Add global:: in front of all using directives
  • #​68: Source is not generated for .NET Framework 3.5
  • #​72: FreeLibrarySafeHandle.Null uses the wrong pointer value
  • #​48: Tolerate leading/trailing whitespace in NativeMethods.txt

Enhancements:

See More
  • #​119: Enhance HRESULT and NTStatus with helper functions
  • #​129: Make optional SafeHandle parameters accept null
  • #​121: Update to metadata that fixes the char* as ushort* problem
  • #​74: Unify CloseHandleSafeHandle with SafeFileHandle
  • #​9: Produce SafeHandle-derived types and accept SafeHandle base type
  • #​99: Map LARGE_INTEGER structs to 64-bit int types on .NET
  • #​98: Add support for packages.config-based projects
  • #​97: Add HRESULT struct members: Succeeded and Failed
  • #​78: Add “partial” modifier to generated members
  • #​53: A single pragma disabling multiple warnings can be used

Others:

  • #​145: Declare HRESULT.ThrowOnFailure() method
  • #​143: Make SafeHandle parameters accept null
  • #​139: Generate partials when the project already defines partials
  • #​133: Structs are not generated when partials intended to add to them exist in the project
  • #​136: Update to metadata v10.0.19041.5-preview.20
  • #​54: README animated gif should demo default internal visibility
  • #​128: Prefix Guid with global::
  • #​124: Incompatiblity with WinUI Preview 4 (using daily)
  • #​59: Can't work in WinUI 3 project
  • #​127: Avoid generating bool as struct field
  • #​123: Add SpellChecker sample
  • #​104: Prefer bool over BOOL in method signatures
  • #​100: Reuse SafeFileHandle from BCL instead of creating CloseHandleSafeHandle
  • #​101: Return specific SafeHandle types and accept base types
    ... (truncated)

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Microsoft.Windows.CsWin32
  dependency-version: 0.3.228
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant