#include <ksync.h>
Public Member Functions | |
KMutex () | |
~KMutex () | |
bool | Valid () |
NTSTATUS | Lock (KWAIT_REASON WaitReason=Executive, KPROCESSOR_MODE WaitMode=KernelMode, bool Alertable=false) |
NTSTATUS | TryLock (LONGLONG Timeout=0, KWAIT_REASON WaitReason=Executive, KPROCESSOR_MODE WaitMode=KernelMode, bool Alertable=false) |
void | Unlock (bool NextCallIsWaitXXX=false) |
Private Attributes | |
PKMUTEX | m_pMutex |
BazisLib::DDK::KMutex::KMutex | ( | ) | [inline] |
BazisLib::DDK::KMutex::~KMutex | ( | ) | [inline] |
NTSTATUS BazisLib::DDK::KMutex::Lock | ( | KWAIT_REASON | WaitReason = Executive , |
|
KPROCESSOR_MODE | WaitMode = KernelMode , |
|||
bool | Alertable = false | |||
) | [inline] |
NTSTATUS BazisLib::DDK::KMutex::TryLock | ( | LONGLONG | Timeout = 0 , |
|
KWAIT_REASON | WaitReason = Executive , |
|||
KPROCESSOR_MODE | WaitMode = KernelMode , |
|||
bool | Alertable = false | |||
) | [inline] |
void BazisLib::DDK::KMutex::Unlock | ( | bool | NextCallIsWaitXXX = false |
) | [inline] |
bool BazisLib::DDK::KMutex::Valid | ( | ) | [inline] |
PKMUTEX BazisLib::DDK::KMutex::m_pMutex [private] |