Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Registry.GetValueType

Queries type of a value.

Component Version macOS Windows Linux Server iOS SDK
Registry 7.2 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "Registry.GetValueType"; Path; Name )   More

Parameters

Parameter Description Example
Path The path to the parent registry key.
Separated by \ you specify the path to the key you want.
Root can be Classes, CurrentUser, LocalMachine, Users, PerformanceData, CurrentConfig, DynData or the HKEY names.
"Users\test"
Name The name of the value. "Hello"

Result

Returns value or error.

Description

Queries type of a value.
Value can be none, text, ExpandText, Binary, DWORD, DWORD BigEndian, Link, List, ResourceList, FullResourceDescriptor, ResourceRequirementsList or QWORD.
DWORD is a 32-bit number and QWORD a 64-bit number.

Examples

Queries the value type:

MBS( "Registry.GetValueType"; "CurrentUser\Test"; "Hello")

See also

This function checks for a license.

Created 20th March 2017, last changed 20th March 2017


Registry.GetValue - Registry.ListKeys