次の方法で共有


STOREINFO (COM) (Windows CE 5.0)

Send Feedback

This structure is used to identify an instance of the store.

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.

If the client does not support multi-threading, it must set fSingleThreadOnly to FALSE, so the server serializes the calls to the methods and makes them come from the primary thread of the application.

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

OS Versions: Windows CE 2.0 and later.
Header: Cesync.h.

See Also

IReplStore::GetStoreInfo

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.