Lines Matching refs:pUnk
75 IUnknown* pUnk = this; in QueryInterface() local
76 pUnk->AddRef(); in QueryInterface()
77 *ppvObject = pUnk; in QueryInterface()
119 IUnknown* pUnk = 0; in CreateInstance() local
122 pUnk = static_cast<IShellExtInit*>(new CPropertySheet()); in CreateInstance()
125 pUnk = static_cast<IQueryInfo*>(new CInfoTip()); in CreateInstance()
128 pUnk = static_cast<IColumnProvider*>(new CColumnInfo()); in CreateInstance()
131 pUnk = static_cast<IExtractImage*>(new CThumbviewer()); in CreateInstance()
133 POST_CONDITION(pUnk != 0, "Could not create COM object"); in CreateInstance()
135 if (0 == pUnk) in CreateInstance()
138 HRESULT hr = pUnk->QueryInterface(riid, ppvObject); in CreateInstance()
141 pUnk->Release(); in CreateInstance()