Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlBootDev_IsInUse Function
PrlApi.h  PHT_BOOT_DEVICE  See Also  Send Feedback

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