ReactOS  0.4.15-dev-3299-gbe8e5fc
FxWmiInstanceExecuteMethodCallback Struct Reference

#include <fxwmiinstance.hpp>

Inheritance diagram for FxWmiInstanceExecuteMethodCallback:
Collaboration diagram for FxWmiInstanceExecuteMethodCallback:

Public Member Functions

 FxWmiInstanceExecuteMethodCallback (PFX_DRIVER_GLOBALS FxDriverGlobals)
 ~FxWmiInstanceExecuteMethodCallback ()
_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 __inout ULONG __drv_when (InBufferSize >=OutBufferSize, __inout_bcount(InBufferSize)) __drv_when(InBufferSize< OutBufferSize
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG __inout ULONG __inout_bcount (OutBufferSize)) PVOID Buffer
 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

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE WmiInstance
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG MethodId
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG InBufferSize
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG __inout ULONG OutBufferSize
_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG __inout ULONG __out PULONG BufferUsed
return status

Additional Inherited Members

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

Detailed Description

Definition at line 316 of file fxwmiinstance.hpp.

Constructor & Destructor Documentation

◆ FxWmiInstanceExecuteMethodCallback()

FxWmiInstanceExecuteMethodCallback::FxWmiInstanceExecuteMethodCallback ( PFX_DRIVER_GLOBALS  FxDriverGlobals)

Definition at line 320 of file fxwmiinstance.hpp.

322  :
323  FxCallback(FxDriverGlobals),
324  m_Method(NULL)
325  {
326  }
FxCallback(__in_opt PFX_DRIVER_GLOBALS FxDriverGlobals=NULL)
Definition: fxcallback.hpp:36
#define NULL
Definition: types.h:112

◆ ~FxWmiInstanceExecuteMethodCallback()

FxWmiInstanceExecuteMethodCallback::~FxWmiInstanceExecuteMethodCallback ( )

Definition at line 328 of file fxwmiinstance.hpp.

329  {
330  }

Member Function Documentation

◆ __drv_maxIRQL()

_Must_inspect_result_ __drv_sameIRQL FxWmiInstanceExecuteMethodCallback::__drv_maxIRQL ( PASSIVE_LEVEL  )

◆ __drv_when()

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG __inout ULONG FxWmiInstanceExecuteMethodCallback::__drv_when ( InBufferSize >=  OutBufferSize,

◆ __inout_bcount()

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG __inout ULONG FxWmiInstanceExecuteMethodCallback::__inout_bcount ( OutBufferSize  )

◆ if()

FxWmiInstanceExecuteMethodCallback::if ( m_Method = NULL)

Definition at line 352 of file fxwmiinstance.hpp.

352  {
353  CallbackStart();
355  MethodId,
356  InBufferSize,
358  Buffer,
359  BufferUsed);
360  CallbackEnd();
361  }
_In_ ULONG _Out_ PULONG BufferUsed
Definition: wdfwmi.h:92
_Must_inspect_result_ _In_ WDFWMIINSTANCE WmiInstance
Definition: wdfwmi.h:514
Definition: bufpool.h:45
_In_ ULONG InBufferSize
Definition: wdfwmi.h:106
_In_ ULONG OutBufferSize
Definition: wdfwmi.h:87
_In_ ULONG MethodId
Definition: wdfwmi.h:142
void __inline CallbackStart(VOID)
Definition: fxcallback.hpp:64
void __inline CallbackEnd(VOID)
Definition: fxcallback.hpp:74
Definition: ps.c:97


FxWmiInstanceExecuteMethodCallback::UNREFERENCED_PARAMETER ( Device  )

Member Data Documentation

◆ BufferUsed

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

Definition at line 347 of file fxwmiinstance.hpp.

◆ else

Initial value:

Definition at line 362 of file fxwmiinstance.hpp.

◆ InBufferSize

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG FxWmiInstanceExecuteMethodCallback::InBufferSize

Definition at line 338 of file fxwmiinstance.hpp.

◆ m_Method

◆ MethodId

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG FxWmiInstanceExecuteMethodCallback::MethodId

Definition at line 338 of file fxwmiinstance.hpp.

◆ OutBufferSize

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG __in ULONG __inout ULONG FxWmiInstanceExecuteMethodCallback::OutBufferSize

Definition at line 338 of file fxwmiinstance.hpp.

◆ status

return FxWmiInstanceExecuteMethodCallback::status

Definition at line 366 of file fxwmiinstance.hpp.

◆ WmiInstance

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE FxWmiInstanceExecuteMethodCallback::WmiInstance

Definition at line 338 of file fxwmiinstance.hpp.

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