IWMEncDeviceControl::GetInput

Windows Media Encoder SDK banner art

The GetInput method retrieves the name and scheme of a device control from the collection.

Syntax

HRESULT GetInput(
  VARIANT*  pbstrScheme,
  VARIANT*  pbstrInitData,
  BSTR*  pbstrInput
);

Parameters

pbstrScheme

[out]  Pointer to a BSTR containing the scheme.

pbstrInitData

[out]  Pointer to a BSTR containing the initialization data. This parameter is reserved for future use and is ignored at this time.

pbstrInput

[out]  Pointer to a BSTR containing the name and scheme of the input device.

Return Values

If the method succeeds, it returns S_OK. If it fails, it supports the IErrorInfo interface and returns an HRESULT error code.

Return code Number Description
E_POINTER 0x80004003 A pointer is NULL.

Requirements

Header: wmdevctl.h

Library: wmdevctl.dll

See Also