Returns the same callback type as the SLPReg and SLPDereg subroutines.
typedef void SLPRegReport (hSLP, errCode, pvCookie)
SLPHandle hSLP;
SLPError errCode;
void *pvCookie;
The SLPSrvURLCallback type is the type of the callback subroutine parameter to the SLPFindSrvs subroutine.
Item | Description |
---|---|
hSLP | The SLPHandle handle used to initiate the operation. |
errCode | An error code indicating that an error occurred during the operation. The callback must check this error code before processing the parameters. If the error code is not SLP_OK, the API library can choose to terminate the outstanding operation. |
pvCookie | The memory passed down from the client code that calls the original API function at the start of the operation. The parameter can be set to NULL. |
Item | Description |
---|---|
SLP_TRUE | More data is necessary. |
SLP_FALSE | No additional data is necessary. |