GetNextServiceFromID

[This is preliminary documentation and subject to change.]

The GetNextServiceFromID function allows service enumeration based on object identifiers.

DWORD GetNextServiceFromID (
  IN ULONG            ServiceID,
  OUT PIPX_SERVICE    NextService,
  OUT PULONG          NextServiceID
  );
 

Parameters

ServiceID
A unique service identifier in the range 0xC0000000 - 0xCFFFFFFF, or 0xFFFFFFFF to start the enumeration from the beginning of the identifier table.
NextService
Address of an IPX_SERVICE structure. The function will fill this structure with service information from the next service in the identifier table.
NextServiceID
Address of the identifier of the next service in the identifier table. The function fills this identifier upon a successful call. The identifier is in the range 0xC0000000 - 0xCFFFFFFF.

Return Values

NO_ERROR
The operation succeeded. NextService and NextsServiceID point to the information and identifier for the next service in the table.
ERROR_NO_MORE_SERVICES
No more services exist in the table.
ERROR_INVALID_PARAMETER
The ServiceID parameter is invalid.

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

IPX_SERVICE