Export (0) Print
Expand All
Expand Minimize

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

Community Additions

ADD
Show:
© 2015 Microsoft