Microsoft Internet Security and Acceleration Server 2000

Register the Web Filter From the Command Line

To install the filter, type this line at the command prompt:

regsvr32 Webresponsemodifier.dll 

This command is carried out by the code in the function DllRegisterServer in the Webresponsemodifier sample. The filter developer writes this function. The code from the Webresponsemodifier filter sample is shown as follows.

// DllRegisterServer - Adds entries to the system registry
STDAPI DllRegisterServer(void)
{
	HRESULT hr = RegisterWebFilter(true);
	return FAILED(hr) ? S_FALSE : S_OK;
}