Connecting Tech Pros Worldwide Help | Site Map

GetFilter() Method used in C++

Newbie
 
Join Date: Jul 2008
Posts: 10
#1: Nov 17 '08
Hi,
I have an application running on Platforms Microsoft Windows Server 2003, which uses a method called GetFilter(). I tried to look over MSDN, it says
"The GetFilter method of the IProtocolHandlerSite interface retrieves the appropriate IFilter based on the parameters supplied. "

Could anyone please advice what is the meaning of "IFilter" here ?
Part of my code is pasted below, it may help for analysis :
Please advice what does this GetFirstPage() method does ?
================================================== ==
/*Set the Sort Order first on TP ID followed by Buy Currency and then the
Sell Currency*/
pFilterItem = 0;
pFilterItem =
(*pMAPYCLSCPGHandler)->GetFilter()->GetFilterItemByProperty(CLSFTPId);
pFilterItem->SetSortOrder(Ascending);
pFilterItem = 0;
pFilterItem =
(*pMAPYCLSCPGHandler)->GetFilter()->GetFilterItemByProperty(CLSFBuyCurrencyId);
pFilterItem->SetSortOrder(Ascending);
pFilterItem = 0;
pFilterItem =
(*pMAPYCLSCPGHandler)->GetFilter()->GetFilterItemByProperty(CLSFSellCurrencyId);
pFilterItem->SetSortOrder(Ascending);

/*Request the one and only available page */
(*pMAPYCLSCPGHandler)->GetFirstPage();


================================================== ==
Moderator
 
Join Date: Mar 2007
Location: North Bend Washington USA
Posts: 5,366
#2: Nov 17 '08

re: GetFilter() Method used in C++


Does this help: http://www.codeproject.com/KB/cs/fulltextsearchingifinters.aspxp.
Reply