Parallels C API Reference Guide
|
Determines if a virtual machine requires a default device of the specified type if it's going to run an operating system of the specified type.
PRL_RESULT PrlVmCfg_IsDefaultDeviceNeeded( PRL_UINT32 guestOsVersion, PRL_DEVICE_TYPE deviceType, PRL_BOOL_PTR pbNeeded );
PRL_RESULT . Possible values:
PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.
PRL_ERR_SUCCESS - function completed successfully.
The function accepts the target operating system type, version, and a device type identifier. Using these parameters, it determines if the specified device is required in order for the projected virtual machine to run properly. If a device is required, you must add it to a virtual machine using the PrlVmCfg_AddDefaultDevice function. If a device is not required, you don't have to add it (it will not affect the operation of a virtual machine).
Copyright (c) 1999-2008 Parallels Software International Inc.
|
What do you think about this topic?
Send feedback!
|