home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / crt / src / wgetenv.c < prev    next >
C/C++ Source or Header  |  1998-06-17  |  586b  |  27 lines

  1. /***
  2. *wgetenv.c - get the value of an environment variable (wchar_t version)
  3. *
  4. *       Copyright (c) 1993-1997, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. *       defines wgetenv() - searches the environment for a string variable
  8. *       and returns the value of it.
  9. *
  10. *******************************************************************************/
  11.  
  12.  
  13. #define WPRFLAG 1
  14.  
  15. #ifndef _UNICODE
  16. #define _UNICODE 1
  17. #endif  /* _UNICODE */
  18.  
  19. #ifndef UNICODE
  20. #define UNICODE 1
  21. #endif  /* UNICODE */
  22.  
  23. #undef _MBCS /* UNICODE not _MBCS */
  24.  
  25. #include "getenv.c"
  26.  
  27.