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.

32 lines
702 B

  1. /***
  2. *wgetpath.c - extract a pathname from an environment variable (wchar_t version)
  3. *
  4. * Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Extract pathnames from a string of semicolon delimited pathnames
  8. * (generally the value of an environment variable such as PATH).
  9. *
  10. *Revision History:
  11. * 12-07-93 CFW Module created.
  12. * 02-07-94 CFW POSIXify.
  13. *
  14. *******************************************************************************/
  15. #ifndef _POSIX_
  16. #define WPRFLAG 1
  17. #ifndef _UNICODE /* CRT flag */
  18. #define _UNICODE 1
  19. #endif
  20. #ifndef UNICODE /* NT flag */
  21. #define UNICODE 1
  22. #endif
  23. #undef _MBCS /* UNICODE not _MBCS */
  24. #include "getpath.c"
  25. #endif /* _POSIX_ */