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.

24 lines
639 B

  1. //
  2. // MODULE: CHMREAD.H
  3. //
  4. // PROJECT: Generic Troubleshooter DLL for Microsoft AnswerPoint
  5. //
  6. // COMPANY: Saltmine Creative, Inc. (206)-284-7511 [email protected]
  7. //
  8. // AUTHOR: Oleg Kalosha
  9. //
  10. // ORIGINAL DATE: 7/1/98
  11. //
  12. #ifndef __CHMREAD_H_
  13. #define __CHMREAD_H_
  14. HRESULT ReadChmFile(LPCTSTR szFileName, LPCTSTR szStreamName, void** ppBuffer, DWORD* pdwRead);
  15. bool GetNetworkRelatedResourceDirFromReg(CString network, CString* path);
  16. bool IsNetworkRelatedResourceDirCHM(CString path);
  17. CString ExtractResourceDir(CString path);
  18. CString ExtractFileName(CString path);
  19. CString ExtractCHM(CString path);
  20. #endif