Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDiskOpParams_SetDiskCallback Function
PHT_VIRTUAL_DISK_OP_PARAMS

Sets virtual disk callback function and callback parameter assosiated with disk operations parameters handle.

Syntax
PRL_RESULT PrlDiskOpParams_SetDiskCallback(
    PRL_HANDLE hParams, 
    PRL_DISK_CALLBACK pCallback, 
    PRL_VOID_PTR pParam
);
File

PrlDisk.h

Parameters

hParams
[in] A handle of type PHT_VIRTUAL_DISK_OP_PARAMS identifying the parameters object.
pCallback
[in] A pointer to a pointer to the callback function.
pParam
[in] A pointer to a pointer to the callback function parameter.

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_INVALID_ARG - Invalid handle or null pointer was passed. PRL_ERR_SUCCESS - Function completed successfully. 

Links
© 2021 Parallels International GmbH. All rights reserved.