Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlSrvCfgDev_GetType Function
PHT_HW_GENERIC_DEVICE

Obtains the device type.

Syntax
PRL_RESULT PrlSrvCfgDev_GetType(
    PRL_HANDLE hGenericDevice, 
    PRL_DEVICE_TYPE_PTR pnDevType
);
File

PrlApiDisp.h

Parameters

hGenericDevice
A handle of type PHT_HW_GENERIC_DEVICE, or one of the descendant types, identifying the device.
pnDevType
[out] A pointer to a variable that receives the device type.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

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