ReactOS  0.4.15-dev-3324-gda4e15f
FxWmiInstanceSetInstanceCallback Struct Reference

#include <fxwmiinstance.hpp>

Inheritance diagram for FxWmiInstanceSetInstanceCallback:
Collaboration diagram for FxWmiInstanceSetInstanceCallback:

Public Member Functions

 FxWmiInstanceSetInstanceCallback (PFX_DRIVER_GLOBALS FxDriverGlobals)
 
 ~FxWmiInstanceSetInstanceCallback ()
 
_Must_inspect_result_ __drv_sameIRQL __drv_maxIRQL (PASSIVE_LEVEL) NTSTATUS Invoke(__in WDFDEVICE Device
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in_bcount (InBufferSize) PVOID InBuffer)
 
- 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_INSTANCE_SET_INSTANCE m_Method
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE WmiInstance
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG InBufferSize
 

Additional Inherited Members

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

Detailed Description

Definition at line 223 of file fxwmiinstance.hpp.

Constructor & Destructor Documentation

◆ FxWmiInstanceSetInstanceCallback()

FxWmiInstanceSetInstanceCallback::FxWmiInstanceSetInstanceCallback ( PFX_DRIVER_GLOBALS  FxDriverGlobals)
inline

Definition at line 227 of file fxwmiinstance.hpp.

229  :
230  FxCallback(FxDriverGlobals),
231  m_Method(NULL)
232  {
233  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_WMI_INSTANCE_SET_INSTANCE m_Method
#define NULL
Definition: types.h:112

◆ ~FxWmiInstanceSetInstanceCallback()

FxWmiInstanceSetInstanceCallback::~FxWmiInstanceSetInstanceCallback ( )
inline

Definition at line 235 of file fxwmiinstance.hpp.

236  {
237  }

Member Function Documentation

◆ __drv_maxIRQL()

_Must_inspect_result_ __drv_sameIRQL FxWmiInstanceSetInstanceCallback::__drv_maxIRQL ( PASSIVE_LEVEL  )

◆ __in_bcount()

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG FxWmiInstanceSetInstanceCallback::__in_bcount ( InBufferSize  )
inline

Definition at line 247 of file fxwmiinstance.hpp.

249  {
251 
253 
254  if (m_Method != NULL) {
255  CallbackStart();
256  status = m_Method(WmiInstance, InBufferSize, InBuffer);
257  CallbackEnd();
258  }
259  else {
261  }
262 
263  return status;
264  }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
LONG NTSTATUS
Definition: precomp.h:26
#define STATUS_WMI_READ_ONLY
Definition: ntstatus.h:818
_Must_inspect_result_ _In_ WDFWMIINSTANCE WmiInstance
Definition: wdfwmi.h:514
PFN_WDF_WMI_INSTANCE_SET_INSTANCE m_Method
_In_ ULONG InBufferSize
Definition: wdfwmi.h:106
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
#define NULL
Definition: types.h:112
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
static SERVICE_STATUS status
Definition: service.c:31
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
Definition: ps.c:97

Member Data Documentation

◆ InBufferSize

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG FxWmiInstanceSetInstanceCallback::InBufferSize

Definition at line 245 of file fxwmiinstance.hpp.

◆ m_Method

◆ WmiInstance

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE FxWmiInstanceSetInstanceCallback::WmiInstance

Definition at line 245 of file fxwmiinstance.hpp.


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