REPLACEMENT_METHOD_ENTRY
TOC
Collapse the table of content
Expand the table of content
This documentation is archived and is not being maintained.

REPLACEMENT_METHOD_ENTRY 

Use this macro in a replacement method map to associate a replacement method with a particular tag name.


#define REPLACEMENT_METHOD_ENTRY(
      methodName,
      methodFunc
)

Parameters

methodName

A string containing the name of the replacement tag that will map to the method specified by methodFunc.

methodFunc

The C++ method that will be called when tags matching methodName are encountered.

The replacement method specified by methodFunc should have the following signature:

HTTP_CODE methodFunc( );

This function should be a member of the class containing the replacement method map.

This macro provides similar functionality to the tag_name attribute.

Header: atlstencil.h

Show:
© 2016 Microsoft