Share via


STOREINFO (COM)

A version of this page is also available for

Windows Embedded CE 6.0 R3

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 IReplStore interface methods can come from different threads.

szStoreDesc can 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