Compartir a través de


IVPBaseConfig::SetConnectInfo (Compact 2013)

3/26/2014

This method sets the index for the current video port connection information.

Syntax

HRESULT SetConnectInfo(
  DWORD dwChosenEntry
);

Parameters

  • dwChosenEntry
    [in] Index of new video port connect information (zero-based) to pass to the driver.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

HRESULT can include one of the following, or other values not listed.

Value

Description

E_FAIL

Failure.

E_INVALIDARG

Invalid argument.

NOERROR

The video port connect information was set.

Remarks

Retrieve connection information by using IVPBaseConfig::GetConnectInfo.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IVPBaseConfig Interface