Looks up a port handle given a port ID. For example, when a message has been received at the interface, the service thread needs to know where to deliver the message to in a multiple-port implementation.
RTHANDLE LookupPortHandle( LPSERVICEDESC lpServiceDescriptor, WORD wPortID );
lpServiceDescriptor
wPortID
BAD_RTHANDLE
E_CONTEXT 0x0005
E_EXIST 0x0006
E_TYPE 0x8002
Versions | Defined in | Include | Link to |
---|---|---|---|
INtime 3.0 | intime/rt/include/rtserv.h | rtserv.h | rtserv.lib |
RT Service system calls, DeliverMessage, DeliverTransaction, SERVICEDESC