AuxUlibIsDLLSynchronizationHeld function (aux_ulib.h)

Determines whether the caller is holding a synchronization primitive. This information can be used to avoid operations that could potentially lead to deadlocks.

Syntax

BOOL AuxUlibIsDLLSynchronizationHeld(
  [out] PBOOL SynchronizationHeld
);

Parameters

[out] SynchronizationHeld

Indicates whether the caller is holding a synchronization primitive.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Remarks

You must call the AuxUlibInitialize function before calling this function.

Requirements

Requirement Value
Target Platform Windows
Header aux_ulib.h
Library Aux_ulib.lib
Redistributable Windows Auxiliary API library version 2.0