Microsoft DirectX 8.1 (C++) |
The GetMediaLength method retrieves the media length of this source object.
Syntax
HRESULT GetMediaLength(
REFERENCE_TIME *pLength
);
Parameters
pLength
Pointer to a variable that receives the media length in 100-nanosecond units.
Return Value
Returns one of the following HRESULT values:
Value | Description |
S_OK | Success. |
E_NOTDETERMINED | Media times are not set on this object. |
E_POINTER | NULL pointer argument. |
See Also