public interface IConnectionPoint extends IUnknown
| Modifier and Type | Field and Description |
|---|---|
static Guid.IID |
IID_IConnectionPoint |
IID_IUNKNOWN| Modifier and Type | Method and Description |
|---|---|
WinNT.HRESULT |
Advise(IUnknownCallback pUnkSink,
WinDef.DWORDByReference pdwCookie)
When Advise is called, the called COM object will callback 'QueryInterface' asking for a number of
different interfaces, for example:
- {00000003-0000-0000-C000-000000000046} - IMarshal
- {00000003-0000-0000-C000-000000000046}
- {0000001B-0000-0000-C000-000000000046} - IdentityUnmarshal
- {00000000-0000-0000-C000-000000000046} - IUnknown
- {00000018-0000-0000-C000-000000000046} - IStdMarshalInfo
- {00000019-0000-0000-C000-000000000046} - IExternalConnection
- {4C1E39E1-E3E3-4296-AA86-EC938D896E92} - (some unknown private interface)
- interface of this ConnectionPoint
HRESULT Advise(
[in] IUnknown *pUnkSink,
[out] DWORD *pdwCookie
);
|
WinNT.HRESULT |
GetConnectionInterface(Guid.IID iid) |
WinNT.HRESULT |
Unadvise(WinDef.DWORD dwCookie) |
AddRef, QueryInterface, Releasestatic final Guid.IID IID_IConnectionPoint
WinNT.HRESULT GetConnectionInterface(Guid.IID iid)
iid - WinNT.HRESULT Advise(IUnknownCallback pUnkSink, WinDef.DWORDByReference pdwCookie)
HRESULT Advise(
[in] IUnknown *pUnkSink,
[out] DWORD *pdwCookie
);
pUnkSink - pdwCookie - WinNT.HRESULT Unadvise(WinDef.DWORD dwCookie)
dwCookie -