include: Remove incorrect [optional] attributes from parameters in ddstream.idl.

This commit is contained in:
Rob Shearman 2008-09-08 23:20:06 +01:00 committed by Alexandre Julliard
parent dc2bee5f42
commit f399e6ecf2
1 changed files with 9 additions and 9 deletions

View File

@ -44,14 +44,14 @@ pointer_default(unique)
interface IDirectDrawMediaStream : IMediaStream
{
HRESULT GetFormat(
[out, optional] DDSURFACEDESC *pDDSDCurrent,
[out, optional] IDirectDrawPalette **ppDirectDrawPalette,
[out, optional] DDSURFACEDESC *pDDSDDesired,
[out, optional] DWORD *pdwFlags);
[out] DDSURFACEDESC *pDDSDCurrent,
[out] IDirectDrawPalette **ppDirectDrawPalette,
[out] DDSURFACEDESC *pDDSDDesired,
[out] DWORD *pdwFlags);
HRESULT SetFormat(
[in] const DDSURFACEDESC *pDDSurfaceDesc,
[in, optional] IDirectDrawPalette *pDirectDrawPalette);
[in] IDirectDrawPalette *pDirectDrawPalette);
HRESULT GetDirectDraw(
[out] IDirectDraw **ppDirectDraw);
@ -60,8 +60,8 @@ interface IDirectDrawMediaStream : IMediaStream
[in] IDirectDraw *pDirectDraw);
HRESULT CreateSample(
[in, optional] IDirectDrawSurface *pSurface,
[in, optional] const RECT *pRect,
[in] IDirectDrawSurface *pSurface,
[in] const RECT *pRect,
[in] DWORD dwFlags,
[out] IDirectDrawStreamSample **ppSample);
@ -79,8 +79,8 @@ pointer_default(unique)
interface IDirectDrawStreamSample : IStreamSample
{
HRESULT GetSurface(
[out, optional] IDirectDrawSurface ** ppDirectDrawSurface,
[out, optional] RECT * pRect);
[out] IDirectDrawSurface ** ppDirectDrawSurface,
[out] RECT * pRect);
HRESULT SetRect(
[in] const RECT * pRect);