Collapse All
Parallels Virtualization SDK
PrlApi_RegisterRemoteDevice Function
System Functions

Registers remote devices of specified type

Syntax
PRL_RESULT PrlApi_RegisterRemoteDevice(
    PRL_DEVICE_TYPE device_type, 
    PREMOTE_DEVICE_CREATE_HANDLER pCreateHandler, 
    PRL_VOID_PTR createCtx, 
    PREMOTE_DEVICE_DESTROY_HANDLER pDestroyHandler, 
    PREMOTE_DEVICE_COMMAND_HANDLER pCommandHandler
);
File

PrlApiRemoteDev.h

Parameters

device_type
[in] Type of the devices to register as capable to be remote
pCreateHandler
[in] Function that creates remote device instances
createCtx
[in] Context to pass to the REMOTE_DEVICE_CREATE_HANDLER
pDestroyHandler
[in] Function that destroys device instance
pCommandHandler
[in] Function that handles commands to the remote device
Returns

PRL_ERR_SUCCESS - device was registered. Other values means some error

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