Skip to content

windows-bindgen: Intrinsify WIN32_ERROR, NTSTATUS and RPC_STATUS#4399

Closed
sylveon wants to merge 2 commits intomicrosoft:masterfrom
sylveon:bindgen-result
Closed

windows-bindgen: Intrinsify WIN32_ERROR, NTSTATUS and RPC_STATUS#4399
sylveon wants to merge 2 commits intomicrosoft:masterfrom
sylveon:bindgen-result

Conversation

@sylveon
Copy link
Copy Markdown
Collaborator

@sylveon sylveon commented May 6, 2026

Fixes #4392 by making windows-bindgen explicitly aware of these types, and handling them exactly like HRESULT currently is handled.

@sylveon
Copy link
Copy Markdown
Collaborator Author

sylveon commented May 7, 2026

Looks like it fails to generate bindings when explicitly referring to a specific value of these error codes (failing to generate the type itself is expected, as it currently does with HRESULT). Looking into it.

@sylveon
Copy link
Copy Markdown
Collaborator Author

sylveon commented May 8, 2026

Closing in favor of #4401

@sylveon sylveon closed this May 8, 2026
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.

error types need to be manually excluded from windows-bindgen

1 participant