Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Samples showing [out] interface params #181

Open
@heaths

Description

@heaths

Most usage of com I could find were using 0.2.0, but I after a lot of consideration and searching for samples, I realized you can simply use Option<T> for an interface instead of messing with *mut T for interfaces, making this considerably easier.

Having a sample and/or doc about this would be incredibly useful - perhaps a modification of the simple sample you have now. I was considering something like an offspring method that returns a COM enumerable which also shows how to allocate an array (for IEnumXXX::Next), but seems a bit involved for a sample.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions