Microsoft DirectX 9.0 |
The AddProp method adds a property to the property setter, with an array of time-value pairs defining the value of the property over a range of time.
Syntax
HRESULT AddProp(
DEXTER_PARAM Param,
DEXTER_VALUE *paValue
);
Parameters
Param
[in] DEXTER_PARAM structure that specifies the property. The nValues member of the structure must equal the size of the array given in the paValue parameter.
paValue
[in] Pointer to an array of DEXTER_VALUE structures that contain time-value pairs. The array must be in ascending time order. The times are relative to the starting time of the effect or transition.
Return Value
Returns one of the following HRESULT values:
Value | Description |
S_OK | Success. |
E_INVALIDARG | Invalid argument. |
E_OUTOFMEMORY | Insufficient memory. |
E_POINTER | NULL pointer argument. |
Remarks
The first DEXTER_VALUE structure must specify a reference time of zero and an interpolation flag (dwInterp) of DEXTERF_JUMP, or the method returns an error.
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