main.c 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. * Copyright 2016 Austin English
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  17. */
  18. #include <stdarg.h>
  19. #include <windef.h>
  20. #include <winbase.h>
  21. #include <winuser.h>
  22. #include <commctrl.h>
  23. #include <shlwapi.h>
  24. #include <shellapi.h>
  25. #include "wine/debug.h"
  26. #include "resource.h"
  27. WINE_DEFAULT_DEBUG_CHANNEL(msinfo);
  28. int __cdecl wmain(int argc, WCHAR *argv[])
  29. {
  30. int i;
  31. WCHAR system_info[64];
  32. InitCommonControls();
  33. WINE_FIXME("stub:");
  34. for (i = 0; i < argc; i++)
  35. WINE_FIXME(" %s", wine_dbgstr_w(argv[i]));
  36. WINE_FIXME("\n");
  37. LoadStringW(GetModuleHandleW(NULL), STRING_SYSTEM_INFO, system_info, ARRAY_SIZE(system_info));
  38. ShellAboutW(NULL, system_info, NULL, NULL);
  39. return 0;
  40. }