This documentation is archived and is not being maintained.

ITagReplacerImpl::DefaultParseBool

Visual Studio .NET 2003

A parse function for a single bool parameter.

HTTP_CODE DefaultParseBool(
   IAtlMemMgr * pMemMgr,
   LPCSTR szParams,
   bool ** ppParam 
) throw(...);

Parameters

pMemMgr
The memory manager used to allocate memory for the parameter object.
szParams
The string to parse.
ppParam
[out] Address of the pointer variable that, on success, receives the pointer to the parameter object.

Return Value

Returns HTTP_SUCCESS or another ATL Server status code indicating failure.

Remarks

Sets the parameter to true if the start of szParams is "true". The comparison is case-insensitive.

See Also

ITagReplacerImpl Overview | Class Members | Passing An Argument To A Replacement Method

Show: