Collapse All
Parallels C API Reference Guide
PrlDisk_CreateState Function
PrlDisk.h PHT_VIRTUAL_DISK Send Feedback

Start creation procedure of the new state

Syntax
PRL_RESULT PrlDisk_CreateState(
    const PRL_HANDLE Handle, 
    PRL_CONST_STR pDirectoryName, 
    PRL_CONST_GUID_PTR pUid, 
    const PRL_STATES_CALLBACK pCallback, 
    PRL_VOID_PTR pParameter
);
File
Parameters

Handle
A handle of type PHT_VIRTUAL_DISK identifying the virtual disk.
pDirectoryName
Directory name (ignored now).
pUid
New state UID.
pCallback
Callback to signal progress/completion, if it is equal to NULL function will not return until completion.
pParameter
Callback parameter.
Returns

PRL_RESULT . Possible values:

PRL_ERR_INVALID_ARG - invalid argument values.

PRL_ERR_SUCCESS - function completed successfully.

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