Used to create a new object. The DRM class of the object must be specified. The object's fields are initialized to the default values for that class.
The object is not actually stored in the transmittal until
SE_AddToTransmittal() is called.
Until then, it remains in an unsaved state, and becomes resolved
when added to the transmittal.
SE_NULL_REQUIRED_PARAMETER - and *new_object_out_ptr is unaffected, if new_object_out_ptr is NULL.
SE_OUT_OF_MEMORY - and *new_object_out_ptr is set to NULL, if memory can't be allocated for the new object.
SE_FAILURE - and
*new_object_out_ptr is set to NULL, if
| extern SE_STATUS_CODE_ENUM | ||||
| SE_CreateObject | ||||
| ( | ||||
| const | char | implementation_identifier[], | (notes) | |
| SE_TOKEN_ENUM | new_object_tag, | (notes) | ||
| SE_OBJECT | * | new_object_out_ptr | (notes) | |
| ); | ||||
identifies the API implementation
to use when creating this object. If the specified API can't create
the object, then the API will return a status code indicating why it
could not be created. If implementation_identifier is NULL, then the
API implementation to be used must be statically bound at compile time.
See also SE_GetImplementationIdentifier().
the DRM class of the object being created.
pointer to a variable, passed in by the user,
in which a handle to the object being created will be placed.