CShareLockNH::ShareLock method

Obtains a shared lock.

Syntax

void ShareLock();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

Each call to ShareLock must be paired with exactly one call to ShareUnlock. Only a thread that successfully calls ShareLock can call ShareUnlock; otherwise, a deadlock can occur.

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

See also

ShareUnlock