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 status code in pExcep.
RT Service handlers, DeleteRtPort, SERVICEDESC