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.

62 lines
2.1 KiB

  1. /*** extint.h - include for for internal extensions
  2. *
  3. * Copyright <C> 1988, Microsoft Corporation
  4. *
  5. * Contains definitions required by extensions which are internal to Microsoft
  6. *
  7. * Revision History:
  8. * 26-Nov-1991 mz Strip off near/far
  9. *
  10. *************************************************************************/
  11. #if defined(CW)
  12. #if !defined(EDITOR)
  13. #define CC 1 /* use a real C compiler */
  14. #define cwExtraWnd 5 /* number of extra bytes in PWND*/
  15. #define DLG_CONST /* are dialogs type const? */
  16. #define HELP_BUTTON
  17. #include <cwindows.h> /* CW definitions */
  18. #include <csdm.h> /* SDM definitions */
  19. #include <csdmtmpl.h> /* SDM dialog template stuff */
  20. #define EXTINT 1 /* extint included. */
  21. #include "ext.h" /* real ext.h */
  22. #include "menu.h" /* menu id's & other defs */
  23. #endif
  24. /************************************************************************
  25. *
  26. * types and globals needed for handling menu command and dialog boxes.
  27. * DLGDATA holds all the info needed to handle a dialog boxed menu
  28. * command.
  29. *
  30. *************************************************************************/
  31. typedef struct DlgData {
  32. DLG * pDialog; /* Dialog Template */
  33. int cbDialog; /* size of that template */
  34. WORD cabi; /* CAB index */
  35. flagType (*pfnCab)(HCAB, flagType, TMC); /* massager*/
  36. } DLGDATA;
  37. #endif
  38. /************************************************************************
  39. *
  40. * Additional exports.
  41. *
  42. *************************************************************************/
  43. #ifndef EDITOR
  44. TMC PerformDialog (DLGDATA *);
  45. void DlgHelp (int);
  46. void DoEnableTmc (TMC, BOOL);
  47. flagType DoSetDialogCaption (char *);
  48. void DoSzToCab (unsigned, char *, WORD);
  49. char * DoSzFromCab (unsigned, char *, WORD, WORD);
  50. void DoGetTmcText (TMC, char *, WORD);
  51. WORD DoGetTmcVal (TMC);
  52. void DoSetTmcListWidth (TMC, WORD);
  53. void DoSetTmcText (TMC, char *);
  54. void DoSetTmcVal (TMC, WORD);
  55. void DoRedisplayListBox (TMC);
  56. void DoTmcListBoxAddString (TMC, char *, BOOL);
  57. #endif