home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / share.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-20  |  1.8 KB  |  60 lines

  1. #if (defined(__IBMC__) || defined(__IBMCPP__))
  2. #pragma info( none )
  3. #ifndef __CHKHDR__
  4.    #pragma info( none )
  5. #endif
  6. #pragma info( restore )
  7. #endif
  8.  
  9. #ifndef __share_h
  10.    #define __share_h
  11.  
  12.    #ifdef __cplusplus
  13.       extern "C" {
  14.    #endif
  15.  
  16.    #ifndef  _LNK_CONV
  17.      #ifdef _M_I386
  18.        #define  _LNK_CONV   _Optlink
  19.      #else
  20.        #define  _LNK_CONV
  21.      #endif
  22.    #endif
  23.  
  24.    /********************************************************************/
  25.    /*  <share.h> header file                                           */
  26.    /*                                                                  */
  27.    /*  VisualAge for C++ for Windows, Version 3.5                      */
  28.    /*    Licensed Material - Property of IBM                           */
  29.    /*                                                                  */
  30.    /*  5801-ARR and Other Materials                                    */
  31.    /*                                                                  */
  32.    /*  (c) Copyright IBM Corp 1991, 1996. All rights reserved.         */
  33.    /*                                                                  */
  34.    /********************************************************************/
  35.  
  36.    #if (defined( __SPC__ ) || defined(__EXTENDED__))
  37.  
  38.       /*  This file defines the file sharing modes for _sopen().       */
  39.  
  40.       #define SH_DENYRW       0x10    /* deny read/write mode */
  41.       #define SH_DENYWR       0x20    /* deny write mode */
  42.       #define SH_DENYRD       0x30    /* deny read mode */
  43.       #define SH_DENYNO       0x40    /* deny none mode */
  44.  
  45.    #endif
  46.  
  47.    #ifdef __cplusplus
  48.       }
  49.    #endif
  50.  
  51. #endif
  52.  
  53. #if (defined(__IBMC__) || defined(__IBMCPP__))
  54. #pragma info( none )
  55. #ifndef __CHKHDR__
  56.    #pragma info( restore )
  57. #endif
  58. #pragma info( restore )
  59. #endif
  60.