CShareLockNH::TryExclusiveLock method

Obtains a lock exclusively if no others are currently hold it.

Syntax

BOOL TryExclusiveLock();

Parameters

This method has no parameters.

Return value

Returns TRUE if the function succeeds; otherwise, it returns FALSE.

Remarks

This function has no associated import library or header file; you must call it using the LoadLibrary and GetProcAddress functions.

Requirements

Requirement Value
DLL
Rwnh.dll