Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.0 KiB

/************************************************************************************************
Copyright (c) 2001 Microsoft Corporation
Module Name: POP3Svc.hxx.
Abstract: Declares the CPop3Svc class.
Notes:
History:
************************************************************************************************/
#pragma once
#include "Service.h"
class CPop3Svc : public CService
{
public:
CPop3Svc(LPCTSTR szName, LPCTSTR szDisplay, DWORD dwType);
DECLARE_SERVICE(CPop3Svc, POP3SVC);
virtual void Run();
protected:
void ErrorHandler(LPCTSTR szFunctionName, DWORD dwErrorNum = GetLastError(), bool bAbortService = true);
// service-flow related, overrided from CService
virtual void PreInit();
virtual void DeInit();
virtual void OnPause();
virtual void OnContinueRequest();
virtual void OnAfterStart();
virtual void OnStopRequest();
virtual void OnStop(DWORD dwErrorCode);
};
// End of file POP3Svc.hxx.