IEnroll4::RequestStoreTypeWStr property

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

The RequestStoreTypeWStr property sets or retrieves the type of store to use for the store specified by the RequestStoreNameWStr property. This store type is passed directly to the CertOpenStore function.

The default value of this property is sz_CERT_STORE_PROV_SYSTEM. If the default is not to be used, this property must be set to the same value before calls to createPKCS10WStr and createFilePKCS10WStr and again before calls to acceptPKCS7Blob and acceptFilePKCS7WStr.

Only system stores are supported. This property was first defined in the IEnroll interface.

This property is read/write.

Syntax


HRESULT put_RequestStoreTypeWStr(
  [in]   LPWSTR szwType
);

HRESULT get_RequestStoreTypeWStr(
  [out]  LPWSTR *pszwType
);

Property value

A pointer to a null-terminated wide character string that contains the store type. This parameter can be the following value.

ValueMeaning
sz_CERT_STORE_PROV_SYSTEM_W

"System"

 

Error codes

If the property access methods put_RequestStoreTypeWStr and get_RequestStoreTypeWStr succeed, they return S_OK.

Any other HRESULT value indicates that the call failed.

Remarks

Typically, modification of the RequestStoreTypeWStr property is performed only in advanced applications.

RequestStoreTypeWStr 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