usign MCI to play video stream

Hi

im trying to play a video which is loaded from an embedded resource into a stream. in MCI's documentation it says that:

"MCI can open AVI files by using a file-interface pointer or a stream-interface pointer. To open a file by using either type of interface pointer, specify an at sign (@) followed by the interface pointer in place of the file or device name for thelpszDevice parameter."

im coding in C#

if i have a stream like this
Stream st

which holds the video, then how do i get the stream interface pointer? or what would the open string which is to be send usingmcisendstring look like?

"open @" + &st wont work because you can't get the address of a managed type being the System.IO.Stream

any help would be appreciated

thanks

[999 byte] By [SinaEizad] at [2008-1-10]

Software Development for Windows Vista

Site Classified