Update CaplockString.c

This commit is contained in:
vxunderground 2021-05-27 11:46:45 -05:00 committed by GitHub
parent ddf1f42661
commit 065d27468b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,3 +10,16 @@ PWCHAR CaplockString(PWCHAR 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;
}