From bba4073010ace7e8757e8e2ceab03c7f5214778f Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 23 Nov 2002 16:21:08 +0000 Subject: [PATCH] +src/libcaptive/cm/rtlfunc.c - +RtlQueryRegistryValues() --- src/libcaptive/cm/rtlfunc.c | 47 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 src/libcaptive/cm/rtlfunc.c diff --git a/src/libcaptive/cm/rtlfunc.c b/src/libcaptive/cm/rtlfunc.c new file mode 100644 index 0000000..270a41f --- /dev/null +++ b/src/libcaptive/cm/rtlfunc.c @@ -0,0 +1,47 @@ +/* $Id$ + * reactos time handling functions emulation of libcaptive + * Copyright (C) 2002 Jan Kratochvil + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; exactly version 2 of June 1991 is required + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + +#include "config.h" + +#include "reactos/ddk/kefuncs.h" /* self */ +#include +#include + + +/** + * RtlQueryRegistryValues: + * @RelativeTo: Basedir type constant of relative @Path; ignored by libcaptive. + * @Path: String path or handle to retrieve; ignored by libcaptive. + * @QueryTable: Table of entries to retrieve; ignored by libcaptive. + * %NULL value is forbidden. + * @Context: Userdata to pass to QueryRoutine() (of @QueryTable); ignored by libcaptive. + * @Environment: Environment variable to use for key expansion; optional; ignored by libcaptive. + * + * Retrieves specified key from the system registry database. + * libcaptive currently always returns %STATUS_OBJECT_NAME_NOT_FOUND. + * + * Returns: %STATUS_OBJECT_NAME_NOT_FOUND + */ +NTSTATUS RtlQueryRegistryValues + (IN ULONG RelativeTo,IN PWSTR Path,IN PRTL_QUERY_REGISTRY_TABLE QueryTable,IN PVOID Context,IN PVOID Environment) +{ + g_return_val_if_fail(QueryTable!=NULL,STATUS_INVALID_PARAMETER); + + return STATUS_OBJECT_NAME_NOT_FOUND; +} -- 1.8.3.1