mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
[CMLIB][NTOS]: Use correct parameter type for the 4th parameter of CmpGetValueData().
[CMLIB]: Fix debug.h inclusion. [NTOS]: Use RtlCopyUnicodeString() to initialize the contents of FullName. svn path=/trunk/; revision=75143
This commit is contained in:
parent
38274203e7
commit
a449c39c25
5 changed files with 5 additions and 5 deletions
|
@ -309,7 +309,7 @@ CmpOpenHiveFiles(IN PCUNICODE_STRING BaseName,
|
|||
/* Build the full name */
|
||||
FullName.Buffer = NameBuffer;
|
||||
FullName.MaximumLength = Length;
|
||||
RtlAppendUnicodeStringToString(&FullName, BaseName);
|
||||
RtlCopyUnicodeString(&FullName, BaseName);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -112,7 +112,7 @@ CmpGetSymbolicLink(IN PHHIVE Hive,
|
|||
if (!CmpGetValueData(Hive,
|
||||
LinkValue,
|
||||
&ValueLength,
|
||||
(PVOID)&LinkName,
|
||||
(PVOID*)&LinkName,
|
||||
&LinkNameAllocated,
|
||||
&CellToRelease))
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "cmlib.h"
|
||||
#define NDEBUG
|
||||
#include "debug.h"
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
#include "cmlib.h"
|
||||
#define NDEBUG
|
||||
#include "debug.h"
|
||||
#include <debug.h>
|
||||
|
||||
/* FUNCTIONS *****************************************************************/
|
||||
|
||||
|
|
|
@ -180,7 +180,7 @@ CmpValueToData(IN PHHIVE Hive,
|
|||
if (!CmpGetValueData(Hive,
|
||||
Value,
|
||||
Length,
|
||||
(PVOID)&Buffer,
|
||||
(PVOID*)&Buffer,
|
||||
&BufferAllocated,
|
||||
&CellToRelease))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue