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 structure is used to identify an instance of the store.

Syntax

typedef struct tagStoreInfo {
  UINT 
cbStruct;
  UINT 
uFlags;
  TCHAR 
szProgId[256];
  TCHAR 
szStoreDesc[200];
  UINT 
uTimerRes;
  UINT 
cbMaxStoreId;
  UINT 
cbStoreId;
  LPBYTE 
lpbStoreId;
} STOREINFO, *PSTOREINFO;

Members

cbStruct

Size of this structure.

uFlags

Combination of the flags shown in the following table.

Value Description

SCF_SINGLE_THREAD

Set if the implementation only supports single thread operation.

SCF_SIMULATE_RTS

Set if the implementation wants to simulate detection of real-time change/deletes.

szProgId

Null-terminated string that contains the name of the programmatic identifier of the store object.

szStoreDesc

Null-terminated string that contains the description of the store, to be displayed to the user.

uTimerRes

Resolution of timer in micro-seconds; 5,000 by default.

Applicable only when SCF_SIMULATE_RTS is set in uFlags.

cbMaxStoreId

Maximum size of the store identifier that can be stored in buffer pointed by lpbStoreId.

cbStoreId

Actual size of the store identifier stored in buffer pointed by lpbStoreId.

lpbStoreId

Long pointer to a buffer whose contents uniquely identifies the current store instance; for example, a schedule file.

Remarks

Calls to the IReplStoreinterface methods can come from different threads.

szStoreDesccan have a value such as "Outlook File." It is displayed to the user when the store identifier indicates a different store is installed.

Requirements

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

See Also

Other Resources

IReplStore::GetStoreInfo