IsService

[This is preliminary documentation and subject to change.]

The IsService function checks whether a service of specified type and name exists in the service table, and optionally will return the service's parameters.

BOOL IsService (
  IN USHORT           Type,
  IN PUCHAR           Name,
  OUT PIPX_SERVICE    Service   //OPTIONAL
  );
 

Parameters

Type
Specifies the type of the service being checked.
Name
Specifies the name of the service being checked.
Service
Receives a pointer to a structure in which to place the information about the matching service (if any).

Return Values

TRUE
The service exists in the table.
FALSE
No such service exists or the operation failed. Call GetLastError for more information about the failure:
NO_ERROR
The operation succeeded but no such service exists.
ERROR_INVALID_PARAMETER
The service type or name 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

GetLastError, IPX_SERVICE