Collapse All
Parallels C API Reference Guide
PrlApi_GetRemoteDeviceRegistration Function
PrlApi.h System Functions

Obtains current registration of the remote devices of specified type

Syntax
PRL_RESULT PrlApi_GetRemoteDeviceRegistration(
    PRL_DEVICE_TYPE device_type, 
    PREMOTE_DEVICE_CREATE_HANDLER* ppCreateHandler, 
    PRL_VOID_PTR* pCreateCtx, 
    PREMOTE_DEVICE_DESTROY_HANDLER* ppDestroyHandler, 
    PREMOTE_DEVICE_COMMAND_HANDLER* ppCommandHandler
);
File
Parameters

device_type
[in] Type of the devices to register as capable to be remote
ppCreateHandler
[out] Function that creates remote device instances
pCreateCtx
[out] Context to pass to the REMOTE_DEVICE_CREATE_HANDLER
ppDestroyHandler
[out] Function that destroys device instance
ppCommandHandler
[out] Function that handles commands to the remote device
Returns

PRL_ERR_SUCCESS - parameters were obtained. Other values means error

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