SetObjectName Purpose The SetObjectName function sets the object name. Syntax void SetObjectName(LPCTSTR strObjName);