GoFiler Legato Script Reference
Legato v 1.5d Application v 5.25a
|
Table of Contents | < < Previous | Next >> |
Chapter Sixteen — Application (continued)
Overview
The RegistryGetType function returns the data type associated with a specified value.
Syntax/Parameters
Syntax
int = RegistryGetType ( string key, string name );
Parameters
key
A string containing the name of the key to access.
name
A string containing the name of value to access. If the value is an empty string, the default value for the key is returned.
Return Value
An int containing the data type or a formatted error code on failure.
Typical underlying errors codes are ERROR_PATH_NOT_FOUND (3) when the key is not found and ERROR_FILE_NOT_FOUND (2) and the value name is not found.
Remarks
The data type codes are as follows (same as Windows SDK):
Definition (WinSDK) | Value | Description | |||
REG_NONE | 0 | No value type (error) | |||
REG_SZ | 1 | Unicode /0 Terminated String | |||
REG_EXPAND_SZ | 2 | Unicode /0 Environment Variables | |||
REG_BINARY | 3 | Free Form Binary Data | |||
REG_DWORD | 4 | 32-bit Number (not sign specific) | |||
REG_DWORD_LITTLE_ENDIAN | 4 | Same as REG_DWORD (defined by WinSDK) | |||
REG_DWORD_BIG_ENDIAN | 5 | 32-bit Number Swapped Order | |||
REG_LINK | 6 | Symbolic Link (unicode) | |||
REG_MULTI_SZ | 7 | Multiple Unicode Strings | |||
REG_RESOURCE_LIST | 8 | Resource List in the Resource Map | |||
REG_FULL_RESOURCE_DESCRIPTOR | 9 | Resource List in the Hardware Desc | |||
REG_RESOURCE_REQUIREMENTS_LIST | 10 | Resource Requirements List | |||
REG_QWORD | 11 | 64-bit Number (not sign specific) | |||
REG_QWORD_LITTLE_ENDIAN | 11 | 64-bit Number (same as REG_QWORD) |
Related Functions
Platform Support
Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL
Legato IDE, Legato Basic
Table of Contents | < < Previous | Next >> |
© 2012-2024 Novaworks, LLC. All rights reserved worldwide. Unauthorized use, duplication or transmission prohibited by law. Portions of the software are protected by US Patents 10,095,672, 10,706,221 and 11,210,456. GoFiler™ and Legato™ are trademarks of Novaworks, LLC. EDGAR® is a federally registered trademark of the U.S. Securities and Exchange Commission. Novaworks is not affiliated with or approved by the U.S. Securities and Exchange Commission. All other trademarks are property of their respective owners. Use of the features specified in this language are subject to terms, conditions and limitations of the Software License Agreement.