Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate headers for ole2.h to include OleInitialize #396

Open
hamarb123 opened this issue Aug 17, 2024 · 0 comments
Open

Generate headers for ole2.h to include OleInitialize #396

hamarb123 opened this issue Aug 17, 2024 · 0 comments
Labels
proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers.

Comments

@hamarb123
Copy link

Description (optional)

Feature request: Generate headers for ole2.h to include OleInitialize (and there are probably other functions someone wants in it too).

Rationale

We already expose the SHBrowseForFolderW function, but to use it, it says you should ideally initialize with OleInitialize here.

Proposed API

APIs generated from the ole2.h, at least including:

HRESULT OleInitialize(void* pvReserved);

(which is the one I'm wanting to use)

Drawbacks

More APIs.

Alternatives

Make people write the DllImport themselves.

Other thoughts

None.

Discussions (optional)

N/A

@hamarb123 hamarb123 added proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers. labels Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal An issue that represents a proposed feature or change to the repo. untriaged An issue that has not been triaged by the repo maintainers.
Projects
None yet
Development

No branches or pull requests

1 participant