Skip to content

Latest commit

 

History

History
64 lines (43 loc) · 1.16 KB

AVIStreamReadFormat.md

File metadata and controls

64 lines (43 loc) · 1.16 KB

Home

Function name : AVIStreamReadFormat

Group: Windows Multimedia - Library: avifil32


The AVIStreamReadFormat function reads the stream format data.


Code examples:

How to play AVI file on the _screen

Declaration:

STDAPI AVIStreamReadFormat(
  PAVISTREAM pavi,
  LONG lPos,
  LPVOID lpFormat,
  LONG * lpcbFormat
);  

FoxPro declaration:

DECLARE INTEGER AVIStreamReadFormat IN avifil32;
	INTEGER   pavi,;
	INTEGER   lPos,;
	STRING  @ lpFormat,;
	INTEGER @ lpcbFormat
  

Parameters:

pavi Handle to an open stream.

lPos Position in the stream used to obtain the format data.

lpFormat Pointer to a buffer to contain the format data.

lpcbFormat Pointer to a location indicating the size of the memory block referenced by lpFormat.


Return value:

Returns zero if successful or an error otherwise.


Comments:

MSDN says that the argument pavi is a pointer to an IAVIStream interface. From the FoxPro point of view pavi is rather a pointer.