ReactOS 0.4.15-dev-6703-g6528ab8
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
7struct FxUsbIdleInfo : public FxStump {
8public:
10 __in FxPkgPnp* PkgPnp
12 {
13 m_CallbackInfo.IdleCallback = _UsbIdleCallback;
14 m_CallbackInfo.IdleContext = PkgPnp;
16 }
17
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
35private:
36
38 static
39 VOID
41 _UsbIdleCallback(
43 );
44};
45
46#endif // _FXUSBIDLEINFO_H_
unsigned char BOOLEAN
LONG NTSTATUS
Definition: precomp.h:26
#define __in
Definition: dbghelp.h:35
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define _Must_inspect_result_
Definition: ms_sal.h:558
FxAutoIrp m_IdleIrp
__drv_maxIRQL(PASSIVE_LEVEL) static VOID STDCALL _UsbIdleCallback(__in PVOID Context)
FxCREvent * m_IdleCallbackEvent
USB_IDLE_CALLBACK_INFO m_CallbackInfo
BOOLEAN m_EventDropped
FxUsbIdleInfo(__in FxPkgPnp *PkgPnp)
#define STDCALL
Definition: wdf.h:45
static void Initialize()
Definition: xlate.c:212