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.

22 lines
619 B

  1. #include <windows.h>
  2. #include "ceconfig.h"
  3. BOOL WinHelp(HWND hWndMain, LPCTSTR lpszHelp, UINT uCommand, DWORD dwData)
  4. {
  5. PROCESS_INFORMATION pi;
  6. if (g_CEConfig != CE_CONFIG_WBT)
  7. {
  8. // 1st try to load "html based" help file on non-WBT, if this fails
  9. // load string into dialog box.
  10. if(CreateProcess(TEXT("\\Windows\\PegHelp.exe"),
  11. TEXT("file:TermServClient.htm#Main_Contents"),
  12. 0, 0, FALSE, 0, 0, 0, 0, &pi))
  13. {
  14. return TRUE;
  15. }
  16. }
  17. // BUGBUG -- see other WinHelp comments for details here. (newclient\core\euint.cpp)
  18. return FALSE;
  19. }