Collapse All
Parallels C API Reference Guide
PrlDisk_Free Function
PrlDisk.h PHT_VIRTUAL_DISK

Frees the PHT_VIRTUAL_DISK handle.

Syntax
PRL_RESULT PrlDisk_Free(
    const PRL_HANDLE Handle
);
File
Parameters

Handle
A handle of type PHT_VIRTUAL_DISK identifying the virtual disk.
Returns

PRL_RESULT . Possible values are:

PRL_ERR_INVALID_ARG - invalid handle was passed.

PRL_ERR_SUCCESS - operation completed successfully.

Remarks

This function must be called to free the PHT_VIRTUAL_DISK handle when it is no loner needed. Failure to do so will result in a memory leak.

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