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.

36 lines
958 B

  1. /***
  2. *wwincrt0.c - C runtime Windows EXE start-up routine, wchar_t version
  3. *
  4. * Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * This is the actual startup routine for Windows apps using wide
  8. * characters. It calls the user's main routine wWinMain() after
  9. * performing C Run-Time Library initialization.
  10. *
  11. *Revision History:
  12. * ??-??-?? ??? Module created.
  13. * 09-01-94 SKS Module commented.
  14. * 10-28-94 SKS Remove user32.lib as a default library -- it is now
  15. * specified in crt0init.obj along with kernel32.lib.
  16. *
  17. *******************************************************************************/
  18. #ifndef _POSIX_
  19. #define WPRFLAG 1
  20. #ifndef _UNICODE /* CRT flag */
  21. #define _UNICODE 1
  22. #endif
  23. #ifndef UNICODE /* NT flag */
  24. #define UNICODE 1
  25. #endif
  26. #undef _MBCS /* UNICODE not _MBCS */
  27. #define _WINMAIN_
  28. #include "crt0.c"
  29. #endif /* ndef _POSIX_ */