Get current VM profile.
PRL_RESULT PrlVmCfg_GetProfile( PRL_HANDLE hVm, PRL_VIRTUAL_MACHINE_PROFILE_PTR pnVmProfile );
PrlApiVm.h
PRL_RESULT. Possible values:
PRL_ERR_INVALID_ARG - invalid handle was passed.
PRL_ERR_SUCCESS - function completed successfully.
Use PrlVmCfg_IsCustomProfile to detect if settings were modified after profile application.