This topic has not yet been rated - Rate this topic

IRTCClient::put_PreferredVideoDevice

The put_PreferredVideoDevice property sets the preferred video device for video capture. This method sets the video device retrieved in IRTCClient::get_PreferredVideoDevice.


HRESULT put_PreferredVideoDevice(
  BSTR bstrDeviceName );

Parameters

bstrDeviceName
[in] The name of the preferred video device to set.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_INVALIDARG No such video device.
RTC_E_CLIENT_NOT_INITIALIZED The client has not been initialized.

Remarks

The value that this method sets will persist for each user after the application is shut down.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.

See Also

IRTCClient, IRTCClient::get_PreferredVideoDevice, IRTCClient::put_PreferredAudioDevice

 

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.