SpiInstallProtocol - Syntax

This function installs or removes a specific stream protocol for a stream handler.

#include <os2.h>

HID         hid;       /*  Stream handler ID. */
PSPCBKEY    pspcbkey;  /*  SPCB key. */
PSPCB       pspcb;     /*  SPCB address. */
ULONG       ulFlags;   /*  Flags. */
ULONG       rc;        /*  Return codes indicating success or the type of failure: */

rc = SpiInstallProtocol(hid, pspcbkey, pspcb,
       ulFlags);


[Back: SpiInstallProtocol]
[Next: SpiInstallProtocol Parameter - hid]