Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlDispCfg_GetUsbIdentity Function
PHT_DISP_CONFIG

Returns handle of type PHT_USB_IDENTITY storing information of USB device with specified index.

Syntax
PRL_RESULT PrlDispCfg_GetUsbIdentity(
    PRL_HANDLE hDispCfg, 
    PRL_UINT32 nUsbIdentIndex, 
    PRL_HANDLE_PTR phUsbIdent
);
File

PrlApiDisp.h

Parameters

hDispCfg
A handle of type PHT_DISP_CONFIG.
nUsbIdentIndex
A numeric index identifying object with information about USB device. To determine total number of such objects use PrlDispCfg_GetUsbIdentityCount
phUsbIdent
[out] a pointer to a buffer receiving PHT_USB_IDENTITY handle

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_INVALID_ARG - invalid handle, wrong index or null pointer was passed 

PRL_ERR_OUT_OF_MEMORY - insufficient memory to complete operation 

PRL_ERR_SUCCESS - function completed successively 

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.