ReactOS  0.4.15-dev-3299-gbe8e5fc
FxWmiInstanceQueryInstanceCallback Struct Reference

#include <fxwmiinstance.hpp>

Inheritance diagram for FxWmiInstanceQueryInstanceCallback:
Collaboration diagram for FxWmiInstanceQueryInstanceCallback:

Public Member Functions

 FxWmiInstanceQueryInstanceCallback (__in PFX_DRIVER_GLOBALS FxDriverGlobals)
 
 ~FxWmiInstanceQueryInstanceCallback ()
 
_Must_inspect_result_ __drv_sameIRQL __drv_maxIRQL (PASSIVE_LEVEL) NTSTATUS Invoke(__in WDFDEVICE Device
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __inout ULONG __out_bcount (OutBufferSize) PVOID OutBuffer
 
 UNREFERENCED_PARAMETER (Device)
 
 if (m_Method !=NULL)
 
- 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_QUERY_INSTANCE m_Method
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE WmiInstance
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __inout ULONG OutBufferSize
 
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __inout ULONG __out PULONG BufferUsed
 
 else
 
return status
 

Additional Inherited Members

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

Detailed Description

Definition at line 175 of file fxwmiinstance.hpp.

Constructor & Destructor Documentation

◆ FxWmiInstanceQueryInstanceCallback()

FxWmiInstanceQueryInstanceCallback::FxWmiInstanceQueryInstanceCallback ( __in PFX_DRIVER_GLOBALS  FxDriverGlobals)
inline

Definition at line 179 of file fxwmiinstance.hpp.

181  :
182  FxCallback(FxDriverGlobals),
183  m_Method(NULL)
184  {
185  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
PFN_WDF_WMI_INSTANCE_QUERY_INSTANCE m_Method
#define NULL
Definition: types.h:112

◆ ~FxWmiInstanceQueryInstanceCallback()

FxWmiInstanceQueryInstanceCallback::~FxWmiInstanceQueryInstanceCallback ( )
inline

Definition at line 187 of file fxwmiinstance.hpp.

188  {
189  }

Member Function Documentation

◆ __drv_maxIRQL()

_Must_inspect_result_ __drv_sameIRQL FxWmiInstanceQueryInstanceCallback::__drv_maxIRQL ( PASSIVE_LEVEL  )

◆ __out_bcount()

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __inout ULONG FxWmiInstanceQueryInstanceCallback::__out_bcount ( OutBufferSize  )

◆ if()

FxWmiInstanceQueryInstanceCallback::if ( m_Method = NULL)
inline

Definition at line 207 of file fxwmiinstance.hpp.

207  {
208  CallbackStart();
211  OutBuffer,
212  BufferUsed);
213  CallbackEnd();
214  }
_In_ ULONG _Out_ PULONG BufferUsed
Definition: wdfwmi.h:92
_In_ UCHAR _In_ ULONG _Out_ PUCHAR _Outptr_result_bytebuffer_ OutBufferLength PVOID * OutBuffer
Definition: scsi.h:4071
_Must_inspect_result_ _In_ WDFWMIINSTANCE WmiInstance
Definition: wdfwmi.h:514
PFN_WDF_WMI_INSTANCE_QUERY_INSTANCE m_Method
_In_ ULONG OutBufferSize
Definition: wdfwmi.h:87
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
Definition: ps.c:97

◆ UNREFERENCED_PARAMETER()

FxWmiInstanceQueryInstanceCallback::UNREFERENCED_PARAMETER ( Device  )

Member Data Documentation

◆ BufferUsed

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __inout ULONG __out PULONG FxWmiInstanceQueryInstanceCallback::BufferUsed
Initial value:

Definition at line 202 of file fxwmiinstance.hpp.

◆ else

FxWmiInstanceQueryInstanceCallback::else
Initial value:

Definition at line 215 of file fxwmiinstance.hpp.

◆ m_Method

◆ OutBufferSize

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __inout ULONG FxWmiInstanceQueryInstanceCallback::OutBufferSize

Definition at line 197 of file fxwmiinstance.hpp.

◆ status

return FxWmiInstanceQueryInstanceCallback::status

Definition at line 219 of file fxwmiinstance.hpp.

◆ WmiInstance

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE FxWmiInstanceQueryInstanceCallback::WmiInstance

Definition at line 197 of file fxwmiinstance.hpp.


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