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 |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
