GetServiceCount

[This is preliminary documentation and subject to change.]

The GetServiceCount function returns the number of services in the table.

ULONG GetServiceCount (
  void
  );
 

Return Values

Successful completion of GetServiceCount will return the number of services in the table.

0 (Zero)
No services are available in the table or the operation failed. Call GetLastError to obtain more information:
NO_ERROR
Operation succeeded but no services are available.

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

GetLastError