Leaked source code of windows server 2003
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.
|
|
/*******************************************************************************
* * (C) COPYRIGHT MICROSOFT CORP., 1998 * * TITLE: CallBack.h * * VERSION: 2.0 * * AUTHOR: ReedB * * DATE: 4 Aug, 1998 * * DESCRIPTION: * Declarations and definitions for the WIA device class driver callbacks. * *******************************************************************************/
class CEventCallback : public IWiaEventCallback { public:
// Constructor, initialization and destructor methods.
CEventCallback(); HRESULT _stdcall Initialize(); ~CEventCallback();
// IUnknown members that delegate to m_pUnkRef.
HRESULT _stdcall QueryInterface(const IID&,void**); ULONG _stdcall AddRef(); ULONG _stdcall Release(); HRESULT _stdcall ImageEventCallback( const GUID *pEventGUID, BSTR bstrEventDescription, BSTR bstrDeviceID, BSTR bstrDeviceDescription, DWORD dwDeviceType, BSTR bstrFullItemName, ULONG *plEventType, ULONG ulReserved);
private: ULONG m_cRef; // Object reference count.
};
// Public prototypes
HRESULT RegisterForWIAEvents(IWiaEventCallback** ppIWiaEventCallback);
|