Synopsis
Assign a new object type to a pseudo-MIL object.
Format
void MfuncIdSetObjectType(FunctionId, ObjectId, ObjectType)
MIL_ID FunctionId; | Function identifier |
MIL_ID ObjectId; | Object identifier |
Long ObjectType; | New object type |
Description
This function assigns a new object type to an object that was allocated with the MfuncAllocId? function.
The FunctionId parameter is the MIL identifier of the pseudo-MIL function in use.
The ObjectId parameter is the MIL identifier of the pseudo-MIL object.
The ObjectType parameter is the new object type to be assigned to the specified object. This type is a bit encoded value and must be composed of M_USER_OBJECT_1 or M_USER_OBJECT_2 with one of the 16 least significant bits set (for example, M_USER_OBJECT_1 + 0x1L).
See also