ReactOS 0.4.15-dev-8393-g61b7fb9
FxWmiProviderFunctionControlCallback Struct Reference

#include <fxwmiprovider.hpp>

Inheritance diagram for FxWmiProviderFunctionControlCallback:
Collaboration diagram for FxWmiProviderFunctionControlCallback:

Public Member Functions

 FxWmiProviderFunctionControlCallback (PFX_DRIVER_GLOBALS FxDriverGlobals)
 
 ~FxWmiProviderFunctionControlCallback ()
 
_Must_inspect_result_ NTSTATUS Invoke (__in WDFDEVICE Device, __in WDFWMIPROVIDER WmiProvider, __in WDF_WMI_PROVIDER_CONTROL Control, __in BOOLEAN Enable)
 
- Public Member Functions inherited from FxCallback
 FxCallback (__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
 
PVOID operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType=NonPagedPool)
 
VOID operator delete (__in PVOID pointer)
 

Public Attributes

PFN_WDF_WMI_PROVIDER_FUNCTION_CONTROL m_Method
 

Additional Inherited Members

- Protected Member Functions inherited from FxCallback
void __inline CallbackStart (VOID)
 
void __inline CallbackEnd (VOID)
 

Detailed Description

Definition at line 31 of file fxwmiprovider.hpp.

Constructor & Destructor Documentation

◆ FxWmiProviderFunctionControlCallback()

FxWmiProviderFunctionControlCallback::FxWmiProviderFunctionControlCallback ( PFX_DRIVER_GLOBALS  FxDriverGlobals)
inline

Definition at line 35 of file fxwmiprovider.hpp.

37 :
38 FxCallback(FxDriverGlobals),
40 {
41 }
#define NULL
Definition: types.h:112
PFN_WDF_WMI_PROVIDER_FUNCTION_CONTROL m_Method

◆ ~FxWmiProviderFunctionControlCallback()

FxWmiProviderFunctionControlCallback::~FxWmiProviderFunctionControlCallback ( )
inline

Definition at line 43 of file fxwmiprovider.hpp.

44 {
45 }

Member Function Documentation

◆ Invoke()

_Must_inspect_result_ NTSTATUS FxWmiProviderFunctionControlCallback::Invoke ( __in WDFDEVICE  Device,
__in WDFWMIPROVIDER  WmiProvider,
__in WDF_WMI_PROVIDER_CONTROL  Control,
__in BOOLEAN  Enable 
)
inline

Definition at line 49 of file fxwmiprovider.hpp.

55 {
57
59
60 if (m_Method != NULL) {
64 }
65 else {
67 }
68
69 return status;
70 }
LONG NTSTATUS
Definition: precomp.h:26
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
_In_ ULONGLONG _In_ ULONGLONG _In_ BOOLEAN Enable
Definition: ntddpcm.h:142
#define STATUS_SUCCESS
Definition: shellext.h:65
Definition: ps.c:97
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
_In_ WDF_WMI_PROVIDER_CONTROL Control
Definition: wdfwmi.h:166
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_WMI_PROVIDER_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFWMIPROVIDER * WmiProvider
Definition: wdfwmi.h:363

Referenced by FxWmiProvider::FunctionControl().

Member Data Documentation

◆ m_Method

PFN_WDF_WMI_PROVIDER_FUNCTION_CONTROL FxWmiProviderFunctionControlCallback::m_Method

The documentation for this struct was generated from the following file: