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.

49 lines
1.6 KiB

  1. /**************************************************************************
  2. *
  3. * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
  4. * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  5. * IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
  6. * PURPOSE.
  7. *
  8. * Copyright (c) 1992 - 1995 Microsoft Corporation. All Rights Reserved.
  9. *
  10. **************************************************************************/
  11. /****************************************************************************
  12. *
  13. * help.h: Help system include file
  14. *
  15. * Vidcap32 Source code
  16. *
  17. ***************************************************************************/
  18. // call DialogBoxParam, but ensuring correct help processing:
  19. // assumes that each Dialog Box ID is a context number in the help file.
  20. // calls MakeProcInstance as necessary. Uses instance data passed to
  21. // HelpInit().
  22. INT_PTR
  23. DoDialog(
  24. HWND hwndParent, // parent window
  25. int DialogID, // dialog resource id
  26. DLGPROC fnDialog, // dialog proc
  27. LPARAM lParam // passed as lparam in WM_INITDIALOG
  28. );
  29. // set the help context id for a dialog displayed other than by DoDialog
  30. // (eg by GetOpenFileName). Returns the old help context that you must
  31. // restore by a further call to this function
  32. int SetCurrentHelpContext(int DialogID);
  33. // help init - initialise the support for the F1 key help
  34. BOOL HelpInit(HINSTANCE hinstance, LPSTR helpfilepath, HWND hwndApp);
  35. // shutdown the help system
  36. void HelpShutdown(void);
  37. // start help at the contents page
  38. void HelpContents(void);
  39.