ReactOS  0.4.15-dev-3324-gda4e15f
FxWmiInstanceSetItemCallback Struct Reference

#include <fxwmiinstance.hpp>

Inheritance diagram for FxWmiInstanceSetItemCallback:
Collaboration diagram for FxWmiInstanceSetItemCallback:

Public Member Functions

 FxWmiInstanceSetItemCallback (PFX_DRIVER_GLOBALS FxDriverGlobals)
 
 ~FxWmiInstanceSetItemCallback ()
 
_Must_inspect_result_ __drv_sameIRQL __drv_maxIRQL (PASSIVE_LEVEL) NTSTATUS Invoke(__in WDFDEVICE Device
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __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_ITEM m_Method
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE WmiInstance
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG DataItemId
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __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 267 of file fxwmiinstance.hpp.

Constructor & Destructor Documentation

◆ FxWmiInstanceSetItemCallback()

FxWmiInstanceSetItemCallback::FxWmiInstanceSetItemCallback ( PFX_DRIVER_GLOBALS  FxDriverGlobals)
inline

Definition at line 271 of file fxwmiinstance.hpp.

273  :
274  FxCallback(FxDriverGlobals),
275  m_Method(NULL)
276  {
277  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_WMI_INSTANCE_SET_ITEM m_Method
#define NULL
Definition: types.h:112

◆ ~FxWmiInstanceSetItemCallback()

FxWmiInstanceSetItemCallback::~FxWmiInstanceSetItemCallback ( )
inline

Definition at line 279 of file fxwmiinstance.hpp.

280  {
281  }

Member Function Documentation

◆ __drv_maxIRQL()

_Must_inspect_result_ __drv_sameIRQL FxWmiInstanceSetItemCallback::__drv_maxIRQL ( PASSIVE_LEVEL  )

◆ __in_bcount()

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

Definition at line 292 of file fxwmiinstance.hpp.

294  {
296 
298 
299  if (m_Method != NULL) {
300  CallbackStart();
302  DataItemId,
303  InBufferSize,
304  InBuffer);
305  CallbackEnd();
306 
307  }
308  else {
310  }
311 
312  return status;
313  }
#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_ITEM m_Method
_In_ ULONG DataItemId
Definition: wdfwmi.h:123
_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

◆ DataItemId

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG FxWmiInstanceSetItemCallback::DataItemId

Definition at line 289 of file fxwmiinstance.hpp.

◆ InBufferSize

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG FxWmiInstanceSetItemCallback::InBufferSize

Definition at line 289 of file fxwmiinstance.hpp.

◆ m_Method

◆ WmiInstance

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE FxWmiInstanceSetItemCallback::WmiInstance

Definition at line 289 of file fxwmiinstance.hpp.


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