The CAPICOM_STORE_LOCATION enumeration type indicates the location of a certificate store.
Members
| Member | Description | Value |
|---|---|---|
| CAPICOM_MEMORY_STORE | The store is a memory store. Any changes in the contents of the store are not persisted. | 0 |
| CAPICOM_LOCAL_MACHINE_STORE | The store is a local machine store. Local machine stores can be read/write stores only if the user has read/write permissions. If the user has read/write permissions and if the store is opened read/write, then changes in the contents of the store are persisted. | 1 |
| CAPICOM_CURRENT_USER_STORE | The store is a current user store. A current user store may be a read/write store. If it is, changes in the contents of the store are persisted. | 2 |
| CAPICOM_ACTIVE_DIRECTORY_USER_STORE | The store is an Active Directory store. Active Directory stores can be opened only in read-only mode. Certificates cannot be added to or removed from Active Directory stores. | 3 |
| CAPICOM_SMART_CARD_USER_STORE | Stores support smart card–based certificate stores. The store is the group of present smart cards. Introduced in CAPICOM 2.0. | 4 |
Remarks
The CAPICOM_STORE_LOCATION enumeration type is used by the following methods:
Requirements
| Requirement | Value |
|---|---|
| Redistributable | CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
| Header | Capicom.h |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
