This document is archived and information here might be outdated. Recommended version. |
Pass the IUnknown interface of the object and a UID that contains the guid of the interface to listen to.
[Visual Basic .NET] Public Sub AdviseEvents ( _ ByVal unkSource As Object, _ ByVal uid As UID _ )
[C#] public void AdviseEvents ( object unkSource, UID uid );
[C++]
HRESULT AdviseEvents(
LPUNKNOWN unkSource,
IUID* uid
);
[C++] Parameters unkSource [in]
unkSource is a parameter of type IUnknown uid [in]
uid is a parameter of type IUID*