noarg.c 732 B

12345678910111213141516171819202122232425262728
  1. /***
  2. *noarg.c - stub out CRT's processing of command line arguments
  3. *
  4. * Copyright (c) Microsoft Corporation. All rights reserved.
  5. *
  6. *Purpose:
  7. * Stub out the processing of the command line into argv[], normally
  8. * carried out at during startup. Note, the argc and argv arguments to
  9. * main are not meaningful if this object is used. Nor are __argc and
  10. * __argv.
  11. *
  12. *******************************************************************************/
  13. #include <tchar.h>
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. int __cdecl _setargv() { return 0; }
  18. int __cdecl _wsetargv() { return 0; }
  19. _TUCHAR * __cdecl _wincmdln() { return NULL; }
  20. _TUCHAR * __cdecl _wwincmdln() { return NULL; }
  21. #ifdef __cplusplus
  22. }
  23. #endif