windows-nt/Source/XPSP1/NT/enduser/netmeeting/ui/conf/confnmsysinfonotify.h
2020-09-26 16:20:57 +08:00

29 lines
697 B
C++

#ifndef __ConfNmSysInfoNotify_h__
#define __ConfNmSysInfoNotify_h__
class ATL_NO_VTABLE CConfNmSysInfoNotifySink :
public CComObjectRoot,
public INmSysInfoNotify
{
public:
// We create it as No Lock, but we had better make sure that
// the lifetime of this object is not greater than the lifetime of
// the module in which it lives
typedef CComCreator< CComObjectNoLock< CConfNmSysInfoNotifySink > > _CreatorClass;
DECLARE_NO_REGISTRY()
// INmSysInfoNotify
STDMETHOD(GateKeeperNotify)( IN NM_GK_NOTIFY_CODE RasEvent );
BEGIN_COM_MAP(CConfNmSysInfoNotifySink)
COM_INTERFACE_ENTRY(INmSysInfoNotify)
END_COM_MAP()
};
#endif // __ConfNmSysInfoNotify_h__