Function EN Version 4.60

@NTRegistryScanValues

Misc System

Syntax

@NTRegistryScanValues(TEXTKEYPATH1);

Description

Retrieves the TEXT TEXTKEYPATH1 values located under the key path and returns their names as HUGETEXTLIST returned.

Return value:
On success HUGETEXTLIST, otherwise @ERROR.

Example: @NTRegistryScanValues(TEXTKEYPATH1);

TEXTKEYPATH1:="HKEY_LOCAL_MACHINE\\SOFTWARE\\MyKey\\MyFirstSubKey";
Ret:=@NTRegistryScanValues(TEXTKEYPATH1);

IF(@IsError(Ret))
{
   @LogReport(Ret);
}
ELSE
{
   n1:=1;
   n1e:=@Elements(Ret);
   WHILE(n1<=n1e)
   {
      @LogReport(@GetListElement(Ret;n1));
      @Increment(n1);
   }
   @LogReport("Number of found SubKeys:"+@Text(n1e));
}

Retrieves die value names under the key path "HKEY_LOCAL_MACHINE\\SOFTWARE\\MyKey\\MyFirstSubKey" and returns them as HUGETEXTLIST in the variable Ret returned.

Note : This text was machine-translated and may contain inaccuracies.