Go to the source code of this file.
◆ DoInitAutoCompleteWithCWD()
Definition at line 12 of file autocomp.cpp.
13{
14 pInfo->pvCWD = pInfo->pvDropDown = pInfo->pvACList =
NULL;
15
19 {
23 }
25 {
27 }
28
29 IACList2 *pACList =
NULL;
31 IID_IACList2,
reinterpret_cast<LPVOID *
>(&pACList));
33 {
34 TRACE(
"CoCreateInstance(CLSID_ACListISF): 0x%08lX\n",
hr);
36 }
37 pInfo->pvACList =
static_cast<LPVOID>(pACList);
38
41 IID_IAutoComplete2,
reinterpret_cast<LPVOID *
>(&pAC));
43 {
46 pAC->
QueryInterface(IID_IAutoCompleteDropDown, &pInfo->pvDropDown);
48 }
49 else
50 {
51 TRACE(
"CoCreateInstance(CLSID_AutoComplete): 0x%08lX\n",
hr);
52 pACList->Release();
53 pInfo->pvACList =
NULL;
55 }
56
57 pACList->
QueryInterface(IID_ICurrentWorkingDirectory, &pInfo->pvCWD);
58
60}
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 Init([in] HWND hwndEdit, [in] IUnknown *punkACL, [in] LPCOLESTR pwszRegKeyPath, [in] LPCOLESTR pwszQuickComplete)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define CBEM_GETEDITCONTROL
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)
Referenced by FILEDLG95_InitControls().
◆ DoReleaseAutoCompleteWithCWD()
Definition at line 94 of file autocomp.cpp.
95{
96 if (!pInfo)
98
99 ICurrentWorkingDirectory* pCWD =
100 reinterpret_cast<ICurrentWorkingDirectory*>(pInfo->pvCWD);
101 if (pCWD)
102 pCWD->Release();
103
106 if (pDropDown)
108
109 IACList2 *pACList = static_cast<IACList2*>(pInfo->pvACList);
110 if (pACList)
111 pACList->Release();
112
113 pInfo->pvCWD = pInfo->pvDropDown = pInfo->pvACList =
NULL;
115}
Referenced by FileOpenDlgProc95().
◆ DoUpdateAutoCompleteWithCWD()
Definition at line 63 of file autocomp.cpp.
64{
66 if (!pInfo)
68
69 ICurrentWorkingDirectory* pCWD =
70 reinterpret_cast<ICurrentWorkingDirectory*>(pInfo->pvCWD);
71
74
75 IACList2* pACList = static_cast<IACList2*>(pInfo->pvACList);
76
79 {
81 }
82
83 if (pCWD)
84 pCWD->SetDirectory(
szPath);
85 if (pDropDown)
87 if (pACList)
89
91}
#define GetCurrentDirectoryW(x, y)
HRESULT ResetEnumerator()
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
Referenced by COMDLG32_UpdateCurrentDir().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
commdlg |
| ) |
|