Sets the port parameter for the given port to a value given by the caller. This allows the service implementer to define port-specific data.
BOOLEAN SetPortParameter(
    RTHANDLE hPort,
    LPVOID pParameter
);
hPort 
pParameter 
TRUE 
FALSE 
E_CONTEXT 0x0005 
E_EXIST 0x0006 
hPort parameter is not a valid handle. 
E_TYPE 0x8002 
hPort parameter is not a handle for a port or a service. | Versions | Defined in | Include | Link to | 
|---|---|---|---|
| INtime 3.0 | intime/rt/include/rtserv.h | rtserv.h | rtserv.lib | 
RT Service system calls, GetPortParameter