Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAVIFile::CreateStream method

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

Syntax


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

Parameters

pf

Pointer to the interface to a file.

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

See also

Custom File and Stream Handlers
Custom File and Stream Handler Interfaces

 

 

Community Additions

Show:
© 2014 Microsoft