SLPDereg Subroutine

Purpose

Deregisters the advertisement for URL in all scopes and locales.

Syntax

SLPError SLPReg(hSLP, pcURL, callback, pvCookie)
SLPHandle hSLP;
const char  *pcURL;
SLPRegReport callback;
void *pvCookie;

Description

The SLPDereg subroutine deregisters the advertisement for the URL specified by the pcURL parameter in all scopes where the service is registered and in all language locales. The deregistration is not confined to the SLPHandle locale. Deregistration takes place in all locales.

Parameters

Item Description
hSLP The language-specific SLPHandle handle used for deregistration of services.
pcURL The URL that needs to be deregistered.
callback A callback function through which the results of the operation are reported.
pvCookie The memory passed to callback code from the client. The parameter can be set to NULL.

Return Values

Item Description
SLP_OK The subroutine has run successfully.
SLPError An error occurred.