ReactOS 0.4.16-dev-1012-g3fe4b41
|
#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include "wine/test.h"
#include "windef.h"
#include "winbase.h"
#include "winternl.h"
#include "winreg.h"
#include "winperf.h"
#include "winsvc.h"
#include "winerror.h"
#include "aclapi.h"
Go to the source code of this file.
Macros | |
#define | IS_HKCR(hk) ((UINT_PTR)hk > 0 && ((UINT_PTR)hk & 3) == 2) |
#define | ADVAPI32_GET_PROC(func) p ## func = (void*)GetProcAddress(hadvapi32, #func) |
#define | lok ok_(__FILE__, line) |
#define | test_hkey_main_Value_A(name, string, full_byte_len) _test_hkey_main_Value_A(__LINE__, name, string, full_byte_len) |
#define | test_hkey_main_Value_W(name, string, full_byte_len) _test_hkey_main_Value_W(__LINE__, name, string, full_byte_len) |
#define | check_key_value(root, name, flags, expect) _check_key_value( __LINE__, root, name, flags, expect ) |
#define | cmp_li(a, b, c) cmp_li_real(a, b, c, __LINE__) |
Variables | |
static HKEY | hkey_main |
static DWORD | GLE |
static const char * | sTestpath1 = "%LONGSYSTEMVAR%\\subdir1" |
static const char * | sTestpath2 = "%FOO%\\subdir1" |
static const DWORD | ptr_size = 8 * sizeof(void*) |
static | LPCSTR |
static | DWORD |
static | LPDWORD |
static | PVOID |
static const char | HKEY |
static const char *static | REGSAM |
static | PBOOL |
static | LPCWSTR |
static BOOL | limited_user |
Definition at line 129 of file registry.c.
#define check_key_value | ( | root, | |
name, | |||
flags, | |||
expect | |||
) | _check_key_value( __LINE__, root, name, flags, expect ) |
Definition at line 2498 of file registry.c.
Definition at line 3544 of file registry.c.
Definition at line 35 of file registry.c.
Definition at line 202 of file registry.c.
#define test_hkey_main_Value_A | ( | name, | |
string, | |||
full_byte_len | |||
) | _test_hkey_main_Value_A(__LINE__, name, string, full_byte_len) |
Definition at line 203 of file registry.c.
#define test_hkey_main_Value_W | ( | name, | |
string, | |||
full_byte_len | |||
) | _test_hkey_main_Value_W(__LINE__, name, string, full_byte_len) |
Definition at line 249 of file registry.c.
|
static |
Definition at line 2493 of file registry.c.
|
static |
Definition at line 204 of file registry.c.
|
static |
Definition at line 250 of file registry.c.
Definition at line 182 of file registry.c.
Referenced by START_TEST().
|
static |
Definition at line 3545 of file registry.c.
Definition at line 495 of file registry.c.
Referenced by START_TEST().
Definition at line 3529 of file registry.c.
Referenced by cmp_li_real().
Definition at line 153 of file registry.c.
Definition at line 2475 of file registry.c.
Referenced by _check_key_value(), and test_redirection().
Definition at line 62 of file registry.c.
Definition at line 132 of file registry.c.
Referenced by START_TEST().
Definition at line 1525 of file registry.c.
Referenced by test_reg_load_key(), test_reg_save_key(), and test_reg_unload_key().
Definition at line 175 of file registry.c.
Referenced by START_TEST(), test_deleted_key(), and test_reg_delete_key().
START_TEST | ( | registry | ) |
Definition at line 3760 of file registry.c.
Definition at line 2801 of file registry.c.
Referenced by START_TEST().
Definition at line 3100 of file registry.c.
Referenced by START_TEST().
Definition at line 3277 of file registry.c.
Referenced by START_TEST().
Definition at line 3427 of file registry.c.
Referenced by START_TEST().
Definition at line 3387 of file registry.c.
Referenced by START_TEST().
Definition at line 3341 of file registry.c.
Referenced by START_TEST().
Definition at line 518 of file registry.c.
Referenced by START_TEST().
Definition at line 800 of file registry.c.
Referenced by START_TEST().
Definition at line 3309 of file registry.c.
Referenced by START_TEST().
Definition at line 773 of file registry.c.
Referenced by START_TEST().
Definition at line 2500 of file registry.c.
Referenced by START_TEST().
Definition at line 1458 of file registry.c.
Referenced by START_TEST().
Definition at line 2115 of file registry.c.
Referenced by START_TEST().
Definition at line 1283 of file registry.c.
Referenced by START_TEST().
Definition at line 1492 of file registry.c.
Referenced by START_TEST().
Definition at line 2210 of file registry.c.
Referenced by START_TEST().
Definition at line 1576 of file registry.c.
Referenced by START_TEST().
Definition at line 1004 of file registry.c.
Referenced by START_TEST().
Definition at line 1795 of file registry.c.
Referenced by START_TEST().
Definition at line 1672 of file registry.c.
Referenced by START_TEST().
Definition at line 1559 of file registry.c.
Referenced by START_TEST().
Definition at line 1599 of file registry.c.
Referenced by START_TEST().
Definition at line 1622 of file registry.c.
Referenced by START_TEST().
Definition at line 3502 of file registry.c.
Referenced by START_TEST().
Definition at line 3490 of file registry.c.
Referenced by START_TEST().
Definition at line 3553 of file registry.c.
Referenced by START_TEST().
Definition at line 2300 of file registry.c.
Referenced by START_TEST().
Definition at line 294 of file registry.c.
Referenced by START_TEST().
Definition at line 2038 of file registry.c.
Referenced by START_TEST().
Definition at line 2346 of file registry.c.
Referenced by START_TEST().
Definition at line 78 of file registry.c.
Referenced by _test_hkey_main_Value_A(), and test_string_termination().
Definition at line 44 of file registry.c.
|
static |
Definition at line 38 of file registry.c.
Referenced by _test_hkey_main_Value_A(), _test_hkey_main_Value_W(), InternetCrackUrl_test(), test_acquire_context(), test_ConvertStringSecurityDescriptor(), test_CreateThread_basic(), test_GetThreadExitCode(), test_null_source(), test_ThreadErrorMode(), test_token_attr(), testAddCRL(), testCreateCRL(), testFileNameStore(), testMemStore(), and testRegStore().
Definition at line 45 of file registry.c.
Referenced by check_user_privs().
|
static |
Definition at line 37 of file registry.c.
Referenced by _test_hkey_main_Value_A(), _test_hkey_main_Value_W(), create_test_entries(), setup_main_key(), START_TEST(), test_delete_key_value(), test_delete_value(), test_deleted_key(), test_enum_value(), test_get_value(), test_query_value_ex(), test_reg_close_key(), test_reg_copy_tree(), test_reg_create_key(), test_reg_delete_key(), test_reg_delete_tree(), test_reg_query_info(), test_reg_query_value(), test_reg_save_key(), test_RegNotifyChangeKeyValue(), test_set_value(), test_string_termination(), and test_symlinks().
|
static |
Definition at line 55 of file registry.c.
Referenced by check_user_privs(), test_redirection(), test_reg_create_key(), and test_reg_open_key().
Definition at line 44 of file registry.c.
Definition at line 53 of file registry.c.
Definition at line 44 of file registry.c.
Definition at line 48 of file registry.c.
Definition at line 42 of file registry.c.
Referenced by test_CreateTypeLib(), test_Global(), test_redirection(), test_reg_open_key(), test_SetTypeDescAlias(), testTDA(), throw(), and TLB_size_instance().
Definition at line 44 of file registry.c.
Definition at line 47 of file registry.c.
Definition at line 40 of file registry.c.
Referenced by create_test_entries(), test_get_value(), and test_query_value_ex().
Definition at line 41 of file registry.c.
Referenced by create_test_entries(), and test_get_value().