- Do not display a message box in CLanStatus::QueryInterface. Fixes hang when running com_apitest:netshell
- Change the order of some interfaces in CNetworkConnections to make com_apitest slightly happier
svn path=/trunk/; revision=67314
- MessageBoxW(NULL, L"IOleCommandTarget_fnQueryInterface", NULL, MB_OK);
*/
class CNetworkConnections final :
*/
class CNetworkConnections final :
public IShellExecuteHookW
{
public:
public IShellExecuteHookW
{
public:
*ppvObj = NULL;
if (IsEqualIID(riid, IID_IUnknown) ||
*ppvObj = NULL;
if (IsEqualIID(riid, IID_IUnknown) ||
- IsEqualIID(riid, IID_IShellFolder) ||
- IsEqualIID(riid, IID_IShellFolder2))
+ IsEqualIID (riid, IID_IPersist) ||
+ IsEqualIID (riid, IID_IPersistFolder) ||
+ IsEqualIID (riid, IID_IPersistFolder2))
- *ppvObj = static_cast<IShellFolder2*>(this);
+ *ppvObj = static_cast<IPersistFolder2*>(this);
- else if (IsEqualIID (riid, IID_IPersistFolder) ||
- IsEqualIID (riid, IID_IPersistFolder2))
+ else if (IsEqualIID(riid, IID_IShellFolder) ||
+ IsEqualIID(riid, IID_IShellFolder2))
- *ppvObj = static_cast<IPersistFolder2*>(this);
+ *ppvObj = static_cast<IShellFolder2*>(this);
}
else if (IsEqualIID(riid, IID_IShellExecuteHookW))
{
*ppvObj = static_cast<IShellExecuteHookW*>(this);
}
}
else if (IsEqualIID(riid, IID_IShellExecuteHookW))
{
*ppvObj = static_cast<IShellExecuteHookW*>(this);
}
-#if 0
- else if (IsEqualIID(riid, IID_IPersistIDList))
- {
- //*ppvObj = static_cast<IPersistIDList*>(this);
- }
-#endif
- * IID_IPersistFreeThreadedObject
- * IID_IBrowserFrameOptions
- * IID_IShellIconOverlay
- * IID_IPersistIDList
- * IID_IPersist
+ * IID_IShellExtInit
+ * IID_IOleCommandTarget
+ * IID_IShellFolderViewCB