-
Notifications
You must be signed in to change notification settings - Fork 115
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
When I want to use a COM interface pointer in the non-marshal mode with CsWin32, you have to IUnknown::Release it manually. However, in C++, it's normal to use the RAII helpers, such as ComPtr, ComHeapPtr, etc.
Describe the solution you'd like
Generate RAII helpers for COM, such as ComPtr, ComHeapPtr, etc.
Describe alternatives you've considered
Do not implement this and let users of CsWin32 manually release COM pointers.
Additional context
Here's some sample implementations.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request