Skip to content

Add HWND.INVALID_HANDLE_VALUE into emitted output. #1649

@mjr4077au

Description

@mjr4077au

Is your feature request related to a problem? Please describe.
After adding INVALID_HANDLE_VALUE, I found it under HANDLE when I needed it for a HWND parameter (WinVerifyTrust()). This required me to stand up my own value.

Describe the solution you'd like
When defining INVALID_HANDLE_VALUE, if HWND is emitted, emit a static readonly HWND INVALID_HANDLE_VALUE value.

Describe alternatives you've considered
Rolling my own as I'm doing already.

Additional context
https://learn.microsoft.com/en-us/windows/win32/api/wintrust/nf-wintrust-winverifytrust#parameters

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions