1 /* t-w32-reg.c - Regression tests for W32 registry functions
2 * Copyright (C) 2010 Free Software Foundation, Inc.
4 * This file is part of GnuPG.
6 * GnuPG is free software; you can redistribute it and/or modify it
7 * under the terms of either
9 * - the GNU Lesser General Public License as published by the Free
10 * Software Foundation; either version 3 of the License, or (at
11 * your option) any later version.
15 * - the GNU General Public License as published by the Free
16 * Software Foundation; either version 2 of the License, or (at
17 * your option) any later version.
19 * or both in parallel, as here.
21 * GnuPG is distributed in the hope that it will be useful, but
22 * WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 * General Public License for more details.
26 * You should have received a copies of the GNU General Public License
27 * and the GNU Lesser General Public License along with this program;
28 * if not, see <https://www.gnu.org/licenses/>.
40 #include "t-support.h"
45 test_read_registry (void)
49 #ifdef HAVE_W32CE_SYSTEM
50 string = read_w32_registry_string ("HKEY_CLASSES_ROOT",
51 "BOOTSTRAP\\CLSID", NULL);
54 fprintf (stderr, "Bootstrap clsid: %s\n", string);
58 string = read_w32_registry_string
60 "Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings",
64 fprintf (stderr, "User agent: %s\n", string);
72 main (int argc, char **argv)
77 test_read_registry ();