Collapse All
Parallels C API Reference Guide
PrlBootDev_GetType Function
PrlApi.h PHT_BOOT_DEVICE See Also

Returns the boot device type.

Syntax
PRL_RESULT PrlBootDev_GetType(
    PRL_HANDLE hVmBootDev, 
    PRL_DEVICE_TYPE_PTR pnDevType
);
File
Parameters

hVmBootDev
A handle of type PHT_BOOT_DEVICE identifying the boot device.
pnDevType
[out] A pointer to a variable that receives the device type.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

Device type is a property that, together with device index, is used to uniquely identify a device in the virtual machine boot list. The supported device types are defined in the PRL_DEVICE_TYPE enumeration.

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