Commit 85349354 authored by Hugh McMaster's avatar Hugh McMaster Committed by Alexandre Julliard

reg: Define MAX_SUBKEY_LEN in reg.h.

parent ecb9ce4b
...@@ -236,8 +236,6 @@ static void export_key_name(HANDLE hFile, WCHAR *name) ...@@ -236,8 +236,6 @@ static void export_key_name(HANDLE hFile, WCHAR *name)
heap_free(buf); heap_free(buf);
} }
#define MAX_SUBKEY_LEN 257
static int export_registry_data(HANDLE hFile, HKEY key, WCHAR *path) static int export_registry_data(HANDLE hFile, HKEY key, WCHAR *path)
{ {
LONG rc; LONG rc;
......
...@@ -651,8 +651,6 @@ WCHAR *build_subkey_path(WCHAR *path, DWORD path_len, WCHAR *subkey_name, DWORD ...@@ -651,8 +651,6 @@ WCHAR *build_subkey_path(WCHAR *path, DWORD path_len, WCHAR *subkey_name, DWORD
static unsigned int num_values_found = 0; 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) static int query_value(HKEY key, WCHAR *value_name, WCHAR *path, BOOL recurse)
{ {
LONG rc; LONG rc;
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
#include "resource.h" #include "resource.h"
#define ARRAY_SIZE(A) (sizeof(A)/sizeof(*A)) #define ARRAY_SIZE(A) (sizeof(A)/sizeof(*A))
#define MAX_SUBKEY_LEN 257
/* reg.c */ /* reg.c */
void *heap_xalloc(size_t size); void *heap_xalloc(size_t size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment