This function stops data streaming for a stream instance or a group of streams.
#include <os2.h> HSTREAM hstream; /* Stream handle. */ ULONG ulFlags; /* Flags. */ ULONG rc; /* Return codes indicating success or the type of failure: */ rc = SpiStopStream(hstream, ulFlags);