ReactOS
0.4.16-dev-106-g10b08aa
fxrelateddevice.cpp
Go to the documentation of this file.
1
/*++
2
3
Copyright (c) Microsoft. All rights reserved.
4
5
Module Name:
6
7
FxRelatedDevice.cpp
8
9
Abstract:
10
11
This module implements the FxRelatedDevice class which is used in usage
12
notification propagation
13
14
Author:
15
16
17
18
Environment:
19
20
Kernel mode only
21
22
Revision History:
23
24
--*/
25
26
#include "
fxsupportpch.hpp
"
27
28
FxRelatedDevice::FxRelatedDevice
(
29
__in
PDEVICE_OBJECT
DeviceObject
,
30
__in
PFX_DRIVER_GLOBALS
Globals
31
) :
FxObject
(
FX_TYPE_RELATED_DEVICE
, 0,
Globals
),
32
m_DeviceObject(
DeviceObject
),
33
m_State(
RelatedDeviceStateNeedsReportPresent
)
34
{
35
m_TransactionedEntry
.
SetTransactionedObject
(
this
);
36
ObReferenceObject
(
m_DeviceObject
);
37
}
38
39
FxRelatedDevice::~FxRelatedDevice
(
40
VOID
41
)
42
{
43
ObDereferenceObject
(
m_DeviceObject
);
44
}
FxObject
Definition:
fxobject.hpp:232
FxRelatedDevice::m_DeviceObject
MdDeviceObject m_DeviceObject
Definition:
fxrelateddevice.hpp:42
FxRelatedDevice::FxRelatedDevice
FxRelatedDevice(__in MdDeviceObject DeviceObject, __in PFX_DRIVER_GLOBALS FxDriverGlobals)
Definition:
fxrelateddevice.cpp:28
FxRelatedDevice::m_TransactionedEntry
FxTransactionedEntry m_TransactionedEntry
Definition:
fxrelateddevice.hpp:40
FxRelatedDevice::~FxRelatedDevice
~FxRelatedDevice(VOID)
Definition:
fxrelateddevice.cpp:39
Globals
CLIPBOARD_GLOBALS Globals
Definition:
clipbrd.c:13
__in
#define __in
Definition:
dbghelp.h:35
RelatedDeviceStateNeedsReportPresent
@ RelatedDeviceStateNeedsReportPresent
Definition:
fxrelateddevice.hpp:31
FX_TYPE_RELATED_DEVICE
@ FX_TYPE_RELATED_DEVICE
Definition:
fxtypes.h:74
void
Definition:
nsiface.idl:2307
fxsupportpch.hpp
FxTransactionedEntry::SetTransactionedObject
VOID SetTransactionedObject(__in FxObject *Object)
Definition:
fxtransactionedlist.hpp:48
_DEVICE_OBJECT
Definition:
env_spec_w32.h:413
_FX_DRIVER_GLOBALS
Definition:
fxglobals.h:165
DeviceObject
_In_ PDEVICE_OBJECT DeviceObject
Definition:
wdfdevice.h:2055
ObDereferenceObject
#define ObDereferenceObject
Definition:
obfuncs.h:203
ObReferenceObject
#define ObReferenceObject
Definition:
obfuncs.h:204
sdk
lib
drivers
wdf
kmdf
src
support
fxrelateddevice.cpp
Generated on Tue Oct 8 2024 06:16:59 for ReactOS by
1.9.6