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.

48 lines
2.1 KiB

  1. /**********************************************/
  2. /* user interface library function prototypes */
  3. /**********************************************/
  4. /*
  5. ** Dialog Box Context Block structure
  6. */
  7. typedef struct _dbcb
  8. {
  9. SZ szDlgName; /* name of dlg, not name of template */
  10. HDLG hDlg; /* handle to dialog */
  11. WNDPROC lpprocDlg; /* dialog proc 1632 */
  12. PFNEVENT lpprocEventHandler; /* event handler for this dialog */
  13. HDLG hDlgFocus; /* handle of control with focus */
  14. SZ szHelp; /* name of help dialog template */
  15. HDLG hDlgHelp; /* handle of help dlg for this dlg */
  16. WNDPROC lpprocHelp; /* help dialog proc 1632 */
  17. struct _dbcb * pdbcbNext; /* pointer to next item in list */
  18. BOOL fActive; /* is dialog active? */
  19. } DBCB;
  20. typedef DBCB * PDBCB;
  21. /* Dialog Handling routines */
  22. extern HDLG APIENTRY HdlgCreateDialog(HANDLE, SZ, HWND, WNDPROC, DWORD); //1632
  23. extern BOOL APIENTRY FFillInDialogTextFromInf(HDLG, HANDLE);
  24. extern BOOL APIENTRY FShowDialog(HDLG, BOOL);
  25. extern BOOL APIENTRY FHideDialog(HDLG);
  26. extern BOOL APIENTRY FActivateDialog(HDLG);
  27. extern BOOL APIENTRY FInactivateDialog(HDLG);
  28. extern BOOL APIENTRY FCloseDialog(HDLG);
  29. extern HDLG APIENTRY HdlgCreateFillAndShowDialog(HANDLE, SZ, HWND, WNDPROC, // 1632
  30. DWORD);
  31. extern BOOL APIENTRY FEnableDialog(HDLG);
  32. extern BOOL APIENTRY FDisableDialog(HDLG);
  33. extern BOOL APIENTRY TextSubst(HWND, DWORD);
  34. extern BOOL FCenterDialogOnDesktop(HWND);
  35. /* Dialog Stack routines */
  36. extern PDBCB APIENTRY PdbcbAlloc(VOID);
  37. extern BOOL APIENTRY FFreeDbcb(PDBCB);
  38. //extern BOOL APIENTRY FInactivateHelp(VOID);
  39. //extern BOOL APIENTRY FInactivateStackTop(VOID);
  40. //extern BOOL APIENTRY FActivateHelp(VOID);
  41. //extern BOOL APIENTRY FActivateStackTop(VOID);
  42. //extern BOOL APIENTRY FActiveStackTop(VOID);
  43. //extern BOOL APIENTRY FToggleDlgActivation(VOID);