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>
oldstable
Hugh McMaster 2017-12-05 11:25:16 +00:00 committed by Alexandre Julliard
parent ecb9ce4b2c
commit 8534935492
3 changed files with 1 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);