Determines if the specified virtual machine object contains a virtual machine or a template configuration information.
PRL_RESULT PrlVmCfg_IsTemplate( PRL_HANDLE hVmCfg, PRL_BOOL_PTR pbVmIsTemplate );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
If the object contains a template configuration, it can be used to create new virtual machines from it. See PrlVm_Clone for the information on how to create virtual machines from templates.