Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

AVIStreamTimeToSample function

The AVIStreamTimeToSample function converts from milliseconds to samples.

Syntax


STDAPI_(LONG) AVIStreamTimeToSample(
   PAVISTREAM pavi,
   LONG       lTime
);

Parameters

pavi

Handle to an open stream.

lTime

Time, expressed in milliseconds.

Return value

Returns the converted time if successful or -1 otherwise.

Remarks

Samples typically correspond to audio samples or video frames. Other stream types might support different formats than these.

The argument pavi is a pointer to an IAVIStream interface.

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

DLL

Avifil32.dll

See also

AVIFile Functions and Macros
AVIFile Functions

 

 

Community Additions

ADD
Show:
© 2015 Microsoft