libmapi/FXICS.c File Reference

Incremental Change Synchronization operations. More...

#include <libmapi/libmapi.h>

Functions

_PUBLIC_ enum MAPISTATUS GetLocalReplicaIds (mapi_object_t *obj_store, uint32_t IdCount, struct GUID *ReplGuid, uint8_t GlobalCount[6])

Detailed Description

Incremental Change Synchronization operations.


Function Documentation

_PUBLIC_ enum MAPISTATUS GetLocalReplicaIds ( mapi_object_t *  obj_store,
uint32_t  IdCount,
struct GUID *  ReplGuid,
uint8_t  GlobalCount[6] 
)

Reserves a range of IDs to be used by a local replica

Parameters:
obj_store pointer on the store MAPI object
IdCount ID range length to reserve
ReplGuid pointer to the GUID structure returned by the server
GlobalCount byte array that specifies the first allocated field
Returns:
MAPI_E_SUCCESS on success, otherwise MAPI error.
Note:
Developers may also call GetLastError() to retrieve the last MAPI error code. Possible MAPI error codes are:
  • MAPI_E_NOT_INITIALIZED: MAPI subsystem has not been initialized
  • MAPI_E_INVALID_PARAMETER: one of the function parameter is invalid
  • MAPI_E_CALL_FAILED: A network problem was encountered during the transaction

References emsmdb_transaction(), mapi_object_get_handle(), mapi_object_get_logon_id(), and mapi_object_get_session().


Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/