INtime SDK Help
DeletePort (deprecated)

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.

This handler is invoked when DeleteRtPort is called. Implementation is optional, and it need not be implemented for proper operation of DeleteRtPort. If it is implemented, it must return a status of E_OK must be returned via the parameter pExcep for the port to be deleted, else the status code is returned to the caller.

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

void DeletePort(

LPSERVICEDESC pService,
RTHANDLE hPort,
LPWORD pExcep
);

Return Values

Return status code in pExcep.

See Also

RT Service handlers, DeleteRtPort, SERVICEDESC