Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlVmDev_SetEnabled Function
Virtual Device Functions

Enables the specified virtual device..

Syntax
PRL_RESULT PrlVmDev_SetEnabled(
    PRL_HANDLE hVmDev, 
    PRL_BOOL bEnabled
);
File

PrlApiVm.h

Parameters

hVmDev
A handle identifying the virtual device.
bEnabled
Specify PRL_TRUE to enable the device. Specified PRL_FALSE to disable it.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

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