This function sends a stream-handler-specific message to a stream handler.
#include <os2.h> HSTREAM hstream; /* Stream handle. */ HID hid; /* Stream handler ID. */ ULONG ulMsgType; /* Message type. */ PVOID pMsg; /* Pointer to control block. */ ULONG rc; /* Return codes. */ rc = SpiSendMsg(hstream, hid, ulMsgType, pMsg);