Skip to main content
ATL Server Library Reference 
IRequestHandler::InitializeHandler 

Implement this method to initialize the request handler when it is used from a handler tag or loaded by any means except a subhandler tag or include tag.


HTTP_CODE InitializeHandler(
   AtlServerRequest* pRequestInfo,
   IServiceProvider* pProvider
);

Parameters

pRequestInfo

The information about the request to be handled.

pProvider

The service provider.

Returns HTTP_SUCCESS or another ATL Server status code indicating success or failure.

This method is called for primary request handlers. It is not called for subhandlers and included handlers.