next up previous contents index
Next: FMPStop Up: General functions Previous: FMPQueryInterface   Contents   Index

FMPSet

This command will initialize the stream or the driver with specified setting.

DWORD FMPSet (index, value);

Arguments
DWORD index Index of the value to set or zero for nothing that can be combined with a flag
DWORD value New value for the setting

Return value
Returns the previous value of the given setting if successful otherwise returns 0xFFFFFFFF in case of error.

Remarks
The FMPSet command allows you to set a parameter of a stream or the driver if you specify a null handle. The driver settings include information, status and default settings.

You can specify audio or video settings for the driver. In this case, the values set in the driver will be the default values, for any future opened streams.

For FMPSet Index please see under FMPGet Index.

See also
FMPGet(1.5.3), Settings7

Figure 1.55: FMPSet Operating Systems and Streaming Models
\begin{figure}\centering\begin{tabular}{\vert l\vert c\vert c\vert c\vert c\vert...
...& $\bullet$& $\bullet$& $\bullet$& $\bullet$\\
\hline
\end{tabular}\end{figure}


next up previous contents index
Next: FMPStop Up: General functions Previous: FMPQueryInterface   Contents   Index
Realmagic Build 2001-12-07