Export (0) Print
Expand All

ITagReplacerImpl::GetHandlerOffset

Visual Studio .NET 2003

Override this non-virtual method to return a numeric identifier for an object that can later be passed to ITagReplacerImpl::GetReplacementObject to get the ITagReplacer interface corresponding to that object.

HTTP_CODE GetHandlerOffset(
   LPCSTR /* szHandlerName */,
   DWORD* pdwOffset 
);

Parameters

szHandlerName
The name of the object whose ID is to be returned in pdwOffset.
pdwOffset
[out] Address of the variable that, on success, receives the numeric identifier that corresponds to szHandlerName.

Return Value

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

Remarks

ITagReplacerImpl provides a non-functional implementation that always returns HTTP_FAIL. A useful implementation of this method is typically provided by CHtmlTagReplacer.

See Also

ITagReplacerImpl Overview | Class Members | ITagReplacerImpl::GetReplacementObject

Show:
© 2014 Microsoft