Return Values
Microsoft Exchange Server functions can return either their own values, MAPI values, or WIN32 values. For an explanation of the MAPI return values, see MAPICODE.H. For an explanation of the WIN32 return values, see WINERR.H.
BOOL Return Values
The return values for functions returning a BOOL data type are as follows:
-
TRUE
-
The function completed successfully.
-
FALSE
-
The function did not complete successfully.
HRESULT Return Values
The return values for functions returning a HRESULT data type are as follows:
-
NOERROR
-
The function completed successfully.
-
EC_EDK_E_FAIL
-
Unknown failure.
-
EC_EDK_E_INVALIDARG
-
Invalid argument (bad input).
-
EC_EDK_E_OUTOFMEMORY
-
Not enough memory to perform operation.
RC Return Values
The return values for functions returning a RC data type are as follows:
-
RC_SUCCESS
-
The function completed successfully.
-
RC_CONFIG
-
A configuration error occurred.
-
RC_CONTENTION
-
A contention error occurred.
-
RC_DISKSPACE
-
The system ran out of disk space.
-
RC_EOF
-
The function reached the end of the file.
-
RC_ERROR
-
A general (unspecified) error occurred.
-
RC_EXPIRED
-
Time expired before the function could complete.
-
RC_IMPLEMENTATION
-
The function is not yet implemented.
-
RC_INVALID_PARAMETER
-
There was an invalid function parameter.
-
RC_MEMORY
-
A memory allocation error occurred.
-
RC_NOTFOUND
-
The object is not found.
-
RC_PROTOCOL
-
A protocol error occurred.
-
RC_SHUTDOWN
-
A service shutdown occurred.
-
RC_SOFTWARE
-
An unspecified error occurred in the software.
-
RC_SYNTAX
-
A syntax error occurred.
-
RC_TIMEOUT
-
An operation timed out before the function could complete.
RPC_SC Return Values
The return values for functions returning a RPC_SC data type are as follows:
-
SC_OK
-
No errors.
-
SC_Error
-
General error.
-
SC_BPActive
-
Bulk proxy address generation is currently running.
-
SC_BPInactive
-
Bulk proxy address generation is not currently running.
-
SC_BPShutdownPending
-
A shutdown in bulk proxy address generation is in progress.
-
SC_BPSiteAddressMismatch
-
A site address mismatch between the rgszOldSiteAddress and rgszNewSiteAddress lists in SAD_ScBulkUpdateMultiProxy.
SCODE Return Values
The return values for functions returning a SCODE data type are as follows:
-
EC_EDK_E_ALREADY_EXISTS
-
The object that the function sought already exists.
-
EC_EDK_E_AMBIGUOUS
-
An argument has more than one match.
-
EC_EDK_E_END_OF_FILE
-
The function reached the end of the file.
-
EC_EDK_E_NOT_FOUND
-
The property tag value was not found.
-
EC_EDK_E_PARSE
-
An error was encountered while parsing an argument.
-
EC_EDK_E_SHUTDOWN_SERVICE
-
The service was shut down.