Freigeben über


IOleLink::GetBoundSource (Compact 2013)

3/26/2014

This method returns an IUnknown pointer to the link source if the connection is currently active.

Syntax

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 Value

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

Header

Oleidl.h,
oleidl.idl

Library

ole32.lib,
uuid.lib

See Also

Reference

IOleLink
IDataObject
IUnknown::AddRef
IUnknown::Release