forked from OS2World/APP-COMM-FleetStreet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
msglist.h
53 lines (46 loc) · 2.03 KB
/
msglist.h
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
/* MSGLIST.H */
/*--------------------------- Funktionsprototypen ---------------------------*/
MRESULT EXPENTRY MsgListProc(HWND parent, ULONG message, MPARAM mp1, MPARAM mp2);
typedef struct _MSGLISTPAR {
USHORT cb;
ULONG msgnum;
ULONG ulMsgID;
} MSGLISTPAR;
typedef struct _MSGLISTOPTIONS {
LONG lBackClr; /* Farben */
LONG lForeClr;
LONG lUnreadClr;
LONG lFromClr;
LONG lToClr;
ULONG ulNrPercent; /* Spaltenbreiten */
ULONG ulFromPercent;
ULONG ulToPercent;
ULONG ulSubjPercent;
char mlistfont[FACESIZE+5]; /* Font */
ULONG ulFlags;
WINPOS ListPos;
ULONG ulStampWrittenPercent;
ULONG ulStampArrivedPercent;
} MSGLISTOPTIONS, *PMSGLISTOPTIONS;
#define MLISTFLAG_FOREGROUND 0x01UL
#define WORK_DELETE 0
#define WORK_EXPORT 1
#define WORK_PRINT 2
#define WORK_COPY 3
#define WORK_MOVE 4
#define WORK_MARK 5
#define WORK_MARKALL 6
typedef struct _WORKDATA {
struct _WORKDATA *next;
PULONG MsgIDArray; /* Message-ID-Array */
ULONG ulArraySize; /* Anzahl der Elemente im Array > 0 */
char pchSrcArea[LEN_AREATAG+1]; /* Quellarea bei copy und move */
char pchDestArea[LEN_AREATAG+1]; /* Zielarea bei copy und move */
char pchDestFile[LEN_PATHNAME+1]; /* Zielfile bei export */
ULONG flWorkToDo; /* was der Thread machen soll */
PPRINTDEST pPrintDest; /* NULL: normal drucken */
ULONG ulExportOptions; /* Optionen bei Export */
ULONG ulCopyMove; /* Optionen f. Copy/Move */
} WORKDATA, *PWORKDATA;
void _Optlink WorkerThread(PVOID pThreadData);
void MarkAllMessages(char *pchAreaTag);