ReactOS  0.4.15-dev-4870-g846c9aa
fxusbidleinfo.hpp
Go to the documentation of this file.
1 //
2 // Copyright (C) Microsoft. All rights reserved.
3 //
4 #ifndef _FXUSBIDLEINFO_H_
5 #define _FXUSBIDLEINFO_H_
6 
7 struct FxUsbIdleInfo : public FxStump {
8 public:
10  __in FxPkgPnp* PkgPnp
12  {
13  m_CallbackInfo.IdleCallback = _UsbIdleCallback;
14  m_CallbackInfo.IdleContext = PkgPnp;
16  }
17 
19  NTSTATUS
20  Initialize(
21  VOID
22  );
23 
25 
27 
28  USB_IDLE_CALLBACK_INFO m_CallbackInfo;
29 
30  //
31  // used to check if UsbSelectiveSuspendCompleted event was dropped.
32  //
34 
35 private:
36 
38  static
39  VOID
40  STDCALL
41  _UsbIdleCallback(
43  );
44 };
45 
46 #endif // _FXUSBIDLEINFO_H_
FxCREvent * m_IdleCallbackEvent
LONG NTSTATUS
Definition: precomp.h:26
FxAutoIrp m_IdleIrp
BOOLEAN m_EventDropped
#define FALSE
Definition: types.h:117
USB_IDLE_CALLBACK_INFO m_CallbackInfo
unsigned char BOOLEAN
_Must_inspect_result_ NTSTATUS Initialize(VOID)
#define STDCALL
Definition: wdf.h:45
__drv_maxIRQL(PASSIVE_LEVEL) static VOID STDCALL _UsbIdleCallback(__in PVOID Context)
FxUsbIdleInfo(__in FxPkgPnp *PkgPnp)
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define NULL
Definition: types.h:112
#define __in
Definition: dbghelp.h:35