Libkleo

gnupg-registry.h
1/* registry.h - registry prototypes
2 SPDX-FileCopyrightText: 2006, 2007 g 10 Code GmbH
3
4 This file is part of GpgEX.
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9/* keep this in sync with svn://cvs.gnupg.org/gpgex/trunk/src/registry.h (last checked against rev. 19) */
10
11#pragma once
12
13#include <windows.h>
14
15#ifdef __cplusplus
16extern "C" {
17#if 0
18}
19#endif
20#endif
21
22/* This is a helper function to load a Windows function from either of
23 one DLLs. */
24HRESULT w32_shgetfolderpath(HWND a, int b, HANDLE c, DWORD d, LPSTR e);
25
26/* Return a string from the Win32 Registry or NULL in case of error.
27 Caller must release the return value. A NULL for root is an alias
28 for HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE in turn. */
29char *read_w32_registry_string(const char *root, const char *dir, const char *name);
30
31/* Retrieve the default home directory. */
32char *default_homedir(void);
33
34#ifdef __cplusplus
35#if 0
36{
37#endif
38}
39#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:12 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.