home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / sysmgt / dmi / names / names.mif < prev   
Text File  |  1999-05-11  |  5KB  |  154 lines

  1. Start Component
  2.     Name = "DMI Service Layers"
  3.     Description = "This is a list of the DMI service layers, the copmany that wrote them "
  4.                        "and the OS they run on."
  5.  
  6.     Start Paths
  7.         Name = "NAMES"
  8.         Os2  = "names"
  9.  
  10. // NOTE:  OS/2 does some funny things with DLLs and LIBPATH searchs.
  11. //        To correctly specify the DLL for a component, it should be
  12. //        one of the following formats, ONLY:
  13. //
  14. //      OS2  = "names"              -- where OS/2 will search the libpath statement
  15. //      OS2  = "d:\dmtf\names.dll"  -- where OS/2 will load the file explicitly
  16. //
  17. //        The difference is the omition or inclusion of the .DLL from the file name.
  18. //        If it is done differently, the DLL will not be loaded.
  19.  
  20.     End Paths
  21.  
  22. //
  23. //   Enumerations for this group
  24. //
  25.            Start Enum
  26.              Name = "Verify_Type"
  27.              Type = Integer
  28.              0x00 = "An error occurred; check status code"
  29.              0x01 = "This component does not exist"
  30.              0x02 = "The verify is not supported"
  31.              0x03 = "Reserved"
  32.              0x04 = "This component exists, but the functionality is untested"
  33.              0x05 = "This component exists, but the functionality is unknown"
  34.              0x06 = "This component exists, and is not functioning correctly"
  35.              0x07 = "This component exists, and is functioning correctly"
  36.            End Enum
  37.  
  38.  
  39.     start group
  40.         name    = "ComponentID"
  41.         id      = 1
  42.         class   = "DMTF|ComponentID|1.0"
  43.         description = "This group defines attributes common to all components."
  44.                       "This group is required."
  45.  
  46.         start attribute
  47.             name    = "Manufacturer"
  48.             id      = 1
  49.             description = "The name of the manufacturer that produces this component."
  50.             access  = READ-ONLY
  51.             storage = COMMON
  52.             type    = STRING(64)
  53.             value   = "IBM Corp."
  54.         end attribute
  55.  
  56.         start attribute
  57.             name    = "Product"
  58.             id      = 2
  59.             description = "The name of the component."
  60.             access  = READ-ONLY
  61.             storage = COMMON
  62.             type    = STRING(64)
  63.             value   = "DMI Demonstration"
  64.         end attribute
  65.  
  66.         start attribute
  67.             name    = "Version"
  68.             id      = 3
  69.             description = "The version for the component."
  70.             access  = READ-ONLY
  71.             storage = COMMON
  72.             type    = STRING(64)
  73.             value   = "Version 1.0"
  74.         end attribute
  75.  
  76.         start attribute
  77.             name    = "Serial Number"
  78.             id      = 4
  79.             description = "The serial number for this instance of this component."
  80.             access  = READ-ONLY
  81.             storage = SPECIFIC
  82.             type    = STRING(64)
  83.             value   = "1.00000"
  84.         end attribute
  85.  
  86.         start attribute
  87.             name    = "Installation"
  88.             id      = 5
  89.             description = "The time and date of the last install of this component."
  90.             access  = READ-ONLY
  91.             storage = SPECIFIC
  92.             type    = DATE
  93.             value   = ""
  94.         end attribute
  95.  
  96.         Start Attribute
  97.             Name = "Verify"
  98.             Id = 6
  99.             Access = Read-Only
  100.             Storage = Specific
  101.             Type = "Verify_Type"
  102.             Description = "A code that provides a level of verification "
  103.                           "that the component is still installed and working."
  104.             Value = 0x07
  105.         End Attribute
  106.  
  107.      end group
  108.  
  109.     Start Group
  110.         Name = "Names"
  111.         ID   = 2
  112.         Class = "IBM|SLNames|1.0"
  113.         Description = "DMI Service Layer names."
  114.         Key = 1
  115.  
  116.         Start Attribute
  117.             Name   = "Index"
  118.             ID     = 1
  119.             Description = "Index into names table."
  120.             Access = READ-ONLY
  121.             Type   = INTEGER
  122.             Value  = *"NAMES"
  123.         End Attribute
  124.  
  125.         Start Attribute
  126.             Name   = "Operating System / Env."
  127.             ID     = 2
  128.             Description = "Name of the operating system."
  129.             Access = READ-WRITE
  130.             Type   = DISPLAYSTRING(32)
  131.             Value  = *"NAMES"
  132.         End Attribute
  133.  
  134.         Start Attribute
  135.             Name   = "Company"
  136.             ID     = 3
  137.             Description = "Corporation that wrote this service layer."
  138.             Access = READ-WRITE
  139.             Type   = DISPLAYSTRING(32)
  140.             Value  = *"NAMES"
  141.        End Attribute
  142.  
  143.         Start Attribute
  144.             Name   = "Name"
  145.             ID     = 4
  146.             Description = "The name of the service layer."
  147.             Access = READ-WRITE
  148.             Type   = DISPLAYSTRING(32)
  149.             Value  = *"NAMES"
  150.        End Attribute
  151.     End Group
  152.  
  153. End Component
  154.