36#define NONAMELESSUNION
240#define MRU_CACHEWRITE 2
258#define WMRUIF_CHANGED 0x0001
272#define WMRUF_CHANGED 0x0001
293 ERR(
"Could not open key, error=%d, attempting to create\n",
303 ERR(
"failed to create key /%s/, err=%d\n",
313 ERR(
"error saving MRUList, err=%d\n",
err);
322 realname[0] =
'a' +
i;
330 TRACE(
"saving value for name /%s/ size=%d\n",
353 TRACE(
"(%p)\n", hMRUList);
436 if (lpRegNum && (
ret != -1))
439 TRACE(
"(%p, %p, %d, %p) returning %d\n",
440 hList, lpData, cbData, lpRegNum,
ret);
493 witem->
size = cbData;
505 TRACE(
"(%p, %p, %d) adding data, /%c/ now most current\n",
679 ERR(
"(%u %u %x %p %s %p): Could not open key, error=%d\n",
706 realname[0] =
'a' +
i;
724 TRACE(
"(%u %u %x %p %s %p): Current Size = %d\n",
843 if (nItemPos >= mp->
cursize)
return -1;
850 TRACE(
"(%p, %d, %p, %d): returning len=%d\n",
870 if (nItemPos >= mp->
cursize)
return -1;
887 TRACE(
"(%p, %d, %p, %d): returning len=%d\n",
912 if (!lpDest && lpSrc)
953 if (!lpDest && lpSrc)
994 TRACE(
"(%p %s)\n", lppDest, lpSrc);
1077 TRACE(
"(%p %p %d %p 0x%08x)\n",
1092 lpNmh = (lpHdr) ? lpHdr : &nmhdr;
1096 lpNmh->
code = uCode;
1127 TRACE(
"(%p %p %d %p)\n",
1128 hwndTo, hwndFrom, uCode, lpHdr);
1130 notify.hwndFrom = hwndFrom;
1166 TRACE(
"(%p %p %d %p 0x%08x)\n",
1167 hwndFrom, hwndTo, uCode, lpHdr, dwParam5);
1169 hwndNotify = hwndTo;
1178 notify.hwndFrom = hwndFrom;
1179 notify.hwndTo = hwndNotify;
1180 notify.dwParam5 = dwParam5;
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
#define RegCloseKey(hKey)
BOOL WINAPI DelMRUString(HANDLE hList, INT nItemPos)
struct tagMRUINFOW MRUINFOW
BOOL Str_SetPtrWtoA(LPSTR *lppDest, LPCWSTR lpSrc)
INT Str_GetPtrAtoW(LPCSTR lpSrc, LPWSTR lpDest, INT nMaxLen)
static HANDLE create_mru_list(LPWINEMRULIST mp)
INT WINAPI AddMRUStringW(HANDLE hList, LPCWSTR lpszString)
BOOL Str_SetPtrAtoW(LPWSTR *lppDest, LPCSTR lpSrc)
INT WINAPI FindMRUData(HANDLE hList, LPCVOID lpData, DWORD cbData, LPINT lpRegNum)
static LRESULT DoNotify(const NOTIFYDATA *lpNotify, UINT uCode, LPNMHDR lpHdr)
struct tagNOTIFYDATA NOTIFYDATA
INT WINAPI AddMRUStringA(HANDLE hList, LPCSTR lpszString)
INT WINAPI EnumMRUListW(HANDLE hList, INT nItemPos, LPVOID lpBuffer, DWORD nBufferSize)
struct tagMRUINFOW * LPMRUINFOW
LPVOID WINAPI Alloc(DWORD dwSize)
static void MRU_SaveChanged(LPWINEMRULIST mp)
struct tagMRUINFOA MRUINFOA
INT(CALLBACK * MRUStringCmpFnA)(LPCSTR lhs, LPCSTR rhs)
LPVOID WINAPI ReAlloc(LPVOID lpSrc, DWORD dwSize)
INT WINAPI FindMRUStringA(HANDLE hList, LPCSTR lpszString, LPINT lpRegNum)
LRESULT WINAPI SendNotify(HWND hwndTo, HWND hwndFrom, UINT uCode, LPNMHDR lpHdr)
struct tagWINEMRUITEM WINEMRUITEM
INT(CALLBACK * MRUBinaryCmpFn)(LPCVOID lhs, LPCVOID rhs, DWORD length)
struct tagNOTIFYDATA * LPNOTIFYDATA
HANDLE WINAPI CreateMRUListW(const MRUINFOW *infoW)
struct tagMRUINFOA * LPMRUINFOA
HANDLE WINAPI CreateMRUListA(const MRUINFOA *lpcml)
struct tagWINEMRUITEM * LPWINEMRUITEM
INT(CALLBACK * MRUStringCmpFnW)(LPCWSTR lhs, LPCWSTR rhs)
struct tagWINEMRULIST WINEMRULIST
INT WINAPI EnumMRUListA(HANDLE hList, INT nItemPos, LPVOID lpBuffer, DWORD nBufferSize)
void WINAPI FreeMRUList(HANDLE hMRUList)
DWORD WINAPI GetSize(LPVOID lpMem)
LRESULT WINAPI SendNotifyEx(HWND hwndTo, HWND hwndFrom, UINT uCode, LPNMHDR lpHdr, DWORD dwParam5)
static const WCHAR strMRUList[]
HANDLE WINAPI CreateMRUListLazyA(const MRUINFOA *lpcml, DWORD dwParam2, DWORD dwParam3, DWORD dwParam4)
INT WINAPI AddMRUData(HANDLE hList, LPCVOID lpData, DWORD cbData)
INT WINAPI FindMRUStringW(HANDLE hList, LPCWSTR lpszString, LPINT lpRegNum)
INT Str_GetPtrWtoA(LPCWSTR lpSrc, LPSTR lpDest, INT nMaxLen)
HANDLE WINAPI CreateMRUListLazyW(const MRUINFOW *infoW, DWORD dwParam2, DWORD dwParam3, DWORD dwParam4)
struct tagWINEMRULIST * LPWINEMRULIST
static TAGREF LPCWSTR LPDWORD LPVOID lpBuffer
LONG WINAPI RegCreateKeyExW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey, _In_ DWORD Reserved, _In_opt_ LPWSTR lpClass, _In_ DWORD dwOptions, _In_ REGSAM samDesired, _In_opt_ LPSECURITY_ATTRIBUTES lpSecurityAttributes, _Out_ PHKEY phkResult, _Out_opt_ LPDWORD lpdwDisposition)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
#define ERROR_INVALID_PARAMETER
#define WideCharToMultiByte
#define MultiByteToWideChar
BOOL NTAPI IsBadStringPtrA(IN LPCSTR lpsz, IN UINT_PTR ucchMax)
BOOL NTAPI IsBadStringPtrW(IN LPCWSTR lpsz, IN UINT_PTR ucchMax)
static const WCHAR stringW[]
GLuint GLuint GLsizei GLenum type
GLuint GLsizei GLsizei * length
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HLOCAL NTAPI LocalReAlloc(HLOCAL hMem, SIZE_T dwBytes, UINT uFlags)
HLOCAL NTAPI LocalAlloc(UINT uFlags, SIZE_T dwBytes)
SIZE_T NTAPI LocalSize(HLOCAL hMem)
HLOCAL NTAPI LocalFree(HLOCAL hMem)
static const SecPkgInfoW infoW
#define memcpy(s1, s2, n)
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
#define cmp(status, error)
#define REG_OPTION_NON_VOLATILE
INT replace(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], DWORD dwFlags, BOOL *doMore)
MRUBinaryCmpFn binary_cmpfn
MRUStringCmpFnA string_cmpfn
union tagMRUINFOA::@335 u
MRUBinaryCmpFn binary_cmpfn
MRUStringCmpFnW string_cmpfn
union tagMRUINFOW::@336 u
BOOL WINAPI IsWindow(_In_opt_ HWND)
HWND WINAPI GetParent(_In_ HWND)
int WINAPI GetDlgCtrlID(_In_ HWND)
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free