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.
 
 
 
 
 
 

39 lines
928 B

/*******************************************************************************
*
* (C) COPYRIGHT MICROSOFT CORP., 2000
*
* TITLE: handler.h
*
* VERSION: 1.0
*
* AUTHOR: ByronC
*
* DATE: 15 Nov, 2000
*
* DESCRIPTION:
* Declarations and definitions for the WIA messsage handler class.
* This class gets called from the Service control function on PnP and Power
* event notifications, and informas the device manager to take the appropriate
* action.
*
*******************************************************************************/
#pragma once
class CMsgHandler {
public:
HRESULT HandlePnPEvent(
DWORD dwEventType,
PVOID pEventData);
DWORD HandlePowerEvent(
DWORD dwEventType,
PVOID pEventData);
HRESULT HandleCustomEvent(
DWORD dwEventType);
HRESULT Initialize();
private:
};