ReactOS 0.4.16-dev-320-g3bd9ddc
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
 
 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_EXECUTE_METHOD m_Method
 
_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
 
 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 316 of file fxwmiinstance.hpp.

Constructor & Destructor Documentation

◆ FxWmiInstanceExecuteMethodCallback()

FxWmiInstanceExecuteMethodCallback::FxWmiInstanceExecuteMethodCallback ( PFX_DRIVER_GLOBALS  FxDriverGlobals)
inline

Definition at line 320 of file fxwmiinstance.hpp.

322 :
323 FxCallback(FxDriverGlobals),
325 {
326 }
#define NULL
Definition: types.h:112
PFN_WDF_WMI_INSTANCE_EXECUTE_METHOD m_Method

◆ ~FxWmiInstanceExecuteMethodCallback()

FxWmiInstanceExecuteMethodCallback::~FxWmiInstanceExecuteMethodCallback ( )
inline

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(InBufferSize  
)

◆ __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)
inline

Definition at line 352 of file fxwmiinstance.hpp.

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

◆ UNREFERENCED_PARAMETER()

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:
{
LONG NTSTATUS
Definition: precomp.h:26

Definition at line 345 of file fxwmiinstance.hpp.

◆ else

FxWmiInstanceExecuteMethodCallback::else
Initial value:
{
#define STATUS_WMI_GUID_NOT_FOUND
Definition: ntstatus.h:776

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 340 of file fxwmiinstance.hpp.

◆ m_Method

◆ MethodId

_Must_inspect_result_ __drv_sameIRQL __in WDFWMIINSTANCE __in ULONG FxWmiInstanceExecuteMethodCallback::MethodId

Definition at line 339 of file fxwmiinstance.hpp.

◆ OutBufferSize

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

Definition at line 341 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: