To end the current help instance, the application calls WinDestroyHelpInstance, passing the handle of the help instance that is to be ended.

The parameter hwndHelpInstance is the handle to the IPF instance returned from the WinCreateHelpInstance call.

The following shows how a help instance is terminated.

VOID DestroyHelpInstance (VOID)
{
   if (hwndHelpInstance)
   {
     WinDestroyHelpInstance (hwndHelpInstance);
   }
}


[Back] [Next]