Skip to content

windows-bindgen assumes BOOL has ok() method #3439

@kennykerr

Description

@kennykerr

When you generate a function that returns BOOL - like EnumWindows - it assumes that .ok() can be called to turn it into a Result. This extension is only available in the windows crate, but ideally the bindings should not depend on the windows crate directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions