Set diagnostic name on lock as an explicit step. This can only be done once. Subsequent calls will have no effect

Return TypeFunction nameArguments
hzEcodehzLockRWD::Setname(const char*,)

Declared in file: hzLock.h
Defined in file : hzLock.cpp

Function Logic:

0:START 1:unknown 2:Return E_SETONCE 3:items 4:Return E_OK

Function body:

hzEcode hzLockRWD::Setname (const char* name)
{
   //  Set diagnostic name on lock as an explicit step. This can only be done once. Subsequent calls will have no effect
   //  
   //  Arguments: 1) name Lock name
   //  
   //  Returns: E_SETONCE If the name already set
   //     E_OK  If the operaton was successful
   if (m_name[0])
       return E_SETONCE ;
   strncpy(m_name, name, 15);
   return E_OK ;
}