[SDK:CMLIB] Const-ify the unicode strings that are only used as input and not modified.

This commit is contained in:
Hermès Bélusca-Maïto 2022-03-27 00:53:03 +01:00
parent a6da36ed1b
commit d873865971
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
4 changed files with 10 additions and 10 deletions

View file

@ -923,7 +923,7 @@ NTAPI
CmpAddToLeaf(IN PHHIVE Hive,
IN HCELL_INDEX LeafCell,
IN HCELL_INDEX NewKey,
IN PUNICODE_STRING Name)
IN PCUNICODE_STRING Name)
{
PCM_KEY_INDEX Leaf;
PCM_KEY_FAST_INDEX FastLeaf;
@ -1265,7 +1265,7 @@ HCELL_INDEX
NTAPI
CmpSelectLeaf(IN PHHIVE Hive,
IN PCM_KEY_NODE KeyNode,
IN PUNICODE_STRING Name,
IN PCUNICODE_STRING Name,
IN HSTORAGE_TYPE Type,
IN PHCELL_INDEX *RootCell)
{