nn::nex::DuplicatedObject::Create Member Function

Syntax

static DuplicatedObject * Create(
     DOClassID idDOClass,
     qUnsignedInt32 uiTimeout = WAIT_INFINITE_TIMEOUT
);

Parameters

Name Description
in idDOClass Duplicated object class ID of the type to create.
in uiTimeout Specifies the timeout interval to wait for creation. The default is infinite.

Return Values

Returns a pointer to the created local instance of the duplicated object. If a value of 0 was specified for uiTimeout, the SYSTEMERROR_GEN_INVALID_WAIT error is signaled.

Description

Creates a local instance of a duplicated object.

Creates a local instance of a duplicated object having the specified duplicated object class ID (DOClassID) type. Duplicated object class IDs are automatically generated by the Data Definition Language (DDL) file.
Note: These values may change if you rewrite the DDL file and rebuild the program.

See Also

Publish, CreateWellKnown

Revision History

2012/01/27
Initial version.

CONFIDENTIAL