IReplStore::GetStoreInfo
The GetStoreInfo method gets information about the current store instance.
Syntax
HRESULT GetStoreInfo (
PSTOREINFO pStoreInfo
);
Parameters
- pStoreInfo
[out] Reference to a STOREINFO structure.
Return Values
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
- S_OK
The method completed successfully. - E_POINTER
The store is not initialized, there is a problem getting the required store identifier, or the STOREINFO structure member lpbStoreID is NULL.
Remarks
When ActiveSync service manager calls this method, the STOREINFO structure member lpbStoreId is set to NULL. A service provider should then set the cdStoreID member to the size of the store identifier. Replication then calls GetStoreInfo again with an allocated buffer and the size stored in the cbMaxStoreId member*.*
Requirements
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cesync.h
Library: None
See Also
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.