네임 스페이스 확장을 처음 사용합니다. 네임 스페이스 확장에 대한 탐색 창을 사용하지 않으려 고합니다.GetFolder (IID_ExplorerPaneVisibility) 호출 방법
내 셸보기 구현 IShellFolder 개체를 반환하는 IFolderView :: GetFolder 구현합니다. Shell Folder 클래스는 IExplorerPaneVisibility :: GetPaneState 메서드를 구현하고 있습니다.
하지만 GetFolder (IID_ExplorerPaneVisibility) 호출이 발생하지 않습니다. 누군가 이걸로 나를 도울 수 있습니까?
STDMETHODIMP ShellFolderViewImpl::GetFolder(REFIID riid, VOID ** ppv)
{
if (riid == IID_IExplorerPaneVisibility)
{
this->QueryInterface(riid, (void**)ppv);
}
return S_OK;
}
STDMETHODIMP ShellFolderViewImpl::GetPaneState(REFEXPLORERPANE ep,EXPLORERPANESTATE * peps)
{
if (ep == EP_NavPane)
*peps = EPS_DEFAULT_OFF;
else if (ep == EP_Commands)
*peps = EPS_DEFAULT_OFF;
else if (ep == EP_DetailsPane)
*peps = EPS_DEFAULT_OFF;
else if (ep == EP_AdvQueryPane)
*peps = EPS_DEFAULT_OFF;
else if (ep == EP_QueryPane)
*peps = EPS_DEFAULT_OFF;
else
*peps = EPS_DONTCARE;
return S_OK;
}