ILMMixCapSrcDevice::put_Selected

Summary

Selects the device to use.

Syntax

#include "ilmmixcapsrc.h"
Platform Syntax
C HRESULT ILMMixCapSrcDevice_put_Selected(pixCapSrcDevice, newVal)
C++ HRESULT put_Selected(newVal)

Parameters

ILMMixCapSrcDevice * pixCapSrcDevice

Pointer to an ILMMixCapSrcDevice interface.

VARIANT_BOOL newVal

Flag that determines the device selection state. Possible values are:

Value Meaning
VARIANT_TRUE Select the device.
VARIANT_FALSE Do not select the device.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

To query whether the device is currently selected, call ILMMixCapSrcDevice::get_Selected.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Help Version 23.0.2024.7.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Filters C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.