diff --git a/include/amstream.idl b/include/amstream.idl index 410804ce4ba..65bea0dc920 100644 --- a/include/amstream.idl +++ b/include/amstream.idl @@ -91,7 +91,7 @@ interface IAMMultiMediaStream : IMultiMediaStream HRESULT Initialize( [in] STREAM_TYPE StreamType, [in] DWORD dwFlags, - [in] /*[optional]*/ IGraphBuilder *pFilterGraph); + [in, optional] IGraphBuilder *pFilterGraph); HRESULT GetFilterGraph( [out] IGraphBuilder **ppGraphBuilder); @@ -100,10 +100,10 @@ interface IAMMultiMediaStream : IMultiMediaStream [out] IMediaStreamFilter **ppFilter); HRESULT AddMediaStream( - [in] /*[optional]*/ IUnknown *pStreamObject, - [in] /*[optional]*/ const MSPID *PurposeId, + [in, optional] IUnknown *pStreamObject, + [in, optional] const MSPID *PurposeId, [in] DWORD dwFlags, - [out] /*[optional]*/ IMediaStream **ppNewStream); + [out, optional] IMediaStream **ppNewStream); HRESULT OpenFile( [in] LPCWSTR pszFileName, @@ -127,7 +127,7 @@ pointer_default(unique) interface IAMMediaStream : IMediaStream { HRESULT Initialize( - [in] /*[optional]*/ IUnknown *pSourceObject, + [in, optional] IUnknown *pSourceObject, [in] DWORD dwFlags, [in] REFMSPID PurposeId, [in] const STREAM_TYPE StreamType); @@ -231,9 +231,9 @@ interface IAMMediaTypeStream : IMediaStream HRESULT CreateSample( [in] long lSampleSize, - [in] /*[optional]*/ BYTE * pbBuffer, + [in, optional] BYTE * pbBuffer, [in] DWORD dwFlags, - [in] /*[optional]*/ IUnknown *pUnkOuter, + [in, optional] IUnknown *pUnkOuter, [out] IAMMediaTypeSample ** ppAMMediaTypeSample); HRESULT GetStreamAllocatorRequirements( diff --git a/include/ddstream.idl b/include/ddstream.idl index afaa0028efa..bab3604d08e 100644 --- a/include/ddstream.idl +++ b/include/ddstream.idl @@ -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, optional] DDSURFACEDESC *pDDSDCurrent, + [out, optional] IDirectDrawPalette **ppDirectDrawPalette, + [out, optional] DDSURFACEDESC *pDDSDDesired, + [out, optional] DWORD *pdwFlags); HRESULT SetFormat( [in] const DDSURFACEDESC *pDDSurfaceDesc, - [in] /*[optional]*/ IDirectDrawPalette *pDirectDrawPalette); + [in, optional] 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, optional] IDirectDrawSurface *pSurface, + [in, optional] 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, optional] IDirectDrawSurface ** ppDirectDrawSurface, + [out, optional] RECT * pRect); HRESULT SetRect( [in] const RECT * pRect); diff --git a/include/mmstream.idl b/include/mmstream.idl index 4e0177b900f..3b4b59cbac7 100644 --- a/include/mmstream.idl +++ b/include/mmstream.idl @@ -90,8 +90,8 @@ pointer_default(unique) interface IMultiMediaStream : IUnknown { HRESULT GetInformation( - [out] /*[optional]*/ char *pdwFlags, - [out] /*[optional]*/ STREAM_TYPE *pStreamType); + [out, optional] char *pdwFlags, + [out, optional] STREAM_TYPE *pStreamType); HRESULT GetMediaStream( [in] REFMSPID idPurpose, @@ -132,8 +132,8 @@ interface IMediaStream : IUnknown { [out] IMultiMediaStream **ppMultiMediaStream); HRESULT GetInformation( - [out] /*[optional]*/ MSPID *pPurposeId, - [out] /*[optional]*/ STREAM_TYPE *pType); + [out, optional] MSPID *pPurposeId, + [out, optional] STREAM_TYPE *pType); HRESULT SetSameFormat( [in] IMediaStream *pStreamThatHasDesiredFormat, @@ -164,21 +164,21 @@ interface IStreamSample : IUnknown { [in] IMediaStream **ppMediaStream); HRESULT GetSampleTimes( - [out] /*[optional]*/ STREAM_TIME * pStartTime, - [out] /*[optional]*/ STREAM_TIME * pEndTime, - [out] /*[optional]*/ STREAM_TIME * pCurrentTime); + [out, optional] STREAM_TIME * pStartTime, + [out, optional] STREAM_TIME * pEndTime, + [out, optional] STREAM_TIME * pCurrentTime); HRESULT SetSampleTimes( - [in] /*[optional]*/ const STREAM_TIME *pStartTime, - [in] /*[optional]*/ const STREAM_TIME *pEndTime); + [in, optional] const STREAM_TIME *pStartTime, + [in, optional] const STREAM_TIME *pEndTime); HRESULT Update( [in] DWORD dwFlags, - [in] /*[optional]*/ HANDLE hEvent, - [in] /*[optional]*/ PAPCFUNC pfnAPC, - [in] /*[optional]*/ DWORD dwAPCData); + [in, optional] HANDLE hEvent, + [in, optional] PAPCFUNC pfnAPC, + [in, optional] DWORD dwAPCData); HRESULT CompletionStatus( [in] DWORD dwFlags, - [in] /*[optional]*/ DWORD dwMilliseconds); + [in, optional] DWORD dwMilliseconds); };