Export (0) Print
Expand All

IEnroll4::MyStoreFlags property

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

The MyStoreFlags property sets or retrieves the registry location used for the MY store.

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_MyStoreFlags(
  [in]   LONG Flags
);

HRESULT get_MyStoreFlags(
  [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_MyStoreFlags and get_MyStoreFlags succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

The MyStoreFlags property value is passed to the CertOpenStore CryptoAPI function by using its dwFlags parameter.

The MyStoreFlags property should be set before using 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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft