XLL+ Class Library (7.0)

LockableHandleCache<T>::LockHandle

Returns a lock token for a handle

CString LockHandle(
   const TCHAR* pszHandle
);

Parameters

pszHandle

A handle, as displayed in an Excel cell.

Return Value

A string lock token, which can be used in place of the handle itself when instantiating objects from handles.

Remarks

Locks a handle, returning a token. The object referred to by the handle will stay in scope at least until the token is released with UnlockHandle().

Requirements

Header: rtdhandleslock.h

See Also

LockableHandleCache<T> Class | LockableHandleCache<T> Methods