IAVIFile::CreateStream method (vfw.h)

The CreateStream method creates a stream for writing. Called when an application uses the AVIFileCreateStream function.

Syntax

HRESULT CreateStream(
  PAVISTREAM     *ppStream,
  AVISTREAMINFOW *psi
);

Parameters

ppStream

Pointer to a buffer that receives a pointer to the interface to the new stream.

psi

Pointer to an AVISTREAMINFO structure defining the stream to create.

Return value

Returns HRESULT defined by OLE.

Remarks

For handlers written in C++, CreateStream has the following syntax:


HRESULT CreateStream(PAVISTREAM *ppstream, 
    AVISTREAMINFO *psi); 
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h
Library Vfw32.lib

See also

Custom File and Stream Handler Interfaces

Custom File and Stream Handlers