public class ConnectionPoint extends Unknown implements IConnectionPoint
Unknown.ByReference
IID_IConnectionPoint
IID_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, _invokeNativeVoid
equals, fromNative, getPointer, hashCode, nativeType, setPointer, toNative, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
AddRef, QueryInterface, Release
public ConnectionPoint(Pointer pointer)
public WinNT.HRESULT GetConnectionInterface(Guid.IID iid)
GetConnectionInterface
in interface IConnectionPoint
void GetConnectionPointContainer()
public WinNT.HRESULT Advise(IUnknownCallback pUnkSink, WinDef.DWORDByReference pdwCookie)
IConnectionPoint
HRESULT Advise(
[in] IUnknown *pUnkSink,
[out] DWORD *pdwCookie
);
Advise
in interface IConnectionPoint
public WinNT.HRESULT Unadvise(WinDef.DWORD dwCookie)
Unadvise
in interface IConnectionPoint
void EnumConnections()