This function returns a list of the stream handler names installed in the SPI.INI file.
#include <os2.h> PHAND pahand; /* Buffer pointer. */ PULONG pulNumHand; /* Handler pointer. */ ULONG rc; /* Return codes indicating success or the type of failure: */ rc = SpiEnumerateHandlers(pahand, pulNumHand);