EnumerateGetNextService

[This is preliminary documentation and subject to change.]

The EnumerateGetNextService function returns the next service entry in an enumeration started by CreateServiceEnumerationHandle.

DWORD EnumerateGetNextService (
  IN HANDLE          EnumerationHandle,
  OUT PIPX_SERVICE    Service
  );
 

Parameters

EnumerationHandle
Handle that identifies the enumeration and specifies its scope. The handle is obtained from a call to CreateServiceEnumerationHandle.
Service
Points to an IPX_SERVICE structure that will contain the next service in the enumeration. Although services are returned in any particular order, each service in the subset is returned only once.

Return Values

NO_ERROR
The next service was placed in the buffer pointed to by Service.
ERROR_NO_MORE_ITEMS
No more services exist with the specified criteria.
ERROR_CAN_NOT_COMPLETE
Operation failed.

QuickInfo

  Windows NT: Use version 5.0 and later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in user-defined.
  Import Library: user-defined.

See Also

CreateServiceEnumerationHandle, IPX_SERVICE