public class ConnectionPoint extends Unknown implements IConnectionPoint
Unknown.ByReferenceIID_IConnectionPointIID_IUNKNOWN| Constructor and Description |
|---|
ConnectionPoint(Pointer pointer) |
| 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
);
|
(package private) void |
EnumConnections() |
WinNT.HRESULT |
GetConnectionInterface(Guid.IID iid) |
(package private) void |
GetConnectionPointContainer() |
WinNT.HRESULT |
Unadvise(WinDef.DWORD dwCookie) |
AddRef, QueryInterface, Release_invokeNativeInt, _invokeNativeObject, _invokeNativeVoidequals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitAddRef, QueryInterface, Releasepublic ConnectionPoint(Pointer pointer)
public WinNT.HRESULT GetConnectionInterface(Guid.IID iid)
GetConnectionInterface in interface IConnectionPointvoid GetConnectionPointContainer()
public WinNT.HRESULT Advise(IUnknownCallback pUnkSink, WinDef.DWORDByReference pdwCookie)
IConnectionPointHRESULT Advise(
[in] IUnknown *pUnkSink,
[out] DWORD *pdwCookie
);
Advise in interface IConnectionPointpublic WinNT.HRESULT Unadvise(WinDef.DWORD dwCookie)
Unadvise in interface IConnectionPointvoid EnumConnections()