My Project
UDK 3.2.7 C/C++ API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
registry
regtype.h
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*************************************************************************
3
*
4
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
*
6
* Copyright 2000, 2010 Oracle and/or its affiliates.
7
*
8
* OpenOffice.org - a multi-platform office productivity suite
9
*
10
* This file is part of OpenOffice.org.
11
*
12
* OpenOffice.org is free software: you can redistribute it and/or modify
13
* it under the terms of the GNU Lesser General Public License version 3
14
* only, as published by the Free Software Foundation.
15
*
16
* OpenOffice.org is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19
* GNU Lesser General Public License version 3 for more details
20
* (a copy is included in the LICENSE file that accompanied this code).
21
*
22
* You should have received a copy of the GNU Lesser General Public License
23
* version 3 along with OpenOffice.org. If not, see
24
* <http://www.openoffice.org/license.html>
25
* for a copy of the LGPLv3 License.
26
*
27
************************************************************************/
28
29
#ifndef _REGISTRY_REGTYPE_H_
30
#define _REGISTRY_REGTYPE_H_
31
32
#include <
sal/types.h
>
33
#include <
sal/udkversion.h
>
34
35
// version number of the library. This number is used for the load on call
36
// mechanism and must be modifed when the library will be upgraded to a new version.
37
#define LIBRARY_VERSION SAL_UDK_MAJOR
38
40
typedef
void
*
RegHandle
;
41
43
typedef
void
*
RegKeyHandle
;
44
46
typedef
void
*
RegValue
;
47
54
typedef
sal_uInt16
RegAccessMode
;
55
57
#define REG_READONLY 0x0001
58
59
#define REG_READWRITE 0x0002
60
67
enum
RegKeyType
68
{
70
RG_KEYTYPE
,
72
RG_LINKTYPE
73
};
74
83
enum
RegValueType
84
{
86
RG_VALUETYPE_NOT_DEFINED
,
88
RG_VALUETYPE_LONG
,
90
RG_VALUETYPE_STRING
,
92
RG_VALUETYPE_UNICODE
,
94
RG_VALUETYPE_BINARY
,
96
RG_VALUETYPE_LONGLIST
,
98
RG_VALUETYPE_STRINGLIST
,
100
RG_VALUETYPE_UNICODELIST
101
};
102
104
enum
RegError
105
{
107
REG_NO_ERROR
,
109
REG_INTERNAL_ERROR
,
110
112
REG_REGISTRY_NOT_OPEN
,
114
REG_REGISTRY_NOT_EXISTS
,
116
REG_REGISTRY_READONLY
,
118
REG_DESTROY_REGISTRY_FAILED
,
122
REG_CANNOT_OPEN_FOR_READWRITE
,
126
REG_INVALID_REGISTRY
,
127
129
REG_KEY_NOT_OPEN
,
131
REG_KEY_NOT_EXISTS
,
133
REG_CREATE_KEY_FAILED
,
135
REG_DELETE_KEY_FAILED
,
139
REG_INVALID_KEYNAME
,
141
REG_INVALID_KEY
,
142
144
REG_VALUE_NOT_EXISTS
,
146
REG_SET_VALUE_FAILED
,
148
REG_DELETE_VALUE_FAILED
,
150
REG_INVALID_VALUE
,
151
153
REG_MERGE_ERROR
,
157
REG_MERGE_CONFLICT
,
158
162
REG_DETECT_RECURSION
,
166
REG_INVALID_LINK
,
168
REG_INVALID_LINKNAME
,
170
REG_INVALID_LINKTARGET
,
172
REG_LINKTARGET_NOT_EXIST
,
174
REG_BUFFERSIZE_TOSMALL
175
};
176
178
#define REGISTRY_CALLTYPE SAL_CALL
179
180
#endif
181
182
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Mon Oct 8 2012 00:36:42 for My Project by
1.8.1.2