Group: Windows Multimedia - Library: avifil32
How to play AVI file on the _screen
STDAPI AVIStreamReadFormat(
PAVISTREAM pavi,
LONG lPos,
LPVOID lpFormat,
LONG * lpcbFormat
);
DECLARE INTEGER AVIStreamReadFormat IN avifil32;
INTEGER pavi,;
INTEGER lPos,;
STRING @ lpFormat,;
INTEGER @ lpcbFormat
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.
Returns zero if successful or an error otherwise.
MSDN says that the argument pavi is a pointer to an IAVIStream interface. From the FoxPro point of view pavi is rather a pointer.