Microsoft DirectX 9.0

IAMTimelineObj::GetUserData

The GetUserData method retrieves the application-defined persistent data.

Syntax

HRESULT GetUserData(
    BYTE *pData,
    long *pSize
);

Parameters

pData

Pointer to a buffer that receives the data. To determine the size of buffer to allocate, set this parameter to NULL. The required size is returned in pSize.

pSize

Pointer to a variable that receives the size of the data, in bytes.

Return Value

Returns S_OK if successful, or E_POINTER otherwise.

Requirements

Header: Include Qedit.h. This header file is not compatible with Microsoft® Direct3D® headers later than version 7.

Library: Use strmiids.lib.

See Also