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.

72 lines
2.1 KiB

  1. ///////////////////////////////////////////////////////////
  2. //
  3. //
  4. // private.h --- Private API
  5. //
  6. //
  7. #ifndef __PRIVATE_H__
  8. #define __PRIVATE_H__
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif // __cplusplus
  12. #pragma pack(push, 8) // REVIEW: Why doesn't htmlhelp.h have this?
  13. //////////////////////////////////////////////////////////
  14. //
  15. // Private APIs
  16. //
  17. #define HH_TITLE_PATHNAME 0x00ff
  18. #define HH_HELP_CONTEXT_COLLECTION 0x00fe // Does a HELP Context in the Collection Space
  19. #define HH_PRETRANSLATEMESSAGE2 0x0100 // Fix for millinium pretranslate problem. Bug 7921
  20. // Reloads the navigation panes with data from new CHM.
  21. #define HH_RELOAD_NAV_DATA 0x00fb // (hwndCaller, pszFile>windowtype, NULL)
  22. // Gets a pointer to the WebBrowser control.
  23. #define HH_GET_BROWSER_INTERFACE 0x00fa // (hWndOfBrowserParent, NULL,,IWebBrowser)
  24. // For Microsoft Installer -- dwData is a pointer to the GUID string
  25. #define HH_SET_GUID 0x001A
  26. // For Microsoft Installer -- dwData is a pointer to the GUID string
  27. #define HH_SET_BACKUP_GUID 0x001B
  28. ///////////////////////////////////////////////////////////////////////////////
  29. //
  30. //
  31. //
  32. typedef struct tagHH_TITLE_FULLPATH
  33. {
  34. LCID lcid ; // [in] The LCID of the collection to find.
  35. LPCSTR szTag ; // [in] The tag to be looked up. (CHM name = tag for UI chm's) .
  36. BSTR fullpathname ; // [out] The full pathname to the CHM.
  37. } HH_TITLE_FULLPATH ;
  38. ///////////////////////////////////////////////////////////////////////////////
  39. //
  40. //
  41. //
  42. typedef struct tagHH_COLLECTION_CONTEXT
  43. {
  44. LPCSTR szTag;
  45. LCID lcid; // lcid of the context.
  46. DWORD id ;
  47. } HH_COLLECTION_CONTEXT;
  48. ///////////////////////////////////////////////////////////////////////////////
  49. //
  50. // Nav Data structure for reloading the nav panes.
  51. //
  52. typedef struct tagHH_NAVDATA
  53. {
  54. LPCWSTR pszName ; // Name of the window type. Must be global.
  55. LPCWSTR pszFile ; // Name of the CHM file which contains the new nav data.
  56. } HH_NAVDATA ;
  57. #pragma pack(pop)
  58. #ifdef __cplusplus
  59. }
  60. #endif // __cplusplus
  61. #endif // __PRIVATE_H__