Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlDisk_OpenDisk_Local Function
PrlDisk.h  PHT_VIRTUAL_DISK  Send Feedback

Method let to open disk and return handle This function can be used locally, without a Parallels Service connection.

Syntax
PRL_RESULT PrlDisk_OpenDisk_Local(
    PRL_HANDLE_PTR pHandle, 
    PRL_CONST_STR pDiskName, 
    const PRL_DISK_OPEN_FLAGS OpenFlags, 
    PRL_CONST_VOID_PTR pAdditionalFlags
);
File
Parameters

pHandle
A handle of type PHT_VIRTUAL_DISK identifying the virtual disk.
pDiskName
File name in UTF-8 format.
OpenFlags
Disk open parameters.
pAdditionalFlags
Additional flags.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid argument values. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!