|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include "fxsupportpch.hpp"
Go to the source code of this file.
Functions | |
| _Must_inspect_result_ | __drv_maxIRQL (DISPATCH_LEVEL) NTSTATUS WDFAPI NTAPI WDFEXPORT(WdfWaitLockCreate)(__in PWDF_DRIVER_GLOBALS DriverGlobals |
| if (NT_SUCCESS(FxValidateObjectAttributesForParentHandle(fxDriverGlobals, LockAttributes))) | |
| FxPointerNotNull (fxDriverGlobals, Lock) | |
| if (!NT_SUCCESS(status)) | |
| __drv_when (Timeout !=0, _Must_inspect_result_) __drv_when(Timeout | |
| __drv_maxIRQL (PASSIVE_LEVEL)) __drv_when(Timeout !=0 &&*Timeout | |
| __drv_maxIRQL (DISPATCH_LEVEL)) __drv_when(Timeout !=0 &&*Timeout !=0 | |
| __drv_maxIRQL (PASSIVE_LEVEL)) NTSTATUS WDFAPI NTAPI WDFEXPORT(WdfWaitLockAcquire)(__in PWDF_DRIVER_GLOBALS DriverGlobals | |
| FxObjectHandleGetPtrAndGlobals (GetFxDriverGlobals(DriverGlobals), Lock, FX_TYPE_WAIT_LOCK,(PVOID *) &pLock, &pFxDriverGlobals) | |
| if (Timeout==NULL|| *Timeout !=0) | |
| return pLock | AcquireLock (pFxDriverGlobals, Timeout) |
| pLock | ReleaseLock (pFxDriverGlobals) |
Variables | |
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES | LockAttributes |
| _Must_inspect_result_ __in_opt PWDF_OBJECT_ATTRIBUTES __out WDFWAITLOCK * | Lock |
| PFX_DRIVER_GLOBALS | fxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
| NTSTATUS | status = FxValidateObjectAttributes(fxDriverGlobals, LockAttributes) |
| FxObject * | parent = NULL |
| __in WDFWAITLOCK __in_opt PLONGLONG | Timeout |
| PFX_DRIVER_GLOBALS | pFxDriverGlobals |
| FxWaitLock * | pLock |
| _Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
|
pure virtual |
|
pure virtual |
| __drv_maxIRQL | ( | PASSIVE_LEVEL | ) |
| __drv_when | ( | Timeout ! | = 0, |
| _Must_inspect_result_ | |||
| ) |
| return pLock AcquireLock | ( | pFxDriverGlobals | , |
| Timeout | |||
| ) |
| FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
| Lock | , | ||
| FX_TYPE_WAIT_LOCK | , | ||
| (PVOID *) & | pLock, | ||
| & | pFxDriverGlobals | ||
| ) |
Referenced by if().
| FxPointerNotNull | ( | fxDriverGlobals | , |
| Lock | |||
| ) |
| if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 84 of file fxwaitlockapi.cpp.
Definition at line 72 of file fxwaitlockapi.cpp.
Definition at line 142 of file fxwaitlockapi.cpp.
| pLock ReleaseLock | ( | pFxDriverGlobals | ) |
| fxDriverGlobals = GetFxDriverGlobals(DriverGlobals) |
Definition at line 62 of file fxwaitlockapi.cpp.
Referenced by if().
Definition at line 42 of file fxwaitlockapi.cpp.
Definition at line 40 of file fxwaitlockapi.cpp.
| parent = NULL |
Definition at line 64 of file fxwaitlockapi.cpp.
Referenced by if().
| PFX_DRIVER_GLOBALS pFxDriverGlobals |
Definition at line 132 of file fxwaitlockapi.cpp.
Referenced by if().
| FxWaitLock* pLock |
Definition at line 133 of file fxwaitlockapi.cpp.
Definition at line 63 of file fxwaitlockapi.cpp.
Referenced by if().