ReactOS 0.4.16-dev-1007-g2e85425
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "winreg.h"
#include "commctrl.h"
#include "shlwapi.h"
#include "wine/heap.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | tagMRUINFOA |
struct | tagMRUINFOW |
struct | create_lazya_t |
Macros | |
#define | REG_TEST_BASEKEYA "Software\\Wine" |
#define | REG_TEST_BASESUBKEYA "Test" |
#define | REG_TEST_KEYA REG_TEST_BASEKEYA "\\" REG_TEST_BASESUBKEYA |
#define | REG_TEST_SUBKEYA "MRUTest" |
#define | REG_TEST_FULLKEY REG_TEST_KEYA "\\" REG_TEST_SUBKEYA |
#define | MRU_STRING 0 /* this one's invented */ |
#define | MRU_BINARY 1 |
#define | MRU_CACHEWRITE 2 |
#define | LIST_SIZE 3 /* Max entries for each mru */ |
#define | X2(f, ord) p##f = (void*)GetProcAddress(hComctl32, (const char *)ord); |
Typedefs | |
typedef struct tagMRUINFOA | MRUINFOA |
typedef struct tagMRUINFOW | MRUINFOW |
Functions | |
static | HANDLE (WINAPI *pCreateMRUListA)(MRUINFOA *) |
static | void (WINAPI *pFreeMRUList)(HANDLE) |
static | INT (WINAPI *pAddMRUStringA)(HANDLE |
static void | init_functions (void) |
static LSTATUS | mru_RegDeleteTreeA (HKEY hKey, LPCSTR lpszSubKey) |
static BOOL | create_reg_entries (void) |
static void | delete_reg_entries (void) |
static void | check_reg_entries (const char *mrulist, const char **items) |
static int CALLBACK | cmp_mru_strA (LPCSTR data1, LPCSTR data2) |
static void | test_MRUListA (void) |
static void | test_CreateMRUListLazyA (void) |
static void | test_EnumMRUList (void) |
static void | test_FindMRUData (void) |
static void | test_AddMRUData (void) |
static void | test_CreateMRUListW (void) |
static void | test_CreateMRUListLazyW (void) |
START_TEST (mru) | |
Variables | |
static HMODULE | hComctl32 |
static | LPCSTR |
static | INT |
static | LPVOID |
static | DWORD |
static | LPCVOID |
static | LPINT |
static const create_lazya_t | create_lazyA [] |
#define REG_TEST_FULLKEY REG_TEST_KEYA "\\" REG_TEST_SUBKEYA |
#define REG_TEST_KEYA REG_TEST_BASEKEYA "\\" REG_TEST_BASESUBKEYA |
typedef struct tagMRUINFOA MRUINFOA |
typedef struct tagMRUINFOW MRUINFOW |
Definition at line 187 of file mru.c.
Referenced by test_MRUListA().
Definition at line 229 of file mru.c.
Referenced by test_MRUListA().
Definition at line 165 of file mru.c.
Referenced by START_TEST().
Definition at line 176 of file mru.c.
Referenced by START_TEST().
Definition at line 80 of file mru.c.
Referenced by START_TEST().
Definition at line 99 of file mru.c.
Referenced by delete_reg_entries(), and mru_RegDeleteTreeA().
START_TEST | ( | mru | ) |
Definition at line 711 of file mru.c.
Definition at line 531 of file mru.c.
Referenced by START_TEST().
Definition at line 473 of file mru.c.
Referenced by START_TEST().
Definition at line 629 of file mru.c.
Referenced by START_TEST().
Definition at line 546 of file mru.c.
Referenced by START_TEST().
Definition at line 499 of file mru.c.
Referenced by START_TEST().
Definition at line 516 of file mru.c.
Referenced by START_TEST().
Definition at line 234 of file mru.c.
Referenced by START_TEST().
|
static |
Definition at line 461 of file mru.c.
Referenced by test_CreateMRUListLazyA().
|
static |
Definition at line 68 of file mru.c.
Referenced by init_functions(), test_CreateMRUListLazyW(), and test_CreateMRUListW().