LEADTOOLS Multimedia API Help > LEADTOOLS Multimedia Features > Multimedia Function References > IltmmTargetFormat Interface > IltmmTargetFormat::get_Streams |
The format to be used for the converted file. This includes the file format, any special settings used by that format, and which audio and/or video codec is to be used for the conversion, and any special settings used by the codecs.
A COmpressor combined with a DECompressor, or encoder and a decoder, which allows you to both compress and decompress that same data.
#include "ltmm.h"
C Syntax |
HRESULT IltmmTargetFormat_get_Streams(Format, Streams); |
C++ Syntax |
HRESULT get_Streams(Streams); |
IltmmTargetFormat *Format; |
/* pointer to an interface */ |
long *Streams; |
/* pointer to a variable */ |
Retrieves a value that indicates which streams the target format can have.
Parameter |
Description |
Format |
Pointer to an IltmmTargetFormat interface. |
Streams |
Pointer to a variable to be updated with a value that indicates which streams the target format can have. For a list of possible values, refer to ltmmTargetFormat_Stream constants. Individual values can be logically OR-ed. |
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 set the streams that a target format can have, call IltmmTargetFormat::put_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. |
Win32, x64
See Also
Functions: |
|
Topics: |
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++.