14 pInfo->pvCWD = pInfo->pvDropDown = pInfo->pvACList =
NULL;
29 IACList2 *pACList =
NULL;
31 IID_IACList2,
reinterpret_cast<LPVOID *
>(&pACList));
34 TRACE(
"CoCreateInstance(CLSID_ACListISF): 0x%08lX\n",
hr);
37 pInfo->pvACList =
static_cast<LPVOID>(pACList);
41 IID_IAutoComplete2,
reinterpret_cast<LPVOID *
>(&pAC));
46 pAC->
QueryInterface(IID_IAutoCompleteDropDown, &pInfo->pvDropDown);
51 TRACE(
"CoCreateInstance(CLSID_AutoComplete): 0x%08lX\n",
hr);
53 pInfo->pvACList =
NULL;
57 pACList->
QueryInterface(IID_ICurrentWorkingDirectory, &pInfo->pvCWD);
69 ICurrentWorkingDirectory* pCWD =
70 reinterpret_cast<ICurrentWorkingDirectory*
>(pInfo->pvCWD);
75 IACList2* pACList =
static_cast<IACList2*
>(pInfo->pvACList);
84 pCWD->SetDirectory(
szPath);
99 ICurrentWorkingDirectory* pCWD =
100 reinterpret_cast<ICurrentWorkingDirectory*
>(pInfo->pvCWD);
109 IACList2 *pACList =
static_cast<IACList2*
>(pInfo->pvACList);
113 pInfo->pvCWD = pInfo->pvDropDown = pInfo->pvACList =
NULL;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
EXTERN_C HRESULT DoInitAutoCompleteWithCWD(FileOpenDlgInfos *pInfo, HWND hwndEdit)
EXTERN_C HRESULT DoUpdateAutoCompleteWithCWD(const FileOpenDlgInfos *info, LPCITEMIDLIST pidl)
EXTERN_C HRESULT DoReleaseAutoCompleteWithCWD(FileOpenDlgInfos *pInfo)
#define GetCurrentDirectoryW(x, y)
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT SetOptions([in] DWORD dwFlag)
HRESULT ResetEnumerator()
HRESULT Init([in] HWND hwndEdit, [in] IUnknown *punkACL, [in] LPCOLESTR pwszRegKeyPath, [in] LPCOLESTR pwszQuickComplete)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
#define CBEM_GETEDITCONTROL
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
BOOL WINAPI GetComboBoxInfo(_In_ HWND, _Inout_ PCOMBOBOXINFO)
int WINAPI GetClassNameW(_In_ HWND hWnd, _Out_writes_to_(nMaxCount, return) LPWSTR lpClassName, _In_ int nMaxCount)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)