#include <fxiotargetremoteum.hpp>
|
| FxIoTargetRemoteNotificationCallback (PFX_DRIVER_GLOBALS FxDriverGlobals, FxIoTargetRemote *Target) |
|
| ~FxIoTargetRemoteNotificationCallback () |
|
WUDF_TARGET_CONTEXT | GetRegistrationId (VOID) |
|
BOOL __stdcall | OnQueryRemove (_In_ WUDF_TARGET_CONTEXT RegistrationID) |
|
VOID __stdcall | OnRemoveCanceled (_In_ WUDF_TARGET_CONTEXT RegistrationID) |
|
VOID __stdcall | OnRemoveComplete (_In_ WUDF_TARGET_CONTEXT RegistrationID) |
|
VOID __stdcall | OnCustomEvent (_In_ WUDF_TARGET_CONTEXT RegistrationID, _In_ REFGUID Event, _In_reads_bytes_(DataSize) BYTE *Data, _In_ DWORD DataSize, _In_ DWORD NameBufferOffset) |
|
HRESULT __stdcall | QueryInterface (__in const IID &iid, __out void **ppv) |
|
ULONG __stdcall | AddRef () |
|
ULONG __stdcall | Release () |
|
| FxGlobalsStump (__in PFX_DRIVER_GLOBALS FxDriverGlobals) |
|
PFX_DRIVER_GLOBALS | GetDriverGlobals (VOID) |
|
PVOID | operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals) |
|
PVOID | operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType) |
|
VOID | operator delete (__in PVOID pointer) |
|
PVOID | operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals) |
|
VOID | operator delete[] (__in PVOID pointer) |
|
Definition at line 26 of file fxiotargetremoteum.hpp.
◆ FxIoTargetRemoteNotificationCallback()
◆ ~FxIoTargetRemoteNotificationCallback()
FxIoTargetRemoteNotificationCallback::~FxIoTargetRemoteNotificationCallback |
( |
| ) |
|
|
inline |
◆ AddRef()
◆ GetRegistrationId()
WUDF_TARGET_CONTEXT FxIoTargetRemoteNotificationCallback::GetRegistrationId |
( |
VOID |
| ) |
|
|
inline |
◆ OnCustomEvent()
Definition at line 637 of file fxiotargetremoteum.cpp.
644{
650
651
652
653
655
656 return;
657}
_In_ NDIS_STATUS _In_ ULONG _In_ USHORT _In_opt_ PVOID _In_ ULONG DataSize
#define UNREFERENCED_PARAMETER(P)
◆ OnQueryRemove()
BOOL __stdcall FxIoTargetRemoteNotificationCallback::OnQueryRemove |
( |
_In_ WUDF_TARGET_CONTEXT |
RegistrationID | ) |
|
Definition at line 435 of file fxiotargetremoteum.cpp.
438{
443
445
446
447
448
449
450
452
454
457
459
460
461
462
463
464
465
468 "QueryRemove callback was for an old registration, ignoring.");
469
472 }
473
476 "WDFIOTARGET %p: query remove notification",
478
479
480
481
482
483
484
485
489 }
490 else {
493 "WDFIOTARGET %p: query remove, default action (close for QR)",
495
496
497
498
500 }
501
504 }
505
507
509
510 return bStatus;
511}
WUDF_TARGET_CONTEXT GetRegistrationId(VOID)
__inline WDFIOTARGET GetHandle(VOID)
FxIoTargetQueryRemove m_EvtQueryRemove
VOID Close(__in FxIoTargetRemoteCloseReason Reason)
PVOID __inline GetObjectHandle(VOID)
__inline PFX_DRIVER_GLOBALS GetDriverGlobals(VOID)
#define NT_SUCCESS(StatCode)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
PFX_DRIVER_GLOBALS pFxDriverGlobals
@ FxIoTargetRemoteCloseReasonQueryRemove
#define TRACE_LEVEL_WARNING
#define TRACE_LEVEL_VERBOSE
PFN_WDF_IO_TARGET_QUERY_REMOVE m_Method
_Must_inspect_result_ NTSTATUS Invoke(__in WDFIOTARGET IoTarget)
◆ OnRemoveCanceled()
VOID __stdcall FxIoTargetRemoteNotificationCallback::OnRemoveCanceled |
( |
_In_ WUDF_TARGET_CONTEXT |
RegistrationID | ) |
|
Definition at line 571 of file fxiotargetremoteum.cpp.
574{
578
580
581
582
583
584
585
587
590
594 "RemoveCanceled callback was for an old registration, ignoring.");
595
597 }
598
601 "WDFIOTARGET %p: remove canceled notification", pThis->
GetObjectHandle());
602
605 }
606 else {
608
611 "WDFIOTARGET %p: remove canceled, default action (reopen)",
613
615
616
617
618
620
621
622
623
624
625
626
628 }
629
631
633}
_Must_inspect_result_ NTSTATUS Open(__in PWDF_IO_TARGET_OPEN_PARAMS OpenParams)
FxIoTargetRemoveCanceled m_EvtRemoveCanceled
GLenum const GLfloat * params
VOID Invoke(__in WDFIOTARGET Target)
PFN_WDF_IO_TARGET_REMOVE_CANCELED m_Method
FORCEINLINE VOID WDF_IO_TARGET_OPEN_PARAMS_INIT_REOPEN(_Out_ PWDF_IO_TARGET_OPEN_PARAMS Params)
◆ OnRemoveComplete()
VOID __stdcall FxIoTargetRemoteNotificationCallback::OnRemoveComplete |
( |
_In_ WUDF_TARGET_CONTEXT |
RegistrationID | ) |
|
Definition at line 515 of file fxiotargetremoteum.cpp.
518{
521
523
524
525
526
527
528
530
532
536 "RemoveComplete callback was for an old registration, ignoring.");
537
539 }
540
543 "WDFIOTARGET %p: remove complete notification", pThis->
GetObjectHandle());
544
545
546
547
548
551 }
552 else {
555 "WDFIOTARGET %p: remove complete, default action (close)",
557
558
559
560
562 }
563
565
567}
FxIoTargetRemoveComplete m_EvtRemoveComplete
@ FxIoTargetRemoteCloseReasonPlainClose
PFN_WDF_IO_TARGET_REMOVE_COMPLETE m_Method
VOID Invoke(__in WDFIOTARGET Target)
◆ QueryInterface()
Definition at line 88 of file fxiotargetremoteum.hpp.
92 {
95 }
96
98
101 }
102 else if ( iid == IID_IWudfTargetCallbackDeviceChange) {
103 *
ppv =
static_cast<IWudfTargetCallbackDeviceChange *
> (
this);
104 }
105 else {
107 }
108
111 }
◆ Release()
Definition at line 124 of file fxiotargetremoteum.hpp.
126 {
128 if (0 == cRefs) {
129
130
131
132
133
134
136 }
137
138 return cRefs;
139 }
#define InterlockedDecrement
◆ m_cRefs
LONG FxIoTargetRemoteNotificationCallback::m_cRefs |
|
private |
◆ m_RemoteTarget
The documentation for this class was generated from the following files: