Allows to modify a regular virtual machine to become a template, and vise versa.
PRL_RESULT PrlVmCfg_SetTemplateSign( PRL_HANDLE hVmCfg, PRL_BOOL bVmIsTemplate );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
A template is very similar to a regular virtual machine with the major exception being it cannot be started. Templates are used to create new virtual machines as exact copies of them. To create a virtual machine from a template, use the PrlVm_Clone function specifying the template as the source.