Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_SetDockIconType Function
PHT_VM_CONFIGURATION

Sets the virtual machine dock icon type.

Syntax
PRL_RESULT PrlVmCfg_SetDockIconType(
    PRL_HANDLE hVmCfg, 
    PRL_DOCK_ICON_TYPE nVmDockIconType
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
nVmDockIconType
The icon type to set.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Remarks

Parallels Tools must be installed to use this feature. To obtain the Parallels Tools status, use the PrlVm_GetToolsState function.

Links
© 2021 Parallels International GmbH. All rights reserved.