mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +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;
|
||||
}
|
||||
|
||||
/* 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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue