Visible to Intel only — GUID: GUID-6609ED2C-935D-4DBF-B0EF-3F778F334C7C
Visible to Intel only — GUID: GUID-6609ED2C-935D-4DBF-B0EF-3F778F334C7C
svrng_copy_engine
Allocates memory for a new engine and copies over all parameters
Syntax
svrng_engine_t svrng_copy_engine( svrng_engine_t orig_engine )
Input Parameters
orig_engine |
Pointer to the engine to be copied |
Description
The svrng_copy_engine function allocates memory for a new engine then copies all parameters from original engine to the new engine.
Status flags set
Name |
Description |
---|---|
SVRNG_STATUS_ERROR_MEMORY_ALLOC |
Memory allocation failure |
SVRNG_STATUS_ERROR_BAD_ENGINE |
Bad engine (NULL pointer) |
Return Values
Pointer to the newly created copy of the original engine, or NULL on error.