IUnknown.AddRef

Increments the reference count for an interface pointer to a COM object.

You should call this method whenever you make a copy of an interface pointer.

interface IUnknown
extern (Windows) @nogc
uint
AddRef
()

Return Value

Type: uint

The new reference count, should only be used for debugging.

Meta