|
|
I have a DirectDraw application that need to use the IDirectDrawMediaStream interface (to display a video in a surface).
I use some DIRECTDRAWSURFACE7 in all the appli, but IDirectDrawMediaStream::CreateSample wants a DIRECTDRAWSURFACE.
I tried to cast my LPDIRECTDRAWSURFACE into a LPDIRECTDRAWSURFACE, but CreateSample returns 0x80070057 (invalid parameter).
How to convert a surface7 into a surface ?
[em24] [em24] |
|