Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
struct System.​Runtime.​InteropServices.​Marshalling.​IIUnknownStrategy
Assembly: System.Runtime.InteropServices
Defines the IUnknown interaction strategy.
Methods
public
Void*
CreateInstancePointer​(Void* unknown)
unknown
The IUnknown instance.
Returns A pointer representing the unmanaged instance.
Creates an instance pointer that represents the specified IUnknown instance.
public
int
Release​(Void* instancePtr)
instancePtr
A pointer representing the unmanaged instance.
Returns The current reference count.
Calls <see langword="Release()" /> on the specified unmanaged instance.