Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
506 B

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. parsing.cpp
  5. Abstract:
  6. Parsing functions for sxs.dll
  7. Author:
  8. Michael J. Grier (MGrier) 9-May-2000
  9. Revision History:
  10. --*/
  11. #include "stdinc.h"
  12. #include <windows.h>
  13. #include "sxsp.h"
  14. #include "fusionparser.h"
  15. PCWSTR
  16. SxspFindCharacterInString(
  17. PCWSTR sz,
  18. SIZE_T cch,
  19. WCHAR wch
  20. )
  21. {
  22. while (cch != 0)
  23. {
  24. if (*sz == wch)
  25. return sz;
  26. sz++;
  27. cch--;
  28. }
  29. return NULL;
  30. }