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