From INtime 6.0 the INtime Service and Port objects have been deprecated.
New projects should not be started using these features, and existing projects will not work with XM mode. You will receive a compiler warning by default if you use these calls.
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