Collapse All
Parallels Virtualization SDK
PrlVmDev_SetPassthrough Function
Virtual Device Functions

Enables the passthrough mode for the specified mass storage device (optical ot hard disk).

Syntax
PRL_RESULT PrlVmDev_SetPassthrough(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bPassthrough
);
File

PrlApiVm.h

Parameters

hVmDev
A handle identifying the device. This can be one of the following: PHT_VIRTUAL_DEV_OPTICAL_DISK , PHT_VIRTUAL_DEV_HARD_DISK .
bPassthrough
Specify PRL_TRUE to enable the passthrough mode. Specify PRL_FALSE to disab;e it.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or invalid handle type was passed.

PRL_ERR_SUCCESS - function completed successfully.

Links
Copyright © 1999-2017 Parallels International GmbH. All rights reserved.