Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

55 lines
1.4 KiB

//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 1999-2000 Microsoft Corporation
//
// Module Name:
// NotificationMgr.h
//
// Description:
// Notification Manager implementation.
//
// Maintained By:
// Geoffrey Pease (GPease) 22-NOV-1999
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
class CConnPointEnum;
// CNotificationManager
class
CNotificationManager:
public INotificationManager,
public IConnectionPointContainer
{
private:
// IUnknown
LONG m_cRef; // Reference counter
// IConnectionPointContainer
CConnPointEnum * m_penumcp; // CP Enumerator and list
private: // Methods
CNotificationManager( );
~CNotificationManager();
STDMETHOD(Init)( );
public: // Methods
static HRESULT
S_HrCreateInstance( IUnknown ** ppunkOut );
// IUnknown
STDMETHOD( QueryInterface )( REFIID riid, LPVOID *ppv );
STDMETHOD_( ULONG, AddRef )(void);
STDMETHOD_( ULONG, Release )(void);
// INotificationManager
STDMETHOD( AddConnectionPoint )( REFIID riidIn, IConnectionPoint * pcpIn );
// IConnectionPointContainer
STDMETHOD( EnumConnectionPoints )( IEnumConnectionPoints **ppEnumOut );
STDMETHOD( FindConnectionPoint )( REFIID riidIn, IConnectionPoint **ppCPOut );
}; // class CNotificationManager