---
name: "RtlQueryRegistryValues"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/RtlQueryRegistryValues"
---

# RtlQueryRegistryValues(3w)

## NAME

**RtlQueryRegistryValues** (NTDLL.@)

## SYNOPSIS

NTSTATUS RtlQueryRegistryValues\
  (\
   IN ULONG                     *RelativeTo*,\
   IN PCWSTR                    *Path*,\
   IN PRTL\_QUERY\_REGISTRY\_TABLE *QueryTable*,\
   IN PVOID                     *Context*,\
   IN PVOID Environment         *OPTIONAL*\
  )

## DESCRIPTION

Query multiple registry values with a signle call.

## PARAMS

*RelativeTo* **\[In\]**  Registry path that *Path* refers to.

*Path* **\[In\]**  *Path* to key.

*QueryTable* **\[In\]**  Table of key values to query.

*Context* **\[In\]**  Parameter to pass to the application defined QueryRoutine function.

Environment **\[In\]**  Optional parameter to use when performing expansion.

## RETURNS

**STATUS\_SUCCESS** or an appropriate **NTSTATUS** error code.

## IMPLEMENTATION

Declared in **"winternl.h"**.

Implemented in **"dlls/ntdll/reg.c"**.

Debug channel **"reg"**.
