Collapse All
Parallels Virtualization SDK
PrlVmCfg_IsGuestSharingEnableSpotlight Function
PHT_VM_CONFIGURATION

Determines if the virtual disks in a virtual machine will be added to Spotlight search subsystem (OS X feature).

Syntax
PRL_RESULT PrlVmCfg_IsGuestSharingEnableSpotlight(
    PRL_HANDLE hVmCfg, 
    PRL_BOOL_PTR pbVmGuestSharingEnableSpotlight
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
pbVmGuestSharingEnableSpotlight
[out] A pointer to a variable that receives the result. PRL_TRUE indicates that virtual disks are added to Spotlight search subsystem. PRL_FALSE indicates otherwise.
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
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.