Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IEnroll4::CAStoreFlags property

[This property is no longer available for use as of Windows Server 2008 and Windows Vista.]

The CAStoreFlags property sets or retrieves a flag that controls the certification authority (CA) store when the store is opened. This flag is passed to the dwFlags parameter of the CertOpenStore function when the CA store is opened.

The default value for this property is CERT_SYSTEM_STORE_CURRENT_USER. This property was first defined in the IEnroll interface.

This property is read/write.

Syntax


HRESULT put_CAStoreFlags(
  [in]   const LONG Flags
);

HRESULT get_CAStoreFlags(
  [out]  LONG *pFlags
);

Property value

LONG value assigned to the property. The value indicates the relative path of the registry location used for the MY store. The following list shows the possible values:

  • CERT_SYSTEM_STORE_CURRENT_USER
  • CERT_SYSTEM_STORE_LOCAL_MACHINE
  • CERT_SYSTEM_STORE_SERVICES
  • CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY
  • CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY

Error codes

If the property access methods put_CAStoreFlags and get_CAStoreFlags succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

The CAStoreFlags property affects the behavior of the following methods:

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP

End of server support

Windows Server 2003

Header

Xenroll.h

Library

Uuid.lib

DLL

Xenroll.dll

IID

IID_IEnroll4 is defined as f8053fe5-78f4-448f-a0db-41d61b73446b

See also

IEnroll4

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.