home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / os_dmi.h < prev    next >
Text File  |  1999-03-15  |  2KB  |  41 lines

  1. /*    Filename: OS_DMI.H                                                       */
  2.  
  3. /*    Copyright (c) 1993 - 1994, International Business Machines, Corporation. */
  4. /*    All rights reserved.                                                     */
  5.  
  6. /*    Description: Include file for using the OS/2 DMTF Service Layer          */
  7.  
  8.  
  9. #ifndef OS_DMI_H_FILE
  10. #define OS_DMI_H_FILE
  11.  
  12. /**************************************  INCLUDES   ********************************************** */
  13.  
  14. #include "os2def.h"
  15. #define _FAR
  16. #define OS_SL_VERSION "IBM OS/2 Warp SL Ver. 1.10"    /* Version 1.00 was internal build 0.21 */
  17.                                                       /* Version 1.10 was internal build 0.24 */
  18. #define SL_ENVIRONMENT_ID MIF_OS2_ENVIRONMENT         /* ID of this service layer environment */
  19. #define PR_TARGET_OS "OS2"                            /* target OS used in the parser functions */
  20. #define DMI_FUNC_ENTRY _System                        /* define the system calling conventions */
  21. #define DMI_FUNC_CALLBACK _System
  22.  
  23. typedef unsigned short boolean;
  24.  
  25. #ifndef WPOS_SL
  26. #define _M_I86       /*** NOTE this is only used on machines that use the i86 byte ordering ****/
  27. #endif
  28.  
  29. #pragma pack(2)      /* this will keep the old DOS code happy                 */
  30. #include "dmi.h"     /* the Management Interface primitives                  */
  31. #include "error.h"   /* include the service layer error file                  */
  32. #pragma pack()       /* return to default allignment                          */
  33.  
  34. /**************************************  PROTOTYPES ********************************************** */
  35.  
  36.  
  37. /* Entry points that are unique to the OS/2 Service Layer implementation     */
  38. DMI_UNSIGNED DMI_FUNC_ENTRY sDmiInvoke(void _FAR *dmiCommand);   /* syncronout invoke entry point */
  39.  
  40. #endif
  41.