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
* This file is part of the LibreOffice project.
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* This file incorporates work covered by the following license notice:
10
*
11
* Licensed to the Apache Software Foundation (ASF) under one or more
12
* contributor license agreements. See the NOTICE file distributed
13
* with this work for additional information regarding copyright
14
* ownership. The ASF licenses this file to you under the Apache
15
* License, Version 2.0 (the "License"); you may not use this file
16
* except in compliance with the License. You may obtain a copy of
17
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
18
*/
19
20
#ifndef _REGISTRY_REGTYPE_H_
21
#define _REGISTRY_REGTYPE_H_
22
23
#include <
sal/types.h
>
24
#include <
sal/udkversion.h
>
25
26
// version number of the library. This number is used for the load on call
27
// mechanism and must be modifed when the library will be upgraded to a new version.
28
#define LIBRARY_VERSION SAL_UDK_MAJOR
29
31
typedef
void
*
RegHandle
;
32
34
typedef
void
*
RegKeyHandle
;
35
37
typedef
void
*
RegValue
;
38
45
typedef
sal_uInt16
RegAccessMode
;
46
48
#define REG_READONLY 0x0001
49
50
#define REG_READWRITE 0x0002
51
58
enum
RegKeyType
59
{
61
RG_KEYTYPE
,
63
RG_LINKTYPE
64
};
65
74
enum
RegValueType
75
{
77
RG_VALUETYPE_NOT_DEFINED
,
79
RG_VALUETYPE_LONG
,
81
RG_VALUETYPE_STRING
,
83
RG_VALUETYPE_UNICODE
,
85
RG_VALUETYPE_BINARY
,
87
RG_VALUETYPE_LONGLIST
,
89
RG_VALUETYPE_STRINGLIST
,
91
RG_VALUETYPE_UNICODELIST
92
};
93
95
enum
RegError
96
{
98
REG_NO_ERROR
,
100
REG_INTERNAL_ERROR
,
101
103
REG_REGISTRY_NOT_OPEN
,
105
REG_REGISTRY_NOT_EXISTS
,
107
REG_REGISTRY_READONLY
,
109
REG_DESTROY_REGISTRY_FAILED
,
113
REG_CANNOT_OPEN_FOR_READWRITE
,
117
REG_INVALID_REGISTRY
,
118
120
REG_KEY_NOT_OPEN
,
122
REG_KEY_NOT_EXISTS
,
124
REG_CREATE_KEY_FAILED
,
126
REG_DELETE_KEY_FAILED
,
130
REG_INVALID_KEYNAME
,
132
REG_INVALID_KEY
,
133
135
REG_VALUE_NOT_EXISTS
,
137
REG_SET_VALUE_FAILED
,
139
REG_DELETE_VALUE_FAILED
,
141
REG_INVALID_VALUE
,
142
144
REG_MERGE_ERROR
,
148
REG_MERGE_CONFLICT
,
149
153
REG_DETECT_RECURSION
,
157
REG_INVALID_LINK
,
159
REG_INVALID_LINKNAME
,
161
REG_INVALID_LINKTARGET
,
163
REG_LINKTARGET_NOT_EXIST
,
165
REG_BUFFERSIZE_TOSMALL
166
};
167
169
#define REGISTRY_CALLTYPE SAL_CALL
170
171
#endif
172
173
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated on Sun Sep 29 2013 16:54:53 for My Project by
1.8.3