home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / 3COMM.ZIP / H.ZIP / PROFILE.H < prev    next >
C/C++ Source or Header  |  1989-05-17  |  2KB  |  75 lines

  1. /********************************************************************/
  2. /**                   Microsoft OS/2 LAN Manager                   **/
  3. /**            Copyright(c) Microsoft Corp., 1987, 1988            **/
  4. /********************************************************************/
  5.  
  6. /********************************************************************
  7.  *                                    *
  8.  *  About this file ...  PROFILE.H                    *
  9.  *                                    *
  10.  *  This file contains information about the NetProfile APIs.        *
  11.  *                                    *
  12.  *    Function prototypes.                        *
  13.  *                                    *
  14.  *    Data structure templates.                    *
  15.  *                                    *
  16.  *    Definition of special values.                    *
  17.  *                                    *
  18.  *                                    *
  19.  *  NOTE:  You must include NETCONS.H before this file, since this  *
  20.  *       file    depends on values defined in NETCONS.H.            *
  21.  *                                    *
  22.  ********************************************************************/
  23.  
  24.  
  25. /**************************************************************** 
  26.  *                                *
  27.  *          Function prototypes                 *
  28.  *                                *
  29.  ****************************************************************/
  30.  
  31.  
  32. extern API_FUNCTION
  33.   NetProfileSave(const char far *, const char far *, unsigned long, 
  34.             unsigned short);
  35.  
  36. extern API_FUNCTION
  37.   NetProfileLoad(const char far *, const char far *, unsigned long, 
  38.             char far *, unsigned short, unsigned long);
  39.  
  40.  
  41.  
  42. /**************************************************************** 
  43.  *                                *
  44.  *          Data structure templates            *
  45.  *                                *
  46.  ****************************************************************/
  47.  
  48.  
  49.  
  50. struct profile_load_info {
  51.     short       pli_code;
  52.     unsigned long pli_resume_offset;
  53.     char far *      pli_text;
  54.     unsigned long pli_retry_offset;
  55. };    /* profile_load_info */
  56.  
  57.  
  58. /**************************************************************** 
  59.  *                                *
  60.  *          Special values and constants            *
  61.  *                                *
  62.  ****************************************************************/
  63.  
  64. /*
  65.  *    Values for the save_options parameter to NetProfileSave.
  66.  */
  67.  
  68. #define PROFILE_SAVE_USES    ((unsigned long) 0x1)
  69. #define PROFILE_SAVE_SHARES    ((unsigned long) 0x2)
  70. #define PROFILE_SAVE_PRQINFO    ((unsigned long) 0x4)
  71. #define PROFILE_SAVE_COMQINFO    ((unsigned long) 0x8)
  72.  
  73. #define PROFILE_SAVE_ALL    ((unsigned long) 0xf)
  74.  
  75.