Partager via


IOleLink::GetBoundSource (Windows CE 5.0)

Send Feedback

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.