IltmmTargetFormat::put_Streams

#include "ltmm.h"

C Syntax

HRESULT IltmmTargetFormat_put_Streams(Format, newVal);

C++ Syntax

HRESULT put_Streams(newVal);

IltmmTargetFormat *Format;

pointer to an interface

long newVal;

streams

Sets the streams the target format can have.

Parameter

Description

Format

Pointer to an IltmmTargetFormat interface.

newVal

Value that indicates which streams the target format can have. For a list of possible values, refer to the ltmmTargetFormat_Stream constants. Individual values may be logically OR-ed to create a combination.

Returns

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 get the streams that a target format can have, call IltmmTargetFormat::get_Streams.

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64

See Also

Functions:

IltmmTargetFormat::get_Streams

Topics:

Multimedia Function Group

Example

For an example, refer to Adding a Custom Target Format for C.

For an example, refer to Adding a Custom Target Format for C++.

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

LEADTOOLS Multimedia C API Help