source: trunk/dll/arccnrs.h@ 1220

Last change on this file since 1220 was 1220, checked in by John Small, 17 years ago

Ticket 187: Moved typedef's and some #define's from fm3dll.h

  • Property svn:eolstyle set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1
2/***********************************************************************
3
4 $Id: arccnrs.h 1220 2008-09-13 23:09:45Z jbs $
5
6 arccnrs common definitions
7
8 Copyright (c) 1993-98 M. Kimes
9 Copyright (c) 2001, 2008 Steven H. Levine
10
11 05 Jan 08 SHL Move arccnrs.c definitions here
12
13***********************************************************************/
14
15#if !defined(ARCCNRS_H)
16#define ARCCNRS_H
17
18#if !defined(OS2_INCLUDED)
19#define INCL_WINSTDCNR // avl.h
20#include <os2.h>
21#else
22#if !defined(INCL_WINSTDCNR)
23#error INCL_WINSTDCNR required
24#endif
25#endif
26
27#include "avl.h" // ARC_TYPE
28
29#pragma pack(1)
30
31typedef struct _ARCITEM
32{ // ARCHIVE CONTAINER RECORD STRUCTURE
33 MINIRECORDCORE rc; // Base information
34 HWND hwndCnr; /* Container holding this record */
35 PSZ pszFileName; // Points to full path name or NullStr
36 PSZ pszDisplayName; // Points to displayable part of path name - used by CFA_STRING
37 CHAR szDate[40]; // File's assembled date
38 PSZ pszDate; // Pointer to date
39 CDATE date; // if we know date format
40 CTIME time; // if we know time format
41 ULONGLONG cbFile; // File's original size
42 ULONGLONG cbComp; // File's compressed size
43 ULONG flags;
44}
45ARCITEM, *PARCITEM;
46
47#pragma pack()
48
49MRESULT EXPENTRY ArcClientWndProc(HWND hwnd, ULONG msg, MPARAM mp1,
50 MPARAM mp2);
51HWND StartArcCnr(HWND hwndParent, HWND hwndCaller, CHAR * arcname, INT flags,
52 ARC_TYPE * sinfo);
53MRESULT EXPENTRY ArcTextProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
54MRESULT EXPENTRY ArcFolderProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
55MRESULT EXPENTRY ArcObjWndProc(HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
56
57// Data declarations
58extern HWND ArcCnrMenu;
59extern HWND ArcMenu;
60extern CHAR ArcTempRoot[CCHMAXPATH];
61extern BOOL fArcStuffVisible;
62extern CHAR lastextractpath[CCHMAXPATH];
63extern ULONGLONG ullDATFileSpaceNeeded;
64
65#endif // ARCCNRS_H
Note: See TracBrowser for help on using the repository browser.