Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This method gets information about the current store instance.

Syntax

HRESULT GetStoreInfo(
  PSTOREINFO 
pInfo
);

Parameters

pInfo

[out] Pointer to the STOREINFOstructure.

Return Value

The following table shows the possible return values for this method.

Value Description

NOERROR

The STOREINFOstructure was successfully returned.

E_INVALIDARG

The value of cbStructis not expected.

E_POINTER

The store is not initialized or there is a problem getting the required store identifier or lpbStoredis NULL.

E_OUTOFMEMORY

The value of cbMaxStoreIdis too small. The size of the identifier is set in cbStoreIdupon return.

Remarks

The ActiveSync manager calls the GetStoreInfowith lpbStoreIdset to NULL for the first time. The ActiveSync service provider should then set cbStoreIdto the size of the store identifier. Replication then calls GetStoreInfoagain with an allocated buffer and the size stored in cbMaxStoreId.

Requirements

Header cesync.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Other Resources

STOREINFO (COM)