Skip to content

Releases: microsoft/CsWin32

v0.1.422-beta

17 Mar 03:42
7ca692d
Compare
Choose a tag to compare
v0.1.422-beta Pre-release
Pre-release

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.

v0.1.378-beta

24 Feb 04:04
c78d5d3
Compare
Choose a tag to compare
v0.1.378-beta Pre-release
Pre-release

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
  • #69: LARGE_INTEGER/ULARGE_INTEGER should map to Int64/UInt64
  • #92: Add IsSuccess to the generated HRESULT struct
  • #96: Generate structs with the partial modifier
  • #95: Secure nuget source feeds
  • #94: Suppress SafeHandle generation when a referencing project already declares it
  • #89: Add NuGet prerelease badge to the readme to make navigation easier
  • #70: Arrange for msbuild import to apply to pre-net40 projects
  • #88: Update metadata to 10.0.19041.5-preview.5 and docs to tip
  • #87: Generate types when referenced projects declare them internally
  • #76: Bump Microsoft.CodeAnalysis.CSharp.CodeFix.Testing.XUnit from 1.0.1-beta1.21064.2 to 1.0.1-beta1.21080.1
  • #77: Bump coverlet.msbuild from 3.0.1 to 3.0.2
  • #73: Fix SafeHandle.Null to actually have a null value
  • #66: Added comment parsing check for NativeMethods.txt
  • #67: Make docs links locale agnostic
  • #58: Generated files now have a '.g.cs' extension
  • #55: Put all warning suppressions on one line
  • #45: Structs and constants are not generated

This list of changes was auto generated.

v0.1.319-beta

21 Jan 02:44
9c0d2bd
Compare
Choose a tag to compare
v0.1.319-beta Pre-release
Pre-release

This is our initial release. Check out our README for features and known caveats.