SpiGetProtocol - Syntax

This function queries a stream handler for a specific stream protocol.

#include <os2.h>

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

rc = SpiGetProtocol(hid, pspcbkey, pspcb);


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