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.
 
 
 
 
 
 

24 lines
868 B

//--------------------------------------------------------------------------
// HelpUtils.cpp: implementation of the HelpUtils class.
//
// (c) Copyright 1999, Mission Critical Software, Inc. All Rights Reserved.
//
// Proprietary and confidential to Mission Critical Software, Inc.
//--------------------------------------------------------------------------
#include "stdafx.h"
#include <McString.h>
#include <GuiUtils.h>
#include "HelpUtils.h"
#include <HtmlHelp.h>
//--------------------------------------------------------------------------
//
//--------------------------------------------------------------------------
HRESULT
HelpUtils::ShowHelpTopic(HWND hWnd, UINT nHelpTopicID)
{
McString::String mcstrHelpPathName = GuiUtils::GetHelpPathName();
::HtmlHelp(hWnd, mcstrHelpPathName.getWide(), HH_HELP_CONTEXT, nHelpTopicID);
return S_OK;
}