BuildAndSendHelpHeader

Opens a consistent header for all help pages.

Syntax

    #include <pexports.h>
    
    UINT BuildAndSendHelpHeader (
      HINTERNET  handle,
      char      *windowTitle,
      UINT       flags,
      void       (*AddHeaderText)(HINTERNET handle),
      char      *BodyTagText);
    

Parameters

handle
(IN) Specifies the HTTP stack handle.
windowTitle
(IN) Points to the title of the page. If this parameter is NULL, a default window title is provided.
flags
(IN) Reserved for future use.
AddHeaderText
(IN) If this is not NULL, points to a function that puts out information in the header portion of the page. This call function is passed the following parameters:
  • handle—(IN) Specifies the HTTP stack handle.
bodyTagText
(IN) Points to additional text that we will put in the BODY tag. This is necessary for some functionality. For example, you may put in <BODY onLoad="SomeJavaScriptFunction()"> which will call the SomeJavaScriptFunction when the page has loaded.

Return Values

If successful, returns 0.