IAVIStream::SetFormat
The
SetFormat method sets format information in a stream. Called when an application uses
the
AVIStreamSetFormat function.
HRESULT SetFormat (
PAVISTREAM ps,
|
|
LPVOID lpFormat,
|
|
LONG cbFormat
|
|
);
|
|
Parameters
ps
Address of the interface to a stream.
lpFormat
Address of the buffer for the format data.
cbFormat
Address containing the size, in bytes, of the buffer specified by
lpFormat.
Return Values
Returns the HRESULT defined by OLE.
Remarks
Standard video stream handlers provide format information in a
BITMAPINFOHEADER structure. Standard audio stream handlers provide format information in a
PCMWAVEFORMAT structure. Other data streams can use other structures that describe the
stream data.
For handlers written in C++,
SetFormat has the following syntax:
HRESULT SetFormat(LONG lPos, LPVOID lpFormat, LONG cbFormat)
See Also
AVIStreamSetFormat,
BITMAPINFOHEADER,
PCMWAVEFORMAT
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database