Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlSrvCfgDev_GetVmUuid Function
PHT_HW_GENERIC_DEVICE

Returns the UUIDs of VM of the specified index that are currently using the device.

Syntax
PRL_RESULT PrlSrvCfgDev_GetVmUuid(
    PRL_HANDLE hGenericDevice, 
    PRL_UINT32 nVmUuidIndex, 
    PRL_STR sVmUuid, 
    PRL_UINT32_PTR pnVmUuidBufLength
);
File

PrlApiDisp.h

Parameters

hGenericDevice
A handle of type PHT_HW_GENERIC_DEVICE, or one of the descendant types, identifying the device.
nVmUuidIndex
A numeric index identifying object within the array of the UUIDs
sVmUuid
[out] filled with the VM UUID.
psVmUuidBufLength
[in] The size of the output buffer (in bytes). Set the buffer pointer to null and this parameter's value to zero to receive the required size. [out] The required output buffer size.

Returns

PRL_RESULT. Possible values: 

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.