Collapse All
Parallels C API Reference Guide
PrlVmDev_Create Function
PrlApi.h Virtual Device Functions

Creates a new virtual device handle not bound to any virtual machine.

Syntax
PRL_RESULT PrlVmDev_Create(
    PRL_DEVICE_TYPE nDeviceType, 
    PRL_HANDLE_PTR phVmDevice
);
File
Parameters

nDeviceType
The type of handle to create.
phVmDevice
[out] A pointer to a variable that receives the handle.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

It is necessary to call PrlHandle_Free after the handle usage.

Links
Copyright © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!