IReplStore::GetStoreInfo

The IReplStore::GetStoreInfo method gets information about the current store instance.

Syntax

HRESULT GetStoreInfo(
PSTOREINFO
pInfo
);

At a Glance

Header file: Cesync.h
Platforms: H/PC
Windows CE versions: 2.0 and later

Parameters

pInfo
Pointer to the STOREINFO structure.

Return Values

NOERROR
The STOREINFO structure was successfully returned.
E_INVALIDARG
The value of cbStruct is not expected.
E_POINTER
The store is not initialized or there is a problem getting the required store identifier or lpbStored is NULL.
E_OUTOFMEMORY
The value of cbMaxStoreId is too small. The size of the identifier is set in cbStoreId upon return.

Remarks

The ActiveSync service manager will call the IReplStore::GetStoreInfo method with lpbStoreId set to NULL for the first time. The ActiveSync service provider should then set cbStoreId to the size of the store identifier. Replication will then call GetStoreInfo again with an allocated buffer and the size stored in cbMaxStoreId.

See Also

STOREINFO