mirror of
https://github.com/reactos/reactos.git
synced 2025-07-12 23:44:14 +00:00
- Implement PFX_NTC_CASE_MATCH deletions in RtlRemoveUnicodePrefix
svn path=/trunk/; revision=19034
This commit is contained in:
parent
ac26f7ca11
commit
d42436c44a
1 changed files with 22 additions and 1 deletions
|
@ -175,7 +175,28 @@ NTAPI
|
||||||
RtlRemoveUnicodePrefix(PUNICODE_PREFIX_TABLE PrefixTable,
|
RtlRemoveUnicodePrefix(PUNICODE_PREFIX_TABLE PrefixTable,
|
||||||
PUNICODE_PREFIX_TABLE_ENTRY PrefixTableEntry)
|
PUNICODE_PREFIX_TABLE_ENTRY PrefixTableEntry)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
PUNICODE_PREFIX_TABLE_ENTRY Entry;
|
||||||
|
|
||||||
|
/* Erase the last entry */
|
||||||
|
PrefixTable->LastNextEntry = NULL;
|
||||||
|
|
||||||
|
/* Check if this was a Case Match Entry */
|
||||||
|
if (PrefixTableEntry->NodeTypeCode == PFX_NTC_CASE_MATCH)
|
||||||
|
{
|
||||||
|
/* Get the case match entry */
|
||||||
|
Entry = PrefixTableEntry->CaseMatch;
|
||||||
|
|
||||||
|
/* Now loop until we find the one matching what the caller sent */
|
||||||
|
while (Entry->CaseMatch != PrefixTableEntry) Entry = Entry->CaseMatch;
|
||||||
|
|
||||||
|
/* We found the entry that was sent, link them to delete this entry */
|
||||||
|
Entry->CaseMatch = PrefixTableEntry->CaseMatch;
|
||||||
|
}
|
||||||
|
else if ((PrefixTableEntry->NodeTypeCode == PFX_NTC_ROOT) ||
|
||||||
|
(PrefixTableEntry->NodeTypeCode == PFX_NTC_CHILD))
|
||||||
|
{
|
||||||
|
/* FIXME */
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue