This hook processes help requests.
#define INCL_WINHOOKS /* Or use INCL_WIN, INCL_PM, */ #include <os2.h> HAB hab; /* Anchor-block handle. */ ULONG usMode; /* Help mode. */ ULONG idTopic; /* Topic identifier. */ ULONG idSubTopic; /* Subtopic identifier. */ PRECTL prcPosition; /* Rectangle. */ BOOL rc; /* Indicator as to whether next hook in the chain is called. */ rc = HelpHook(hab, usMode, idTopic, idSubTopic, prcPosition);