IEnroll4::CAStoreNameWStr property

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

The CAStoreNameWStr property sets or retrieves the name of the store where all non-"ROOT" and non-"MY" certificates are kept.

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

This property is read/write.

Syntax


HRESULT put_CAStoreNameWStr(
  [in]   LPWSTR szwName
);

HRESULT get_CAStoreNameWStr(
  [out]  LPWSTR *pszwName
);

Property value

A pointer to null-terminated wide character string that contains the store name. The string can be any defined store name. The following list shows some possible values. The default value is "CA".

  • "CA"
  • "MY"
  • "ROOT"

Error codes

If the property access methods put_CAStoreNameWStr and get_CAStoreNameWStr succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

The CAStoreNameWStr 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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft