INtime SDK Help
CreatePort

This handler is invoked when CreateRtPort is called. Implementation is optional, and it need not be implemented for proper operation of CreateRtPort. If it is implemented, it is called after the port object has been created. A status of E_OK must be returned via the pExcep parameter for the port to be created, else the port object is deleted and the status code is returned to the caller.

If implementation is not required, the pCreatePort field of the SERVICEDESC structure should be set to NULL.

void CreatePort(
    LPSERVICEDESC pService,
    RTHANDLE hPort,
    LPWORD pExcep
);

Return Values

Return status code in pExcep.

See Also

RT Service handlers, CreateRtPort, SERVICEDESC