Returns the same callback type as the SLPFindSrvTypes() function.
typedef SLPBoolean SLPSrvTypeCallback(SLPHandle hSLP,
const char* pcSrvTypes,
SLPError errCode,
void *pvCookie);
The SLPSrvTypeCallback type is the type of the callback function parameter to the SLPFindSrvTypes() function.
Item | Description |
---|---|
hSLP | The SLPHandle used to initiate the operation. |
pcSrvTypes | A character buffer containing a comma-separated, null-terminated list of service types. |
errCode | An error code indicating if an error occurred during the operation. The callback should check this error code before processing the parameters. If the error code is other than SLP_OK, then the API library can choose to terminate the outstanding operation. |
pvCookie | Memory passed down from the client code that called the original API function, starting the operation. Can be NULL. |
The client code should return SLP_TRUE if more data is desired; otherwise SLP_FALSE is returned.