Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method returns an IUnknown pointer to the link source if the connection is currently active.
HRESULT GetBoundSource(IUnknown** ppunk);
Parameters
ppunk
[out] Address of the IDataObject* pointer variable that receives the interface pointer to the link source.When successful, the implementation must call the IUnknown::AddRef method on *ppunk; it is the caller's responsibility to call the IUnknown::Release method.
If an error occurs, the implementation sets *ppunk to NULL.
Return Values
This method supports the standard return value E_FAIL.
If the method succeeds, the return value is S_OK.
Remarks
You typically do not need to call IOleLink::GetBoundSource.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Oleidl.h, Oleidl.idl.
Link Library: Ole32.lib, Uuid.lib.
See Also
IDataObject | IUnknown::AddRef | IUnknown::Release
Send Feedback on this topic to the authors