CEVOLUMEOPTIONS (EDB) (Windows CE 5.0)

Send Feedback

This structure contains information on setting various volume-level options. This structure is used by the CeMountDBVolEx (EDB) function.

typedef struct CEVOLUMEOPTIONS {WORDwVersion;DWORDcbBufferPool;DWORDdwAutoShrinkPercent;DWORDdwFlushInterval;DWORDcMaxNotifyChanges;DWORDdwDefaultTimeout;WCHARwszPassword[CCH_MAX_PASSWORD + 1];DWORDdwFlags;
} CEVOLUMEOPTIONS;

Members

  • wVersion
    Version of this structure; must be set to 1.
  • cbBufferPool
    Buffer pool size, in bytes.
  • dwAutoShrinkPercent
    The auto-shrink value, as a percentage.
  • dwFlushInterval
    The flush interval, in seconds.
  • cMaxNotifyChanges
    Maximum number of individual notification changes to track.
  • dwDefaultTimeout
    Lock timeout, in milliseconds.
  • wszPassword
    The password.
  • dwFlags
    One or a combination of the following flags. The remaining values are set to the system default values.
    • CEDB_BUFFERPOOL
    • CEDB_AUTOSHRINKPERCENT
    • CEDB_FLUSHINTERVAL
    • CEDB_MAXNOTIFYCHANGES
    • CEDB_DEFAULTTIMEOUT
    • CEDB_PASSWORD

Remarks

Once a volume is mounted, the volume options cannot be changed. Therefore, the volume options are respected only when a volume is mounted for the first time. Volume options are specified by using the CEVOLUMEOPTIONS (EDB) structure in the call to the CeMountDBVolEx function.

Note   MaxNotifyChanges can be temporarily modified on a per-session basis by calling the CeSetSessionOption (EDB) function.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Windbase.h.
Link Library: Coredll.lib.

See Also

CeMountDBVolEx (EDB)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.