Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlDiskParams_GetBlockSize Function
PHT_VIRTUAL_DISK_PARAMS  See Also

Gets virtual disk block size in sectors.

Syntax
PRL_RESULT PrlDiskParams_GetBlockSize(
    PRL_HANDLE hParams, 
    PRL_UINT32_PTR pnSize
);
File

PrlDisk.h

Parameters

hParams
[in] A handle of type PHT_VIRTUAL_DISK_PARAMS identifying the virtual disk parameters object.
pnSize
[out] A pointer to a variable that receives size.

Returns

PRL_RESULT. Possible values are: 

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

Remarks

(aligned to track, track = CHSsectors * sector_size)

See Also
Links
© 2021 Parallels International GmbH. All rights reserved.