By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,478 Members | 1,684 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,478 IT Pros & Developers. It's quick & easy.

GetFilter() Method used in C++

P: 10
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();


================================================== ==
Nov 17 '08 #1
Share this Question
Share on Google+
1 Reply


weaknessforcats
Expert Mod 5K+
P: 9,197

Post your reply

Sign in to post your reply or Sign up for a free account.