mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
- Remove dead code
svn path=/trunk/; revision=35462
This commit is contained in:
parent
f2573fe760
commit
b736cabdae
1 changed files with 0 additions and 24 deletions
|
@ -557,30 +557,6 @@ RtlpGetAtomEntry(PRTL_ATOM_TABLE AtomTable, ULONG Index)
|
||||||
return Entry;
|
return Entry;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* FIXME - RtlpCreateUnicodeString is obsolete and should be removed ASAP! */
|
|
||||||
BOOLEAN FASTCALL
|
|
||||||
RtlpCreateUnicodeString(
|
|
||||||
IN OUT PUNICODE_STRING UniDest,
|
|
||||||
IN PCWSTR Source,
|
|
||||||
IN POOL_TYPE PoolType)
|
|
||||||
{
|
|
||||||
ULONG Length;
|
|
||||||
|
|
||||||
Length = (wcslen (Source) + 1) * sizeof(WCHAR);
|
|
||||||
UniDest->Buffer = ExAllocatePoolWithTag(PoolType, Length, TAG('U', 'S', 'T', 'R'));
|
|
||||||
if (UniDest->Buffer == NULL)
|
|
||||||
return FALSE;
|
|
||||||
|
|
||||||
RtlCopyMemory (UniDest->Buffer,
|
|
||||||
Source,
|
|
||||||
Length);
|
|
||||||
|
|
||||||
UniDest->MaximumLength = (USHORT)Length;
|
|
||||||
UniDest->Length = (USHORT)Length - sizeof (WCHAR);
|
|
||||||
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ldr Resource support code
|
* Ldr Resource support code
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue