CAPICOM_STORE_OPEN_MODE enumeration
The CAPICOM_STORE_OPEN_MODE enumeration type is used with the Store.Open method to indicate how a certificate store is to be opened.
Members
| Member | Description | Value |
|---|---|---|
| CAPICOM_STORE_OPEN_READ_ONLY |
Open the store in read-only mode. | 0 |
| CAPICOM_STORE_OPEN_READ_WRITE |
Open the store in read/write mode. | 1 |
| CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED |
Open the store in read/write mode if the user has read/write permissions. If the user does not have read/write permissions, open the store in read-only mode. | 2 |
| CAPICOM_STORE_OPEN_EXISTING_ONLY |
Open existing stores only; do not create a new store. Introduced by CAPICOM 2.0. | 128 |
| CAPICOM_STORE_OPEN_INCLUDE_ARCHIVED |
Include archived certificates when using the store. Introduced by CAPICOM 2.0. | 256 |
Remarks
When using the CAPICOM_STORE_OPEN_MODE enumeration, only one of the following settings can be used.
- CAPICOM_STORE_OPEN_READ_ONLY
- CAPICOM_STORE_OPEN_READ_WRITE
- CAPICOM_STORE_OPEN_MAXIMUM_ALLOWED
Requirements
|
Redistributable | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
|---|---|
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012