home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / info / ntkb / ntkb.exe / Q101 / 2 / 30.TXT < prev    next >
Encoding:
Text File  |  1993-09-28  |  3.3 KB  |  97 lines

  1. DOCUMENT:Q101230  27-SEP-1993  [W_NT]
  2. TITLE   :Definition of Registry Valu Data Types
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. --------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. --------------------------------------------------------------------
  14.  
  15. WARNING: Using Registry Editor incorrectly can cause
  16.      serious, system-wide problems that may require you to
  17.      reinstall Windows NT to correct them. Microsoft cannot
  18.      guarantee that any problems resulting from the use of
  19.      Registry Editor can be solved. Use this tool at your own
  20.      risk.
  21.  
  22. This article describes the different data types for key values in the
  23. Windows NT Registry:
  24.  
  25.  - REG_BINARY
  26.  - REG_DWORD
  27.  - REG_EXPAND_SZ
  28.  - REG_MULTI_SZ
  29.  - REG_SZ
  30.  
  31. REG_BINARY
  32. ----------
  33.  
  34. This is the raw binary data. Most hardware component information is
  35. stored as binary data, and can be displayed in Registry Editor in
  36. hexadecimal format, or displayed in WinMSD in an easy-to-read format.
  37. For example:
  38.  
  39.    Component Information : REG_BINARY : 00 00 00...
  40.  
  41. REG_DWORD
  42. ---------
  43.  
  44. This is data represented by a number that is four bytes long. Many
  45. parameters for device driver and services are this type, and can be
  46. displayed in Registry Editor in binary, hexadecimal, or decimal
  47. format. For example, entries for service error controls are this type:
  48.  
  49.    ErrorControl : REG_DWORD : 0x1
  50.  
  51. REG_EXPAND_SZ
  52. -------------
  53.  
  54. An expandable data string that is text containing a variable to be
  55. replaced when called by an application. For example, for the following
  56. value, the string "%SystemRoot%" will replaced by the actual location
  57. of the directory containing the Windows NT system files:
  58.  
  59.    File : REG_EXPAND_SZ : %SystemRoot%\file.exe
  60.  
  61. REG_MULTI_SZ
  62. ------------
  63.  
  64. This is a multiple string. Values that contain lists or multiple
  65. values in human readable text are usually this type. Entries are
  66. separated by NULL characters. For example, the following value entry
  67. specifies the binding rules for a network transport:
  68.  
  69.    bindable : REG_MULTI_SZ : dlcDriver dlcDriver non non 50
  70.  
  71. REG_SZ
  72. ------
  73.  
  74. This is a sequence of characters representing human readable text. For
  75. example, a componentÆs description is usually this type:
  76.  
  77.    DisplayName : REG_SZ : Messenger
  78.  
  79. Additional reference words: 3.10 winnt
  80. KBCategory:
  81. KBSubCategory: WINNT 
  82.  
  83. =============================================================================
  84.  
  85. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  86. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  87. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  88. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  89. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  90. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  91. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  92. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  93. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  94. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  95. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  96.  
  97. Copyright Microsoft Corporation 1993.