mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-27 03:43:36 +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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user