mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Created typedefs for VALENTA and VALENTW, deprecated common VALENT type.
svn path=/trunk/; revision=3689
This commit is contained in:
parent
cb8ac201ad
commit
781e188154
3 changed files with 28 additions and 6 deletions
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue