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

  1. Start Component
  2.     Name = "DMI Service Layers - Direct Interface (DI) version"
  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. //   Enumerations for this group
  7. //
  8.            Start Enum
  9.              Name = "Verify_Type"
  10.              Type = Integer
  11.              0x00 = "An error occurred; check status code"
  12.              0x01 = "This component does not exist"
  13.              0x02 = "The verify is not supported"
  14.              0x03 = "Reserved"
  15.              0x04 = "This component exists, but the functionality is untested"
  16.              0x05 = "This component exists, but the functionality is unknown"
  17.              0x06 = "This component exists, and is not functioning correctly"
  18.              0x07 = "This component exists, and is functioning correctly"
  19.            End Enum
  20.  
  21.  
  22.     start group
  23.         name    = "ComponentID"
  24.         id      = 1
  25.         class   = "DMTF|ComponentID|1.0"
  26.         description = "This group defines attributes common to all components."
  27.                       "This group is required."
  28.  
  29.         start attribute
  30.             name    = "Manufacturer"
  31.             id      = 1
  32.             description = "The name of the manufacturer that produces this component."
  33.             access  = READ-ONLY
  34.             storage = COMMON
  35.             type    = STRING(64)
  36.             value   = "IBM Corp."
  37.         end attribute
  38.  
  39.         start attribute
  40.             name    = "Product"
  41.             id      = 2
  42.             description = "The name of the component."
  43.             access  = READ-ONLY
  44.             storage = COMMON
  45.             type    = STRING(64)
  46.             value   = "DMI Demonstration"
  47.         end attribute
  48.  
  49.         start attribute
  50.             name    = "Version"
  51.             id      = 3
  52.             description = "The version for the component."
  53.             access  = READ-ONLY
  54.             storage = COMMON
  55.             type    = STRING(64)
  56.             value   = "Version 1.0"
  57.         end attribute
  58.  
  59.         start attribute
  60.             name    = "Serial Number"
  61.             id      = 4
  62.             description = "The serial number for this instance of this component."
  63.             access  = READ-ONLY
  64.             storage = SPECIFIC
  65.             type    = STRING(64)
  66.             value   = "1.00000"
  67.         end attribute
  68.  
  69.         start attribute
  70.             name    = "Installation"
  71.             id      = 5
  72.             description = "The time and date of the last install of this component."
  73.             access  = READ-ONLY
  74.             storage = SPECIFIC
  75.             type    = DATE
  76.             value   = ""
  77.         end attribute
  78.  
  79.         Start Attribute
  80.             Name = "Verify"
  81.             Id = 6
  82.             Access = Read-Only
  83.             Storage = Specific
  84.             Type = "Verify_Type"
  85.             Description = "A code that provides a level of verification "
  86.                           "that the component is still installed and working."
  87.             Value = 0x07
  88.         End Attribute
  89.  
  90.      end group
  91.  
  92.     Start Group
  93.         Name = "Names"
  94.         ID   = 2
  95.         Class = "IBM|SLNames|1.0"
  96.         Description = "DMI Service Layer names. Direct Interface Version"
  97.         Key=1
  98.  
  99.         Start Attribute
  100.             Name   = "Index"
  101.             ID     = 1
  102.             Description = "Index into names table."
  103.             Access = READ-ONLY
  104.             Type   = INTEGER
  105.             Value  = 1
  106.         End Attribute
  107.  
  108.         Start Attribute
  109.             Name   = "Operating System / Env."
  110.             ID     = 2
  111.             Description = "Name of the operating system."
  112.             Access = READ-WRITE
  113.             Type   = DISPLAYSTRING(32)
  114.             Value  = "Name of OS"
  115.         End Attribute
  116.  
  117.         Start Attribute
  118.             Name   = "Company"
  119.             ID     = 3
  120.             Description = "Corporation that wrote this service layer."
  121.             Access = READ-WRITE
  122.             Type   = DISPLAYSTRING(32)
  123.             Value  = "Company"
  124.        End Attribute
  125.  
  126.         Start Attribute
  127.             Name   = "Name"
  128.             ID     = 4
  129.             Description = "The name of the service layer."
  130.             Access = READ-WRITE
  131.             Type   = DISPLAYSTRING(32)
  132.             Value  = "SL Name"
  133.        End Attribute
  134.     End Group
  135.  
  136. End Component
  137.