BazisLib::DDK::KMutex Class Reference

Represents a standard NT mutex. See ExInitializeFastMutex() for details. More...

#include <ksync.h>

List of all members.

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


Detailed Description

Represents a standard NT mutex. See ExInitializeFastMutex() for details.

Constructor & Destructor Documentation

BazisLib::DDK::KMutex::KMutex (  )  [inline]

BazisLib::DDK::KMutex::~KMutex (  )  [inline]


Member Function Documentation

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]

Here is the call graph for this function:

void BazisLib::DDK::KMutex::Unlock ( bool  NextCallIsWaitXXX = false  )  [inline]

Here is the call graph for this function:

bool BazisLib::DDK::KMutex::Valid (  )  [inline]


Member Data Documentation


The documentation for this class was generated from the following file:
SourceForge.net Logo