Microsoft DirectX 9.0 |
The SetDefaultFPS method sets the source object's default frame rate.
Syntax
HRESULT SetDefaultFPS(
double FPS
);
Parameters
FPS
Default frame rate, in frames per second.
Return Value
Returns S_OK if successful, or E_INVALIDARG if the specified frame rate is less than zero.
Remarks
The render engine uses this value if it cannot determine the frame rate from the original source file.
Call this method only for source files without a predefined frame rate. For bitmap and JPEG files, the default frame rate is zero, which causes the source to be rendered as a still image. To use the image as the first frame in a
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