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

Determines whether the boot device is enabled or disabled.

Syntax
PRL_RESULT PrlBootDev_IsInUse(
    PRL_HANDLE hVmBootDev, 
    PRL_BOOL_PTR pbInUse
);
File
Parameters

hVmBootDev
A handle of type PHT_BOOT_DEVICE identifying the boot device.
pbInUse
[out] Pointer to a variable that receives the result PRL_TRUE indicates that the device is enabled. PRL_FALSE indicates otherwise.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed.

PRL_ERR_SUCCESS - function completed successfully.

Remarks

A boot device can be either enabled or disabled. If a device is disabled, it is ignored during the boot operation. To change the status of a device, use the PrlBootDev_SetInUse function.

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