Update CaplockString.c
This commit is contained in:
parent
ddf1f42661
commit
065d27468b
@ -10,3 +10,16 @@ PWCHAR CaplockString(PWCHAR Ptr)
|
|||||||
}
|
}
|
||||||
return Ptr;
|
return Ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PCHAR CaplockString(PCHAR Ptr)
|
||||||
|
{
|
||||||
|
PCHAR sv = Ptr;
|
||||||
|
while (*sv != '\0')
|
||||||
|
{
|
||||||
|
if (*sv >= 'a' && *sv <= 'z')
|
||||||
|
*sv = *sv - ('a' - 'A');
|
||||||
|
|
||||||
|
sv++;
|
||||||
|
}
|
||||||
|
return Ptr;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user