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.
 
 
 
 
 
 

58 lines
977 B

/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
EventCallback.h
Abstract:
Author:
Hakki T. Bostanci (hakkib) 06-Apr-2000
Revision History:
--*/
#ifndef _EVENTCALLBACK_H_
#define _EVENTCALLBACK_H_
//////////////////////////////////////////////////////////////////////////
//
//
//
class CEventCallback : public IWiaEventCallback
{
public:
CEventCallback();
~CEventCallback();
// IUnknown interface
STDMETHOD(QueryInterface)(REFIID iid, LPVOID *ppvObj);
STDMETHOD_(ULONG, AddRef)();
STDMETHOD_(ULONG, Release)();
// IWiaEventCallback interface
STDMETHOD(ImageEventCallback)(
LPCGUID pEventGUID,
BSTR bstrEventDescription,
BSTR bstrDeviceID,
BSTR bstrDeviceDescription,
DWORD dwDeviceType,
BSTR bstrFullItemName,
ULONG *pulEventType,
ULONG ulReserved
);
private:
LONG m_cRef;
};
#endif //_EVENTCALLBACK_H_