14 ,
public IItemNameLimits
24 trace(
"CShellFolder\n");
29 trace(
"~CShellFolder\n");
48 trace(
"ParseDisplayName\n");
57 trace(
"EnumObjects\n");
67 trace(
"BindToObject\n");
77 trace(
"BindToStorage\n");
86 trace(
"CompareIDs\n");
95 trace(
"CreateViewObject\n");
104 trace(
"GetAttributesOf\n");
116 trace(
"GetUIObjectOf\n");
125 trace(
"GetDisplayNameOf\n");
136 trace(
"SetNameOf\n");
148 LPWSTR *ppwszInvalidChars);
157 trace(
"QueryInterface\n");
164 trace(
"IID_IShellFolder\n");
171 trace(
"IID_IItemNameLimits\n");
172 *
ppvObject =
static_cast<IItemNameLimits *
>(
this);
202 trace(
"GetMaxLength('%S', %p (%d))\n", pszName, piMaxNameLen, *piMaxNameLen);
213 LPWSTR *ppwszInvalidChars)
215 trace(
"GetValidCharacters(%p, %p)\n", ppwszValidChars, ppwszInvalidChars);
220 if (ppwszInvalidChars)
226 *ppwszValidChars =
NULL;
237 trace(
"PropEnumProc: '%S' --> %p\n", lpszString, hData);
#define ok_long(expression, result)
#define ok_int(expression, result)
STDMETHODIMP GetUIObjectOf(HWND hwndOwner, UINT cidl, PCUITEMID_CHILD_ARRAY apidl, REFIID riid, UINT *rgfReserved, void **ppv)
STDMETHODIMP SetNameOf(HWND hwnd, PCUITEMID_CHILD pidl, LPCWSTR pszName, SHGDNF uFlags, PITEMID_CHILD *ppidlOut)
STDMETHODIMP ParseDisplayName(HWND hwnd, IBindCtx *pbc, LPWSTR pszDisplayName, ULONG *pchEaten, PIDLIST_RELATIVE *ppidl, ULONG *pdwAttributes)
STDMETHODIMP_(ULONG) AddRef()
STDMETHODIMP BindToStorage(PCUIDLIST_RELATIVE pidl, IBindCtx *pbc, REFIID riid, void **ppv)
STDMETHODIMP_(ULONG) Release()
STDMETHODIMP GetMaxLength(LPCWSTR pszName, int *piMaxNameLen)
STDMETHODIMP CreateViewObject(HWND hwndOwner, REFIID riid, void **ppv)
STDMETHODIMP GetAttributesOf(UINT cidl, PCUITEMID_CHILD_ARRAY apidl, SFGAOF *rgfInOut)
STDMETHODIMP CompareIDs(LPARAM lParam, PCUIDLIST_RELATIVE pidl1, PCUIDLIST_RELATIVE pidl2)
STDMETHODIMP GetDisplayNameOf(PCUITEMID_CHILD pidl, SHGDNF uFlags, STRRET *pName)
STDMETHODIMP QueryInterface(REFIID riid, void **ppvObject)
STDMETHODIMP EnumObjects(HWND hwnd, SHCONTF grfFlags, IEnumIDList **ppenumIDList)
STDMETHODIMP GetValidCharacters(LPWSTR *ppwszValidChars, LPWSTR *ppwszInvalidChars)
CShellFolder(INT iMaxNameLen=0, BOOL bDisabled=FALSE)
STDMETHODIMP BindToObject(PCUIDLIST_RELATIVE pidl, IBindCtx *pbc, REFIID riid, void **ppv)
HMODULE WINAPI GetModuleHandleW(LPCWSTR lpModuleName)
HRESULT WINAPI SHStrDupW(LPCWSTR src, LPWSTR *dest)
#define EXCEPTION_EXECUTE_HANDLER
#define IsEqualIID(riid1, riid2)
#define _SEH2_EXCEPT(...)
HRESULT WINAPI SHLimitInputEdit(HWND hWnd, IShellFolder *psf)
const PCUITEMID_CHILD * PCUITEMID_CHILD_ARRAY
const ITEMID_CHILD UNALIGNED * PCUITEMID_CHILD
const ITEMIDLIST_RELATIVE UNALIGNED * PCUIDLIST_RELATIVE
int WINAPI GetWindowTextW(HWND hWnd, LPWSTR lpString, int nMaxCount)
_In_ void _In_ PCCERT_CONTEXT _In_opt_ LPFILETIME _In_ DWORD _In_ DWORD _Outptr_opt_ void ** ppvObject
#define DialogBoxW(i, t, p, f)
int WINAPI EnumPropsW(_In_ HWND, _In_ PROPENUMPROCW)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
BOOL WINAPI SetWindowTextW(_In_ HWND, _In_opt_ LPCWSTR)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
BOOL WINAPI EndDialog(_In_ HWND, _In_ INT_PTR)