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

Start delete state procedure.

Syntax
PRL_RESULT PrlDisk_DeleteState(
    const PRL_HANDLE Handle, 
    PRL_CONST_STR pDirectoryName, 
    PRL_CONST_GUID_PTR pUid, 
    const PRL_BOOL bMerge, 
    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
UID of the state to delete.
bMerge
Merge snapshot or pure delete.
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-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!