windows-nt/Source/XPSP1/NT/enduser/troubleshoot/control/chmread.h
2020-09-26 16:20:57 +08:00

25 lines
615 B
C

//
// MODULE: CHMREAD.H
//
// PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
//
// COMPANY: Saltmine Creative, Inc. (206)-284-7511 support@saltmine.com
//
// AUTHOR: Oleg Kalosha
//
// ORIGINAL DATE: 7/1/98
//
#ifndef __CHMREAD_H_
#define __CHMREAD_H_
HRESULT ReadChmFile(LPCTSTR szFileName, LPCTSTR szStreamName, void** ppBuffer, DWORD* pdwRead);
bool GetNetworkRelatedResourceDirFromReg(CString network, CString* path);
bool IsNetworkRelatedResourceDirCHM(CString path);
CString ExtractResourceDir(CString path);
CString ExtractFileName(CString path);
CString ExtractCHM(CString path);
#endif