Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 2.73 KB

capicom-store-open-mode.md

File metadata and controls

68 lines (42 loc) · 2.73 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Used with the Store.Open method to indicate how a certificate store is to be opened.
6ec87b8c-9431-4ecc-bd90-943cfe2df1c2
CAPICOM_STORE_OPEN_MODE enumeration (Capicom.h)
reference
05/31/2018
APIRef
kbSyntax
CAPICOM_STORE_OPEN_MODE
HeaderDef
Capicom.h

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

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
Header
Capicom.h

See also

Store.Open