IReplStore::GetStoreInfo
Note This interface is not supported on Windows CE 3.0-based platforms.
This method gets information about the current store instance.
HRESULT GetStoreInfo(
PSTOREINFO pInfo);
Parameters
- pInfo
Pointer to the STOREINFO structure.
Return Values
One of the values described in the following table is returned.
| Value | Description |
|---|---|
| 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 calls 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 then calls GetStoreInfo again with an allocated buffer and the size stored in cbMaxStoreId.
Requirements
| Runs On | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Cesync.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.