windows-nt/Source/XPSP1/NT/net/homenet/alg/exe/algmodule.h

68 lines
744 B
C
Raw Normal View History

2020-09-26 03:20:57 -05:00
#pragma once
#include <Softpub.h>
//
// Holds information on the ALG module loaded
//
class CAlgModule
{
public:
CAlgModule(
LPCTSTR pszProgID,
LPCTSTR pszFriendlyName
)
{
lstrcpy(m_szID, pszProgID);
lstrcpy(m_szFriendlyName, pszFriendlyName);
m_pInterface=NULL;
};
~CAlgModule()
{
Stop();
}
//
// Methods
//
private:
HRESULT
ValidateDLL(
LPCTSTR pszPathAndFileNameOfDLL
);
public:
HRESULT
Start();
HRESULT
Stop();
//
// Properties
//
public:
TCHAR m_szID[MAX_PATH];
TCHAR m_szFriendlyName[MAX_PATH];
IApplicationGateway* m_pInterface;
};