XLL+ Class Library (7.0)

LockableHandleCache<T>::UnlockHandle

Unlocks a handle previously locked using LockHandle

bool UnlockHandle(
   const TCHAR* pszToken
);

Parameters

pszToken

A token previously returned by LockHandle.

Return Value

The function returns true if the operation succeeded; false if it failed. Failure can occur if the token is invalid.

Remarks

The object referred to by the handle is available for destruction when the last token is unlocked, and Excel has stopped using the handle.

Requirements

Header: rtdhandleslock.h

See Also

LockableHandleCache<T> Class | LockableHandleCache<T> Methods