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