Freigeben über


EditStreamSetName

The EditStreamSetName function assigns a descriptive string to a stream.

SDTAPI EditStreamSetName(
  PAVISTREAM pavi, 
  LPCTSTR lpszName  
);

Parameters

pavi

Handle to an open stream.

lpszName

Null-terminated string containing the description of the stream.

Return Values

Returns zero if successful or an error otherwise.

Remarks

This function updates the szName member of the AVISTREAMINFO structure.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.
**  Library:** Use Vfw32.lib.
**  Unicode:** Implemented as Unicode and ANSI versions on Windows NT/2000/XP.

See Also

AVIFile Functions and Macros, AVIFile Functions, AVISTREAMINFO