home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c500 / 4.ddi / FILEDLL.WEX / FILEDLL.H < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-28  |  1.5 KB  |  44 lines

  1. /*
  2.  *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3.  *%                                       %
  4.  *%    Copyright (C) 1991, by WATCOM Systems Inc. All rights reserved.    %
  5.  *%                                       %
  6.  *%     Permission is granted to anyone to use this example program for       %
  7.  *%     any purpose on any computer system, subject to the following       %
  8.  *%    restrictions:                               %
  9.  *%                                       %
  10.  *%     1. This example is provided on an "as is" basis, without warranty. %
  11.  *%       You indemnify, hold harmless and defend WATCOM from and against %
  12.  *%       any claims or lawsuits, including attorney's, that arise or       %
  13.  *%       result from the use or distribution of this example, or any     %
  14.  *%       modification thereof.                       %
  15.  *%                                       %
  16.  *%     2. You may not remove, alter or suppress this notice from this       %
  17.  *%        example program or any modification thereof.               %
  18.  *%                                       %
  19.  *%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  20.  *
  21.  * FILEDLL.H
  22.  *
  23.  * file/io dialogues
  24.  *
  25.  */
  26. #define FILE_SAVE        0
  27. #define FILE_OPEN        1
  28. #define FILE_SAVE_VERIFY    2
  29.  
  30. typedef struct fileopen {
  31. BYTE    type;        /* kind of open (save/load) */
  32. HWND    hwnd;        /* owner of dialog box */
  33. LPSTR    name;        /* where to store name */
  34. WORD    namelen;    /* length of name */
  35. LPSTR    ext;        /* default extension */
  36. LPSTR    title;        /* title of dialog box */
  37. } FILEOPEN;
  38.  
  39. #ifdef __WINDOWS_386__
  40. typedef struct fileopen *LPFILEOPEN;
  41. #else
  42. typedef struct fileopen __far *LPFILEOPEN;
  43. #endif
  44.