Parallels Desktop® 10 for Mac — C API Reference Guide
|
Get state of the audio switcher from host.
PRL_RESULT PrlDevAudio_GetSwitcherState( PRL_HANDLE hVm );
PrlApiVm.h
PRL_RESULT . Possible values:
PRL_ERR_SUCCESS - audio input stream start request has been sent.
PRL_ERR_FAILURE - send of input start request to Vm has been failed.
PRL_ERR_INVALID_ARG - Vm handle is incorrect or some pointer is invalid.
PRL_ERR_UNINITIALIZED - there is no any valid connection to Vm. # PrlDevDisplay_ConnectToVm wasn't called.
If client is not connected to vm with # PrlDevDisplay_ConnectToVm call error will be returned, otherwise start request will be sent, PRL_ERR_SUCCESS returned and event #PET_IO_CLI_GET_AUDIO_SWITCH_SETTINGS_RESPONSE with operation status code should be handled.
Copyright © 1999-2015 Parallels IP Holdings GmbH and its affiliates. All rights reserved.
|
What do you think about this topic?
Send feedback!
|