windows-nt/Source/XPSP1/NT/com/mobile/sens/conn/senssvc/csubchng.hxx

71 lines
1.1 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
/*++
Copyright (C) Microsoft Corporation, 1997 - 1999
Module Name:
csubchng.hxx
Abstract:
Header file containing SENS's IEventObjectChange definition.
Author:
Gopal Parupudi <GopalP>
[Notes:]
optional-notes
Revision History:
GopalP 1/26/1998 Start.
--*/
#ifndef __CSUBCHNG_HXX__
#define __CSUBCHNG_HXX__
class CImpIEventObjectChange : public IEventObjectChange
{
public:
CImpIEventObjectChange(void);
~CImpIEventObjectChange(void);
//
// IUnknown
//
STDMETHOD (QueryInterface) (REFIID, LPVOID *);
STDMETHOD_(ULONG, AddRef) (void);
STDMETHOD_(ULONG, Release) (void);
//
// IEventObjectChange
//
STDMETHOD (ChangedSubscription) (EOC_ChangeType, BSTR);
STDMETHOD (ChangedEventClass) (EOC_ChangeType, BSTR);
STDMETHOD (ChangedPublisher) (EOC_ChangeType, BSTR);
private:
LONG m_cRef;
};
typedef CImpIEventObjectChange FAR * LPCIMPIEVENTOBJECTCHANGE;
HRESULT
GetDestinationNameFromSubscription(
BSTR bstrSubscriptionID,
BSTR *pbstrDestinationName
);
#endif // __CSUBCHNG_HXX__