SetObjectID Purpose The SetObjectID function sets the object ID. Syntax void SetObjectID (LPCTSTR strObjName);