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
svrng_engine_t svrng_copy_engine( svrng_engine_t orig_engine )
orig_engine |
Pointer to the engine to be copied |
The svrng_copy_engine function allocates memory for a new engine then copies all parameters from original engine to the new engine.
Name |
Description |
---|---|
SVRNG_STATUS_ERROR_MEMORY_ALLOC |
Memory allocation failure |
SVRNG_STATUS_ERROR_BAD_ENGINE |
Bad engine (NULL pointer) |
Pointer to the newly created copy of the original engine, or NULL on error.