dll: FspFsctlEnumServices

This commit is contained in:
Bill Zissimopoulos
2022-09-10 16:23:14 +01:00
parent b99fb9a5cb
commit 2fc2c237d3
6 changed files with 157 additions and 7 deletions

View File

@ -93,7 +93,7 @@ static BOOLEAN FspSxsIdentInitializeFromFile(VOID)
if (0 == Size)
goto exit;
FspSxsIdentBuf[0] = L'+';
FspSxsIdentBuf[0] = FSP_SXS_SEPARATOR_CHAR;
memcpy(FspSxsIdentBuf + 1, WBuffer, Size * sizeof(WCHAR));
FspSxsIdentBuf[1 + Size] = L'\0';
@ -155,7 +155,7 @@ static BOOLEAN FspSxsIdentInitializeFromDirectory(VOID)
if (0 == Ident)
goto exit;
FspSxsIdentBuf[0] = L'+';
FspSxsIdentBuf[0] = FSP_SXS_SEPARATOR_CHAR;
EndQ = FspSxsIdentBuf + (ARRAYSIZE(FspSxsIdentBuf) - 1);
for (P = Ident, Q = FspSxsIdentBuf + 1; EndP > P && EndQ > Q && L'\\' != *P; P++, Q++)
*Q = *P;