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

This function used to get HDD identify information as it shown in guest OS

Syntax
PRL_RESULT PrlDisk_GetIdentify(
    const PRL_HANDLE Handle, 
    PRL_CHAR_PTR Model, 
    PRL_CHAR_PTR Serial, 
    PRL_CHAR_PTR Firmware
);
File
Parameters

Handle
A handle of type PHT_VIRTUAL_DISK identifying the source virtual disk.
Model
Pointer to array of 41 ASCII elements, that will receive HDD model string
Serial
Pointer to array of 21 ASCII elements, that will receive HDD serial number
Firmware
Pointer to array of 9 ASCII elements, that will receive HDD firmware revision
Returns

PRL_RESULT error code.

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