ARCreateOverlayFromObject
Privileges
AR System administrator
Synopsis
#include "arerrno.h"
#include "arextern.h"
#include "arstruct.h"
int ARCreateOverlayFromObject(
ARControlStruct *control
AROverlaidStruct *overlaid
AROverlaidStruct *customObj
Char *objectModificationLogLabel
ARNameType name
ARInternalID *overlayID
ARStatusList *status
Input arguments
control
The control record for the operation. It contains information about the user requesting the operation, where that operation is to be performed, and which session is used to perform it. The user, server, and overlayGroup fields are required.
overlaid
Information about the object to be overlaid, including its type. To convert an object to a custom object, enter NULL in this parameter.
When an existing object is turned into an overlay, all grains of the overlay are overwritten — nothing is extended or inherited. The inheritMask and extendMask for this call must be set to 0.
Values for object types that can be overlaid
For more information about this structure, see Overlays-and-structures.
customObj
Information about the object to be converted into a custom object.
objectModificationLogLabel
Version control label associated with an object in the object modification log. See Adding-version-control-labels-to-objects.
Return values
name
Real name of the overlay object created by this function:
- If an object is converted into an overlay, the name of the new overlay object is composed of the name of the overlaid object along with the suffix __o :
overlaidObjectName__o
See Overlay-object-names. - If an object is converted into a custom object, the name of the new custom object is returned, which is the same as the origin object.
See Working-with-overlays.
overlayID
ID number of the overlay object if the overlaid object is a view or a field. See Overlay-object-names.
status
A list of zero or more notes, warnings, or errors generated from a call to this function. See Error-checking for a description of all possible values.