Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDisk_Free Function
PHT_VIRTUAL_DISK

Frees the PHT_VIRTUAL_DISK handle.

Syntax
PRL_RESULT PrlDisk_Free(
    const PRL_HANDLE Handle
);
File

PrlDisk.h

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 ©2016-2017 Parallels International GmbH. All rights reserved.