CEVOLUMEOPTIONS (EDB) (Windows Embedded CE 6.0)
1/6/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
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 CEVOLUMEOPTIONS 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
Header | windbase.h |
Library | coredll.lib |
Windows Embedded CE | Windows CE 5.0 and later |