nw::os::NullLockObject::TryLock Member Function

Syntax

bool TryLock();

Arguments

None.

Return Values

Returns true if locked successfully and false otherwise.

Description

Tries to acquire a lock, and returns false if it fails.


CONFIDENTIAL