Skip to content

IBindContext.RegisterObjectParam needs [Const] on the PWSTR in parameter #2183

@jevansaks

Description

@jevansaks

RegisterObjectParam has a PWSTR parameter but it should be a [Const] param so we can promote the parameter to be a string in the projections.

[Documentation("https://learn.microsoft.com/windows/win32/api/objidl/nf-objidl-ibindctx-registerobjectparam")]
HRESULT RegisterObjectParam([In] PWSTR pszKey, [In] IUnknown punk);

pszKey should also have [Const].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions