Export (0) Print
Expand All
Expand Minimize

IEnroll4::enumContainersWStr method

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

The enumContainersWStr method retrieves the names of containers for the cryptographic service provider (CSP) specified by the ProviderNameWStr property. This method was first defined in the IEnroll interface.

Syntax


HRESULT enumContainersWStr(
  [in]   LONG dwIndex,
  [out]  LPWSTR *ppwsz
);

Parameters

dwIndex [in]

Specifies the ordinal position of the container whose name will be retrieved. Specify zero for the first container.

ppwsz [out]

A pointer to a LPWSTR variable that receives the name of the container.

Return value

The return value is an HRESULT. A value of S_OK indicates success. The value ERROR_NO_MORE_ITEMS is returned when there are no more items.

Remarks

If the ProviderNameWStr property value has not been set, the default value (usually Microsoft Base Cryptographic Provider) of ProviderNameWStr as set in the registry is used.

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