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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // All the ECOM specific error codes returned by the ECOM API to a client
25 #ifndef __ECOMERRORCODES_H__
26 #define __ECOMERRORCODES_H__
28 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS
29 #include <ecom/ecomextendedinterfaceerrorcodes.h>
33 The base value for Shared Error codes for the ECOM framework and client
35 const TInt KEComErrBase = -17000;
38 The last value for ECom Frmework errors
39 This must be modified when error codes are added/deleted
41 const TInt KEComErrLast = -17033;
44 // Error codes which may be received by a client application
47 The call to instantiate an Interface Implementation failed
48 because no registrations exist for this interface.
50 const TInt KEComErrNoInterfaceIdentified = -17004;
53 The Non-Default resolver could not be instantiated. The most likely
54 situation is that an incorrect implementation uid was supplied.
56 const TInt KEComErrNoResolver = -17014;
59 The client has requested too many notifications. ECom can only support
60 a finite number of notifications
62 const TInt KEComErrTooManyNotificationsOutstanding = -17026;
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
69 const TInt KEComErrMissingParameter = -17028;
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
74 const TInt KEComErrListInvalidAwaitNotification = -17029;
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.
80 const TInt KEComErrListCurrentlyUnavailable = -17030;
84 // Codes which are only used for Panics
87 The Client requested a service which is not supplied by this framework
89 const TInt KEComErrUnknownService = -17002;
92 The Interface Implementation reference count is invalid
94 const TInt KEComErrReferenceCountInvalid = -17013;
97 The Interface Implementations destruction could not be recorded
99 const TInt KEComErrDestructionFailed = -17017;
102 The uid from a resource plugin does not match the uid from its
105 const TInt KEComErrMismatchedTags = -17023;
108 The scanning timer for re-discovering plugins is not found in the list
111 const TInt KEComErrNotFoundScanTimer = -17033;
114 The client called DestroyedImplementation with a destruction
115 key of NULL. This is an irrecoverable error because the object
118 const TInt KEComErrDestroyingWithNullDtorKey = -17027;
121 // Codes which are currently unused but reserved for future expansion
124 The call to Enable the registered Interface Implementation failed
126 const TInt KEComErrEnableFailed = -17005;
129 The call to Disable the registered Interface Implementation failed
131 const TInt KEComErrDisableFailed = -17006;
134 The call to instantiate an Interface Implementation failed
135 because no appropriate implementation was found.
137 const TInt KEComErrNoRegistrationsFound = -17007;
140 The call to Remove the registered Interface Implementation failed
142 const TInt KEComErrUninstallFailed = -17009;
145 The call to Re-register an Interface Implementation failed
147 const TInt KEComErrReinstallFailed = -17010;
150 The call to Register an Interface Implementation failed
152 const TInt KEComErrRegistrationFailed = -17011;
155 The client does not have a session open with the framework
157 const TInt KEComErrNotConnected = -17012;
160 The call to Suspend registration activities failed
162 const TInt KEComErrSuspendFailed = -17015;
165 The call to Resume registration activities failed
167 const TInt KEComErrResumeFailed = -17016;
170 An attempt has been made to add a drive to the registry which
173 const TInt KEComErrDriveAlreadyInstalled = -17018;
176 An IIC has been found which does not have a corresponding
177 registration information file
179 const TInt KEComErrNoRegistrationData = -17021;
183 #endif // __ECOMERRORCODES_H__