mirror of https://github.com/tongzx/nt5src
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
22 lines
619 B
#include <windows.h>
|
|
#include "ceconfig.h"
|
|
|
|
BOOL WinHelp(HWND hWndMain, LPCTSTR lpszHelp, UINT uCommand, DWORD dwData)
|
|
{
|
|
PROCESS_INFORMATION pi;
|
|
|
|
if (g_CEConfig != CE_CONFIG_WBT)
|
|
{
|
|
// 1st try to load "html based" help file on non-WBT, if this fails
|
|
// load string into dialog box.
|
|
if(CreateProcess(TEXT("\\Windows\\PegHelp.exe"),
|
|
TEXT("file:TermServClient.htm#Main_Contents"),
|
|
0, 0, FALSE, 0, 0, 0, 0, &pi))
|
|
{
|
|
return TRUE;
|
|
}
|
|
}
|
|
|
|
// BUGBUG -- see other WinHelp comments for details here. (newclient\core\euint.cpp)
|
|
return FALSE;
|
|
}
|