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 contains information on volume-level options. This structure is used by the CeMountDBVolEx (EDB)function.
Syntax
typedef struct CEVOLUMEOPTIONS { WORD wVersion; DWORD cbBufferPool; DWORD dwAutoShrinkPercent; DWORD dwFlushInterval; DWORD cMaxNotifyChanges; DWORD dwDefaultTimeout; WCHAR wszPassword[CCH_MAX_PASSWORD + 1]; DWORD dwFlags; } CEVOLUMEOPTIONS; |
Members
- wVersion
-
Version of this structure. Must be set to 1.
- cbBufferPool
-
Buffer pool size, in bytes.
- dwAutoShrinkPercent
-
Auto-shrink value, as a percentage.
- dwFlushInterval
-
Flush interval, in seconds.
- cMaxNotifyChanges
-
Maximum number of individual notification changes to track.
- dwDefaultTimeout
-
Lock timeout, in milliseconds.
- wszPassword
-
Password.
- dwFlags
-
One or a combination of the following flags. The remaining values are set to the system default values.
- CEDB_AUTOSHRINKPERCENT
- CEDB_BUFFERPOOL
- CEDB_DEFAULTTIMEOUT
- CEDB_FLUSHINTERVAL
- CEDB_MAXNOTIFYCHANGES
- CEDB_PASSWORD
- CEDB_AUTOSHRINKPERCENT
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 with the CEVOLUMEOPTIONSstructure in the call to the CeMountDBVolExfunction.
Note: |
---|
MaxNotifyChangescan be temporarily modified on a per-session basis by calling the CeSetSessionOption (EDB)function. |
Requirements
Header | windbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 5.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |