summaryrefslogtreecommitdiffstats
path: root/private/utils/mep/inc/extint.h
blob: 41b4144b0c75af12b330333d9b56ad80060aa738 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*** extint.h - include for for internal extensions
*
*   Copyright <C> 1988, Microsoft Corporation
*
*   Contains definitions required by extensions which are internal to Microsoft
*
*   Revision History:
*	26-Nov-1991 mz	Strip off near/far
*
*************************************************************************/
#if defined(CW)
#if !defined(EDITOR)
#define CC 1				/* use a real C compiler	*/
#define cwExtraWnd  5			/* number of extra bytes in PWND*/
#define DLG_CONST			/* are dialogs type const?	*/
#define HELP_BUTTON

#include <cwindows.h>			/* CW definitions		*/
#include <csdm.h>			/* SDM definitions		*/
#include <csdmtmpl.h>			/* SDM dialog template stuff	*/

#define EXTINT	1			/* extint included.		*/
#include "ext.h"			/* real ext.h			*/

#include "menu.h"			/* menu id's & other defs       */
#endif

/************************************************************************
*
*  types and globals needed for handling menu command and dialog boxes.
*  DLGDATA holds all the info needed to handle a dialog boxed menu
*  command.
*
*************************************************************************/
typedef struct DlgData {
    DLG * pDialog;	/* Dialog Template			    */
    int     cbDialog;	    /* size of that template			*/
    WORD    cabi;	    /* CAB index				*/
    flagType (*pfnCab)(HCAB, flagType, TMC); /* massager*/
    } DLGDATA;
#endif

/************************************************************************
*
*  Additional exports.
*
*************************************************************************/
#ifndef EDITOR
TMC		    PerformDialog   (DLGDATA *);
void		    DlgHelp	    (int);
void		    DoEnableTmc     (TMC, BOOL);
flagType	    DoSetDialogCaption	(char *);
void		    DoSzToCab	    (unsigned, char *, WORD);
char *		    DoSzFromCab     (unsigned, char *, WORD, WORD);
void		    DoGetTmcText    (TMC, char *, WORD);
WORD		    DoGetTmcVal     (TMC);
void		    DoSetTmcListWidth (TMC, WORD);
void		    DoSetTmcText    (TMC, char *);
void		    DoSetTmcVal     (TMC, WORD);
void		    DoRedisplayListBox (TMC);
void		    DoTmcListBoxAddString (TMC, char *, BOOL);
#endif