Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@jevansaks
Copy link
Member

Win32Metadata has had some churn where things that used to be HANDLE types are now just void* typedefs. In CsWin32 those structs weren't getting implicit IntPtr casts added to them. For things like PSID where you want to interop with existing code that uses IntPtr, having an implicit cast is convenient and lets you transition a little more easily to the newer metadata.

Fixes #1507

@jevansaks jevansaks merged commit 7995bb2 into main Oct 31, 2025
7 checks passed
@jevansaks jevansaks deleted the user/jevansaks/IntPtrCast branch October 31, 2025 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CsWin32 0.3.228 removes PSID implicit/explicit IntPtr operator overloads.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.