Created typedefs for VALENTA and VALENTW, deprecated common VALENT type.

svn path=/trunk/; revision=3689
This commit is contained in:
Robert Dickenson 2002-11-02 13:50:45 +00:00
parent cb8ac201ad
commit 781e188154
3 changed files with 28 additions and 6 deletions

View file

@ -2200,7 +2200,7 @@ VerFindFileA(
LONG
STDCALL
RegConnectRegistryA (
LPSTR lpMachineName,
LPCSTR lpMachineName,
HKEY hKey,
PHKEY phkResult
);
@ -2342,7 +2342,7 @@ LONG
STDCALL
RegQueryValueExA (
HKEY hKey,
LPSTR lpValueName,
LPCSTR lpValueName,
LPDWORD lpReserved,
LPDWORD lpType,
LPBYTE lpData,

View file

@ -44,7 +44,7 @@
#include <ntos/ps.h>
#include <ntos/disk.h>
#include <ntos/gditypes.h>
/*
typedef struct _VALENT
{
LPTSTR ve_valuename;
@ -52,6 +52,28 @@ typedef struct _VALENT
DWORD ve_valueptr;
DWORD ve_type;
} VALENT, *PVALENT;
*/
typedef struct _VALENT_A {
LPSTR ve_valuename;
DWORD ve_valuelen;
DWORD ve_valueptr;
DWORD ve_type;
} VALENTA, *PVALENTA;
typedef struct _VALENT_W {
LPWSTR ve_valuename;
DWORD ve_valuelen;
DWORD ve_valueptr;
DWORD ve_type;
} VALENTW, *PVALENTW;
#ifdef UNICODE
typedef VALENTW VALENT;
typedef PVALENTW PVALENT;
#else
typedef VALENTA VALENT;
typedef PVALENTA PVALENT;
#endif
#ifndef WIN32_LEAN_AND_MEAN

View file

@ -2293,7 +2293,7 @@ LONG
STDCALL
RegQueryMultipleValuesW (
HKEY hKey,
PVALENT val_list,
PVALENTW val_list,
DWORD num_vals,
LPWSTR lpValueBuf,
LPDWORD ldwTotsize
@ -2303,7 +2303,7 @@ LONG
STDCALL
RegQueryValueExW (
HKEY hKey,
LPWSTR lpValueName,
LPCWSTR lpValueName,
LPDWORD lpReserved,
LPDWORD lpType,
LPBYTE lpData,
@ -2322,7 +2322,7 @@ RegReplaceKeyW (
LONG
STDCALL
RegConnectRegistryW (
LPWSTR lpMachineName,
LPCWSTR lpMachineName,
HKEY hKey,
PHKEY phkResult
);