ReactOS  0.4.15-dev-3326-ga91f5e8
interruptobjectum.cpp File Reference
#include "fxmin.hpp"
#include "FxInterruptThreadpoolUm.hpp"
#include "InterruptObjectUm.tmh"
#include <strsafe.h>
Include dependency graph for interruptobjectum.cpp:

Go to the source code of this file.

Macros

#define STRSAFE_LIB
 

Functions

BOOLEAN _SynchronizeExecution (__in MdInterrupt Interrupt, __in MdInterruptSynchronizeRoutine SynchronizeRoutine, __in PVOID SynchronizeContext)
 

Macro Definition Documentation

◆ STRSAFE_LIB

#define STRSAFE_LIB

Definition at line 32 of file interruptobjectum.cpp.

Function Documentation

◆ _SynchronizeExecution()

BOOLEAN _SynchronizeExecution ( __in MdInterrupt  Interrupt,
__in MdInterruptSynchronizeRoutine  SynchronizeRoutine,
__in PVOID  SynchronizeContext 
)

Definition at line 785 of file interruptobjectum.cpp.

790 {
792  BOOLEAN isPassive;
793 
795 
797  isPassive = pParams->Interrupt->IsPassiveHandling();
798  FX_VERIFY(INTERNAL, CHECK("Must be Passive Interrupt", isPassive));
799 
800  //
801  // The internal synchronize routine will call the routine under lock
802  //
804 }
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFINTERRUPT * Interrupt
Definition: wdfinterrupt.h:372
#define CHECK(type, val, base, expected)
unsigned char BOOLEAN
FX_VERIFY(INTERNAL, CHECK_NOT_NULL(LoaderInterface->pIWudfHost))
_In_ PKSYNCHRONIZE_ROUTINE SynchronizeRoutine
Definition: kefuncs.h:536
_In_ PKSYNCHRONIZE_ROUTINE _In_opt_ __drv_aliasesMem PVOID SynchronizeContext
Definition: kefuncs.h:536
__inline BOOLEAN IsPassiveHandling(VOID)

Referenced by FxInterrupt::Disconnect(), FxInterrupt::InterruptDisable(), FxInterrupt::InterruptEnable(), and FxInterrupt::Synchronize().