reg: Define MAX_SUBKEY_LEN in reg.h.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ecb9ce4b2c
commit
8534935492
|
@ -236,8 +236,6 @@ static void export_key_name(HANDLE hFile, WCHAR *name)
|
|||
heap_free(buf);
|
||||
}
|
||||
|
||||
#define MAX_SUBKEY_LEN 257
|
||||
|
||||
static int export_registry_data(HANDLE hFile, HKEY key, WCHAR *path)
|
||||
{
|
||||
LONG rc;
|
||||
|
|
|
@ -651,8 +651,6 @@ WCHAR *build_subkey_path(WCHAR *path, DWORD path_len, WCHAR *subkey_name, DWORD
|
|||
|
||||
static unsigned int num_values_found = 0;
|
||||
|
||||
#define MAX_SUBKEY_LEN 257
|
||||
|
||||
static int query_value(HKEY key, WCHAR *value_name, WCHAR *path, BOOL recurse)
|
||||
{
|
||||
LONG rc;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include "resource.h"
|
||||
|
||||
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(*A))
|
||||
#define MAX_SUBKEY_LEN 257
|
||||
|
||||
/* reg.c */
|
||||
void *heap_xalloc(size_t size);
|
||||
|
|
Loading…
Reference in New Issue