|
|
1.1 ! root 1: ! 2: /******************************************************************************\ ! 3: * This is a part of the Microsoft Source Code Samples. ! 4: * Copyright (C) 1993 Microsoft Corporation. ! 5: * All rights reserved. ! 6: * This source code is only intended as a supplement to ! 7: * Microsoft Development Tools and/or WinHelp documentation. ! 8: * See these sources for detailed information regarding the ! 9: * Microsoft samples programs. ! 10: \******************************************************************************/ ! 11: ! 12: /* ! 13: * COMPLIST.H ! 14: */ ! 15: ! 16: /* The file view.h includes the term COMPLIST: we need to use the term VIEW. ! 17: * Due to MIPS limitations,the module which declares it first does ! 18: * the real declares and the second one gets no-ops. ! 19: */ ! 20: #ifndef INC_VIEW_COMPLIST ! 21: #define INC_VIEW_COMPLIST ! 22: typedef struct view FAR * VIEW; /* handle to a VIEW */ ! 23: typedef struct complist FAR * COMPLIST; /* handle to a complist */ ! 24: #endif // INC_VIEW_COMPLIST ! 25: ! 26: ! 27: COMPLIST complist_filedialog(VIEW view); ! 28: COMPLIST complist_dirdialog(VIEW view); ! 29: COMPLIST complist_args(LPSTR path1, LPSTR path2, VIEW view, BOOL fDeep); ! 30: void complist_delete(COMPLIST cl); ! 31: LIST complist_getitems(COMPLIST cl); ! 32: void complist_savelist(COMPLIST cl, LPSTR savename, UINT saveopts); ! 33: void complist_copyfiles(COMPLIST cl, LPSTR newroot, UINT options); ! 34: DWORD complist_querytime(void); ! 35: BOOL APIENTRY complist_open(LPSTR prompt, LPSTR ext, LPSTR spec, ! 36: OFSTRUCT FAR *osp, LPSTR fn); ! 37: LPSTR complist_getroot_left(COMPLIST cl); ! 38: LPSTR complist_getroot_right(COMPLIST cl); ! 39: void complist_freeroot_left(COMPLIST cl, LPSTR path); ! 40: void complist_freeroot_right(COMPLIST cl, LPSTR path); ! 41: ! 42: /* ! 43: * Copy file options are either COPY_FROMLEFT or COPY_FROMRIGHT ! 44: * (indicating which ! 45: * tree is to be the source of the files, plus any or all of ! 46: * INCLUDE_SAME, INCLUDE_DIFFER and INCLUDE_LEFT (INCLUDE_LEFT ! 47: * and INCLUDE_RIGHT are treated the same here since the COPY_FROM* option ! 48: * indicates which side to copy from). ! 49: */ ! 50: ! 51: #define COPY_FROMLEFT 0x100 /* copy files from left tree */ ! 52: #define COPY_FROMRIGHT 0x200 /* copy files from right tree */ ! 53: ! 54:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.