IEnumUserIdentity::Clone method
[IEnumUserIdentity::Clone is not supported and may be altered or unavailable in the future. Instead, use User Accounts with Fast User Switching and Remote Desktop.]
Gets a copy of the current enumeration.
Syntax
HRESULT Clone(
[out] IEnumUserIdentity **ppenum
);
Parameters
-
ppenum [out]
-
Type: IEnumUserIdentity**
The address of a pointer that receives a copy of this enumeration.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
IEnumUserIdentity keeps an internal count that specifies which interface is next to be retrieved. The value of this count will be applied to the interface received by ppenum. To reset the count, call IEnumUserIdentity::Reset.
Requirements
Requirement | Value |
---|---|
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 |
|
IDL |
|
DLL |
|
See also