Skip to content

Generate generic friendly overload for all APIs ending with ComOutPtr pattern #374

Closed

Description

Like #103, but for the general case. Whenever a method ends with these two parameters:

 [In][Const] Guid* riid, [Out][ComOutPtr][RetVal] void**

we can generate a generic overload to make it easier to access.

Kenny Kerr (@kennykerr) tells me the Rust progression already does this.

Activity

  1. AArnott commented on Aug 23, 2021

    @AArnott
    MemberAuthor

    I wonder if the riid parameter name is a very strong element of the pattern that we should require, or if we should just be based on parameter types and attributes on those parameters.

  2. kennykerr commented on Aug 23, 2021

    @kennykerr

    It's just the types - the names vary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions