# PDL_UnregisterServiceCallback

## Description

Stops a service from sending any more responses using a callback function. You can register a callback function with a service using the PDL_ServiceCallWithCallback API. At that time, you indicate whether the response is one-time or indefinite. If indefinite, you can use this API to stop any more responses.

See Accessing Services for more information and examples.

## Syntax

>     PDL_Err PDL_UnregisterServiceCallback(PDL_ServiceCallbackFunc callback);

Argument | Description
--- | ---
callback | Function for which messages are no longer to be received.

See also:

- PDL_ServiceCall
- PDL_ServiceCallWithCallback
- PDL_GetParamDouble
- PDL_GetParamInt
- PDL_GetParamString
- PDL_ParamExists