IHTMLDocument3调用getElementById跟为什么IHTMLElement *pElem得到是空的

IHTMLDocument3调用getElementById和为什么IHTMLElement *pElem得到是空的
IHTMLDocument3调用getElementById和为什么IHTMLElement *pElem得到是空的
如:
         HRESULT hr;
BSTR bname;
         CComBSTR s;
         s=L"DIV";
CComQIPtr<IHTMLDocument2> pIHTMLDocument2;
CComQIPtr<IDispatch> spDispatch1;
IHTMLElement *pElem;
  
        spDispatch1=m_myie.get_Document();
pIHTMLDocument2=spDispatch1;

        CComQIPtr <IHTMLDocument3> pDoc3;  
    hr =pIHTMLDocument2->QueryInterface(IID_IHTMLDocument3,(void**)&pDoc3);  
    hr = pDoc3->getElementById(s,&pElem); 

    if (SUCCEEDED(hr) && pElem != NULL)
    {
 
     } 
pElem都是反回空的不知道为什么
------解决方案--------------------
没人............
------解决方案--------------------
友情帮顶,友情帮顶
------解决方案--------------------
顶................
------解决方案--------------------
gu up.....
------解决方案--------------------
我也是!!!没人回答啊.
------解决方案--------------------
s=L"DIV";
s是id吗?晕