Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlVmDev_Create Function
PrlApi.h  Virtual Device Functions  Send Feedback

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 (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!