Skip to main content
ATL Server Library Reference 

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



The information about the request to be handled.


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.