Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

OW32::CEnumServicesStatus Class Reference

A helper class for enumerating the status of services. More...

#include <ServiceManager.h>

List of all members.

Public Member Functions

 CEnumServicesStatus (CSCManager &parent, DWORD dwServiceType, DWORD dwServiceState)
 Constructor to enumerate services on a given service control manager.
DWORD Next (ENUM_SERVICE_STATUS **ppEntry)
 Get the next entry in the enumeration.


Detailed Description

A helper class for enumerating the status of services.


Constructor & Destructor Documentation

OW32::CEnumServicesStatus::CEnumServicesStatus CSCManager parent,
DWORD  dwServiceType,
DWORD  dwServiceState
[inline]
 

Constructor to enumerate services on a given service control manager.

Parameters:
parent The service control manager to enumerate over
dwServiceType The type of service to enumerate
dwServiceState A state match for the service.


Member Function Documentation

DWORD OW32::CEnumServicesStatus::Next ENUM_SERVICE_STATUS **  ppEntry  )  [inline]
 

Get the next entry in the enumeration.

Parameters:
ppEntry Output The entry returned.
Returns:
ERROR_SUCCESS if successful, an error code if not.


The documentation for this class was generated from the following file:
Generated on Sun Jun 5 01:29:27 2005 for OW32 by  doxygen 1.3.9.1