IDAUserData Interface

The IDAUserData interface is the Component Object Model (COM) interface that creates a DABehavior object from the specified COM object. The behavior can then be used as other Microsoft® DirectAnimation® behaviors, which is especially useful for attaching custom objects to event data through AttachData.

This interface inherits from IDABehavior.

IDAUserData Methods

get_Data Retrieves a pointer to the IUnknown of the COM object that IDAUserData will wrap as a DABehavior object.

IDAUserData::get_Data

IDAUserData

Retrieves a pointer to the IUnknown of the COM object that IDAUserData will wrap as a DABehavior object.

Syntax

HRESULT get_Data(
    IUnknown **ret
);

Parameters

ret
[out] Address of a pointer to the IUnknown interface of the COM object to be wrapped as DABehavior.

Return Value

Returns an HRESULT value that indicates the success of the method or the reason why it failed. This HRESULT depends on the implementation of the interface.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.