OUT PANSI_STRING FirstPart,
OUT PANSI_STRING RemainingPart)
{
- ULONG FirstPosition, i;
- ULONG SkipFirstSlash = 0;
+ USHORT FirstPosition, i;
+ USHORT SkipFirstSlash = 0;
PAGED_CODE();
/* Zero the strings before continuing */
NTAPI
FsRtlDoesDbcsContainWildCards(IN PANSI_STRING Name)
{
- ULONG i;
+ USHORT i;
PAGED_CODE();
/* Check every character */
{
ANSI_STRING FirstPart, RemainingPart, Name;
BOOLEAN LastDot;
- ULONG i;
+ USHORT i;
PAGED_CODE();
/* Just quit if the string is empty */
IN BOOLEAN LeadingBackslashPermissible)
{
ANSI_STRING FirstPart, RemainingPart, Name;
- ULONG i;
+ USHORT i;
PAGED_CODE();
/* Just quit if the string is empty */
i++;
}
/* Then check for bad characters */
- else if (!!FsRtlIsAnsiCharacterLegalHpfs(FirstPart.Buffer[i], WildCardsPermissible))
+ else if (!FsRtlIsAnsiCharacterLegalHpfs(FirstPart.Buffer[i], WildCardsPermissible))
{
return FALSE;
}
UNICODE_STRING UpcaseName1;
UNICODE_STRING UpcaseName2;
BOOLEAN StringsAreEqual, MemoryAllocated = FALSE;
- ULONG i;
+ USHORT i;
NTSTATUS Status;
PAGED_CODE();
OUT PUNICODE_STRING FirstPart,
OUT PUNICODE_STRING RemainingPart)
{
- ULONG FirstPosition, i;
- ULONG SkipFirstSlash = 0;
+ USHORT FirstPosition, i;
+ USHORT SkipFirstSlash = 0;
PAGED_CODE();
/* Zero the strings before continuing */