This section defines enumerator interfaces that take a snapshot of the current state.
IEnumIlsUser Interface |
IEnumIlsNames Interface |
IEnumIlsProtocol Interface |
This interface enables you to manipulate the users in the enumerated list.
Clone |
Next |
Reset |
Skip |
HRESULT Clone(
[out] IEnumIlsUser **ppEnumUser);
Creates another enumerator that contains the same enumeration state as the current one.
Back to IEnumIlsUser Interface
HRESULT Next(
[in] ULONG cUsers,
[out] IIlsUser **rgpUsers,
[out] ULONG *pcFetched);
Returns the next element in the list, starting at the current index.
S_OK | Success. |
S_FALSE | No more names in enumerator. |
ILS_E_POINTER | Address of output buffer is NULL. |
ILS_E_PARAMETER | Enumerator is empty. |
When the enumerated type is itself an interface pointer, this method must call AddRef through each pointer before return, and the client must later call Release through each pointer.
Back to IEnumIlsUser Interface
HRESULT Reset();
Resets the enumeration sequence to the beginning.
Back to IEnumIlsUser Interface
HRESULT Skip(
[in] ULONG cUsers);
Skips over a specified number of items in the enumeration sequence.
S_OK | Success. |
S_FALSE | No more names in enumerator. |
ILS_E_PARAMETER | Enumerator is empty. |
Back to IEnumIlsUser Interface
This interface enables you to manipulate the names in the enumerated list.
Clone |
Next |
Reset |
Skip |
HRESULT Clone(
[out] IEnumIlsNames **ppEnumName);
Creates another enumerator that contains the same enumeration state as the current one.
S_OK | Success. |
ILS_E_MEMORY | Unable to allocate enough memory for this request. |
ILS_E_POINTER | Return buffer is NULL. |
Back to IEnumIlsNames Interface
HRESULT Next(
[in] ULONG cNames,
[out] BSTR *rgpbstrName,
[out] ULONG *pcFetched);
Returns the next element in the list, starting at the current index.
S_OK | Success. |
S_FALSE | No more names in enumerator. |
ILS_E_POINTER | Address of the output buffer is NULL. |
ILS_E_PARAMETER | Enumerator is empty. |
When the enumerated type is itself an interface pointer, this method must call AddRef through each pointer before return, and the client must later call Release through each pointer.
Back to IEnumIlsNames Interface
HRESULT Reset();
Resets the enumeration sequence to the beginning.
Back to IEnumIlsNames Interface
HRESULT Skip(
[in] ULONG cNames);
Skips over a specified number of items in the enumeration sequence.
S_OK | Success. |
S_FALSE | No more names in enumerator. |
ILS_E_PARAMETER | Enumerator is empty. |
Back to IEnumIlsNames Interface
This interface enables you to manipulate the protocols in the enumerated list.
Clone |
Next |
Reset ' |
Skip |
HRESULT Clone(
[out] IEnumIlsProtocol **ppEnumProtocol);
Creates another enumerator that contains the same enumeration state as the current one.
Back to IEnumIlsProtocol Interface
HRESULT Next(
[in] ULONG cProtocols,
[out] IIlsProtocol **rgpProtocol,
[out] ULONG *pcFetched);
Returns the next element in the list, starting at the current index.
S_OK | Success. |
S_FALSE | No more names in enumerator. |
ILS_E_POINTER | Address of output buffer is NULL. |
ILS_E_PARAMETER | Enumerator is empty. |
When the enumerated type is itself an interface pointer, this method must call AddRef through each pointer before return, and the client must later call Release through each pointer.
Back to IEnumIlsProtocol Interface
HRESULT Reset();
Resets the enumeration sequence to the beginning.
Back to IEnumIlsProtocol Interface
HRESULT Skip(
[in] ULONG cProtocols);
Skips over a specified number of items in the enumeration sequence.
S_OK | Success. |
S_FALSE | No more names in enumerator. |
ILS_E_PARAMETER | Enumerator is empty. |
Back to IEnumIlsProtocol Interface
Last Updated: November 1, 1997
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.