hstreamMaster (HSTREAM) - input
Handle to stream that will be the master in the
stream group.
paslaveList (PSLAVE) - input
Each
slave entry provides information about one stream that will be a slave stream
in the group. This information includes the stream handle, as well as the
mmtimeStart field that is used to specify the difference in stream
time between the master stream and slave streams. This value is used in
the sync tolerance calculations and affects the starting of the slave streams.
ulNumSlaves (ULONG) - input
Number
of slaves in the paslaveList array.
mmtimeSync (MMTIME) - input
Value
indicating the desired sync pulse generation interval. A sync pulse is
generated by the master stream at each mmtimeSync interval relative
to MMTIME 0. MMTIME is always specified in units of 1/3000th of a second.
If this parameter is NULL, the sync pulse interval in the negotiated stream
protocol control block (SPCB) for the master
stream is used. The SPCB for a data type and stream handler can be queried
using the SpiGetProtocol function.
rc (ULONG) - returns
Return
codes indicating success or the type of failure:
NO_ERROR
ERROR_INVALID_FUNCTION
Invalid function requested.
ERROR_INVALID_STREAM
ERROR_INVALID_NUMSLAVES
Invalid number of slaves specified (probably 0).
ERROR_INVALID_MMTIME
Invalid
MMTIME specified, or the wrong type for the stream master.
ERROR_MASTER_USED
The stream master already specified is a stream
master for another sync group. Use SpiDisableSync
to remove the other sync group, then try this call again.
ERROR_STREAM_USED
One of the streams specified already is part of
another sync group.
ERROR_INVALID_BLOCK
FAILURE
Stream
handler-specific error return code.
[Back: SpiEnableSync Return Value - rc]
[Next: SpiEnableSync - Remarks]