От: | Flamer | http://users.livejournal.com/_flamer_/ | |
Дата: | 27.06.03 14:35 | ||
Оценка: |
void DoSome(IHTMLElement2* pElement)
{
// deal with pElement
}
IDispatch* pDisp = GetDispatch(); // for example
CComQIPtr<IHTMLElement2,&IID_IHTMLElement2> spElem(pDisp);
DoSome(spElem);