Leaked source code of windows server 2003
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.

34 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 2001.
  5. //
  6. // File: W I N I P C F G . C P P
  7. //
  8. // Contents: The simple APP that points the new location of
  9. // winipcfg functionality -- the "Support" tab of the connection
  10. // status dialog
  11. //
  12. // Notes:
  13. //
  14. // Author: Ning Sun Feb 2001
  15. //
  16. //----------------------------------------------------------------------------
  17. #include <windows.h>
  18. #include "resource.h"
  19. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. //extern "C" int WINAPI _tWinMain(HINSTANCE hInstance,
  22. int WINAPI WinMain(HINSTANCE hInstance,
  23. HINSTANCE /*hPrevInstance*/, LPSTR lpCmdLine, int /*nShowCmd*/)
  24. {
  25. TCHAR szMsg[1024] = {0};
  26. TCHAR szCap[256] = {0};
  27. LoadString(hInstance, IDS_WINIPCFG_MESSAGE, szMsg, sizeof(szMsg)/sizeof(szMsg[0]));
  28. LoadString(hInstance, IDS_WINIPCFG_CAPTION, szCap, sizeof(szCap)/sizeof(szCap[0]));
  29. MessageBox(NULL, szMsg, szCap, MB_OK);
  30. return 0;
  31. }