|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // All the ECOM specific error codes returned by the ECOM API to a client |
|
15 // are defined here. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file |
|
21 @publishedAll |
|
22 @released |
|
23 */ |
|
24 |
|
25 #ifndef __ECOMERRORCODES_H__ |
|
26 #define __ECOMERRORCODES_H__ |
|
27 |
|
28 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
29 #include <ecom/ecomextendedinterfaceerrorcodes.h> |
|
30 #endif |
|
31 |
|
32 /** |
|
33 The base value for Shared Error codes for the ECOM framework and client |
|
34 */ |
|
35 const TInt KEComErrBase = -17000; |
|
36 |
|
37 /** |
|
38 The last value for ECom Frmework errors |
|
39 This must be modified when error codes are added/deleted |
|
40 */ |
|
41 const TInt KEComErrLast = -17033; |
|
42 |
|
43 // |
|
44 // Error codes which may be received by a client application |
|
45 // |
|
46 /** |
|
47 The call to instantiate an Interface Implementation failed |
|
48 because no registrations exist for this interface. |
|
49 */ |
|
50 const TInt KEComErrNoInterfaceIdentified = -17004; |
|
51 |
|
52 /** |
|
53 The Non-Default resolver could not be instantiated. The most likely |
|
54 situation is that an incorrect implementation uid was supplied. |
|
55 */ |
|
56 const TInt KEComErrNoResolver = -17014; |
|
57 |
|
58 /** |
|
59 The client has requested too many notifications. ECom can only support |
|
60 a finite number of notifications |
|
61 */ |
|
62 const TInt KEComErrTooManyNotificationsOutstanding = -17026; |
|
63 |
|
64 /** |
|
65 An ECom service was requested with an essential parameter missing. For example, |
|
66 this error code will be supplied when calling an overload of CreateImplementationL |
|
67 which uses a non-default resolver if you fail to supply the resolver |
|
68 */ |
|
69 const TInt KEComErrMissingParameter = -17028; |
|
70 |
|
71 /** The registry index is invalid but the client has requested notifications - so |
|
72 they will receive a notification when the index is ready again |
|
73 */ |
|
74 const TInt KEComErrListInvalidAwaitNotification = -17029; |
|
75 |
|
76 /** |
|
77 The registry index is invalid and the client has not requested notifications. |
|
78 They will have to try again later after discoveries have completed. |
|
79 */ |
|
80 const TInt KEComErrListCurrentlyUnavailable = -17030; |
|
81 |
|
82 |
|
83 // |
|
84 // Codes which are only used for Panics |
|
85 // |
|
86 /** |
|
87 The Client requested a service which is not supplied by this framework |
|
88 */ |
|
89 const TInt KEComErrUnknownService = -17002; |
|
90 |
|
91 /** |
|
92 The Interface Implementation reference count is invalid |
|
93 */ |
|
94 const TInt KEComErrReferenceCountInvalid = -17013; |
|
95 |
|
96 /** |
|
97 The Interface Implementations destruction could not be recorded |
|
98 */ |
|
99 const TInt KEComErrDestructionFailed = -17017; |
|
100 |
|
101 /** |
|
102 The uid from a resource plugin does not match the uid from its |
|
103 corrsponding DLL. |
|
104 */ |
|
105 const TInt KEComErrMismatchedTags = -17023; |
|
106 |
|
107 /** |
|
108 The scanning timer for re-discovering plugins is not found in the list |
|
109 of scanning timers. |
|
110 */ |
|
111 const TInt KEComErrNotFoundScanTimer = -17033; |
|
112 |
|
113 /** |
|
114 The client called DestroyedImplementation with a destruction |
|
115 key of NULL. This is an irrecoverable error because the object |
|
116 cannot be deleted. |
|
117 */ |
|
118 const TInt KEComErrDestroyingWithNullDtorKey = -17027; |
|
119 |
|
120 // |
|
121 // Codes which are currently unused but reserved for future expansion |
|
122 // |
|
123 /** |
|
124 The call to Enable the registered Interface Implementation failed |
|
125 */ |
|
126 const TInt KEComErrEnableFailed = -17005; |
|
127 |
|
128 /** |
|
129 The call to Disable the registered Interface Implementation failed |
|
130 */ |
|
131 const TInt KEComErrDisableFailed = -17006; |
|
132 |
|
133 /** |
|
134 The call to instantiate an Interface Implementation failed |
|
135 because no appropriate implementation was found. |
|
136 */ |
|
137 const TInt KEComErrNoRegistrationsFound = -17007; |
|
138 |
|
139 /** |
|
140 The call to Remove the registered Interface Implementation failed |
|
141 */ |
|
142 const TInt KEComErrUninstallFailed = -17009; |
|
143 |
|
144 /** |
|
145 The call to Re-register an Interface Implementation failed |
|
146 */ |
|
147 const TInt KEComErrReinstallFailed = -17010; |
|
148 |
|
149 /** |
|
150 The call to Register an Interface Implementation failed |
|
151 */ |
|
152 const TInt KEComErrRegistrationFailed = -17011; |
|
153 |
|
154 /** |
|
155 The client does not have a session open with the framework |
|
156 */ |
|
157 const TInt KEComErrNotConnected = -17012; |
|
158 |
|
159 /** |
|
160 The call to Suspend registration activities failed |
|
161 */ |
|
162 const TInt KEComErrSuspendFailed = -17015; |
|
163 |
|
164 /** |
|
165 The call to Resume registration activities failed |
|
166 */ |
|
167 const TInt KEComErrResumeFailed = -17016; |
|
168 |
|
169 /** |
|
170 An attempt has been made to add a drive to the registry which |
|
171 already exists |
|
172 */ |
|
173 const TInt KEComErrDriveAlreadyInstalled = -17018; |
|
174 |
|
175 /** |
|
176 An IIC has been found which does not have a corresponding |
|
177 registration information file |
|
178 */ |
|
179 const TInt KEComErrNoRegistrationData = -17021; |
|
180 |
|
181 |
|
182 |
|
183 #endif // __ECOMERRORCODES_H__ |