Commit fc9446cb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

Uncommented 'optional' attributes.

parent b624b873
...@@ -91,7 +91,7 @@ interface IAMMultiMediaStream : IMultiMediaStream ...@@ -91,7 +91,7 @@ interface IAMMultiMediaStream : IMultiMediaStream
HRESULT Initialize( HRESULT Initialize(
[in] STREAM_TYPE StreamType, [in] STREAM_TYPE StreamType,
[in] DWORD dwFlags, [in] DWORD dwFlags,
[in] /*[optional]*/ IGraphBuilder *pFilterGraph); [in, optional] IGraphBuilder *pFilterGraph);
HRESULT GetFilterGraph( HRESULT GetFilterGraph(
[out] IGraphBuilder **ppGraphBuilder); [out] IGraphBuilder **ppGraphBuilder);
...@@ -100,10 +100,10 @@ interface IAMMultiMediaStream : IMultiMediaStream ...@@ -100,10 +100,10 @@ interface IAMMultiMediaStream : IMultiMediaStream
[out] IMediaStreamFilter **ppFilter); [out] IMediaStreamFilter **ppFilter);
HRESULT AddMediaStream( HRESULT AddMediaStream(
[in] /*[optional]*/ IUnknown *pStreamObject, [in, optional] IUnknown *pStreamObject,
[in] /*[optional]*/ const MSPID *PurposeId, [in, optional] const MSPID *PurposeId,
[in] DWORD dwFlags, [in] DWORD dwFlags,
[out] /*[optional]*/ IMediaStream **ppNewStream); [out, optional] IMediaStream **ppNewStream);
HRESULT OpenFile( HRESULT OpenFile(
[in] LPCWSTR pszFileName, [in] LPCWSTR pszFileName,
...@@ -127,7 +127,7 @@ pointer_default(unique) ...@@ -127,7 +127,7 @@ pointer_default(unique)
interface IAMMediaStream : IMediaStream interface IAMMediaStream : IMediaStream
{ {
HRESULT Initialize( HRESULT Initialize(
[in] /*[optional]*/ IUnknown *pSourceObject, [in, optional] IUnknown *pSourceObject,
[in] DWORD dwFlags, [in] DWORD dwFlags,
[in] REFMSPID PurposeId, [in] REFMSPID PurposeId,
[in] const STREAM_TYPE StreamType); [in] const STREAM_TYPE StreamType);
...@@ -231,9 +231,9 @@ interface IAMMediaTypeStream : IMediaStream ...@@ -231,9 +231,9 @@ interface IAMMediaTypeStream : IMediaStream
HRESULT CreateSample( HRESULT CreateSample(
[in] long lSampleSize, [in] long lSampleSize,
[in] /*[optional]*/ BYTE * pbBuffer, [in, optional] BYTE * pbBuffer,
[in] DWORD dwFlags, [in] DWORD dwFlags,
[in] /*[optional]*/ IUnknown *pUnkOuter, [in, optional] IUnknown *pUnkOuter,
[out] IAMMediaTypeSample ** ppAMMediaTypeSample); [out] IAMMediaTypeSample ** ppAMMediaTypeSample);
HRESULT GetStreamAllocatorRequirements( HRESULT GetStreamAllocatorRequirements(
......
...@@ -44,14 +44,14 @@ pointer_default(unique) ...@@ -44,14 +44,14 @@ pointer_default(unique)
interface IDirectDrawMediaStream : IMediaStream interface IDirectDrawMediaStream : IMediaStream
{ {
HRESULT GetFormat( HRESULT GetFormat(
[out] /*[optional]*/ DDSURFACEDESC *pDDSDCurrent, [out, optional] DDSURFACEDESC *pDDSDCurrent,
[out] /*[optional]*/ IDirectDrawPalette **ppDirectDrawPalette, [out, optional] IDirectDrawPalette **ppDirectDrawPalette,
[out] /*[optional]*/ DDSURFACEDESC *pDDSDDesired, [out, optional] DDSURFACEDESC *pDDSDDesired,
[out] /*[optional]*/ DWORD *pdwFlags); [out, optional] DWORD *pdwFlags);
HRESULT SetFormat( HRESULT SetFormat(
[in] const DDSURFACEDESC *pDDSurfaceDesc, [in] const DDSURFACEDESC *pDDSurfaceDesc,
[in] /*[optional]*/ IDirectDrawPalette *pDirectDrawPalette); [in, optional] IDirectDrawPalette *pDirectDrawPalette);
HRESULT GetDirectDraw( HRESULT GetDirectDraw(
[out] IDirectDraw **ppDirectDraw); [out] IDirectDraw **ppDirectDraw);
...@@ -60,8 +60,8 @@ interface IDirectDrawMediaStream : IMediaStream ...@@ -60,8 +60,8 @@ interface IDirectDrawMediaStream : IMediaStream
[in] IDirectDraw *pDirectDraw); [in] IDirectDraw *pDirectDraw);
HRESULT CreateSample( HRESULT CreateSample(
[in] /*[optional]*/ IDirectDrawSurface *pSurface, [in, optional] IDirectDrawSurface *pSurface,
[in] /*[optional]*/ const RECT *pRect, [in, optional] const RECT *pRect,
[in] DWORD dwFlags, [in] DWORD dwFlags,
[out] IDirectDrawStreamSample **ppSample); [out] IDirectDrawStreamSample **ppSample);
...@@ -79,8 +79,8 @@ pointer_default(unique) ...@@ -79,8 +79,8 @@ pointer_default(unique)
interface IDirectDrawStreamSample : IStreamSample interface IDirectDrawStreamSample : IStreamSample
{ {
HRESULT GetSurface( HRESULT GetSurface(
[out] /*[optional]*/ IDirectDrawSurface ** ppDirectDrawSurface, [out, optional] IDirectDrawSurface ** ppDirectDrawSurface,
[out] /*[optional]*/ RECT * pRect); [out, optional] RECT * pRect);
HRESULT SetRect( HRESULT SetRect(
[in] const RECT * pRect); [in] const RECT * pRect);
......
...@@ -90,8 +90,8 @@ pointer_default(unique) ...@@ -90,8 +90,8 @@ pointer_default(unique)
interface IMultiMediaStream : IUnknown { interface IMultiMediaStream : IUnknown {
HRESULT GetInformation( HRESULT GetInformation(
[out] /*[optional]*/ char *pdwFlags, [out, optional] char *pdwFlags,
[out] /*[optional]*/ STREAM_TYPE *pStreamType); [out, optional] STREAM_TYPE *pStreamType);
HRESULT GetMediaStream( HRESULT GetMediaStream(
[in] REFMSPID idPurpose, [in] REFMSPID idPurpose,
...@@ -132,8 +132,8 @@ interface IMediaStream : IUnknown { ...@@ -132,8 +132,8 @@ interface IMediaStream : IUnknown {
[out] IMultiMediaStream **ppMultiMediaStream); [out] IMultiMediaStream **ppMultiMediaStream);
HRESULT GetInformation( HRESULT GetInformation(
[out] /*[optional]*/ MSPID *pPurposeId, [out, optional] MSPID *pPurposeId,
[out] /*[optional]*/ STREAM_TYPE *pType); [out, optional] STREAM_TYPE *pType);
HRESULT SetSameFormat( HRESULT SetSameFormat(
[in] IMediaStream *pStreamThatHasDesiredFormat, [in] IMediaStream *pStreamThatHasDesiredFormat,
...@@ -164,21 +164,21 @@ interface IStreamSample : IUnknown { ...@@ -164,21 +164,21 @@ interface IStreamSample : IUnknown {
[in] IMediaStream **ppMediaStream); [in] IMediaStream **ppMediaStream);
HRESULT GetSampleTimes( HRESULT GetSampleTimes(
[out] /*[optional]*/ STREAM_TIME * pStartTime, [out, optional] STREAM_TIME * pStartTime,
[out] /*[optional]*/ STREAM_TIME * pEndTime, [out, optional] STREAM_TIME * pEndTime,
[out] /*[optional]*/ STREAM_TIME * pCurrentTime); [out, optional] STREAM_TIME * pCurrentTime);
HRESULT SetSampleTimes( HRESULT SetSampleTimes(
[in] /*[optional]*/ const STREAM_TIME *pStartTime, [in, optional] const STREAM_TIME *pStartTime,
[in] /*[optional]*/ const STREAM_TIME *pEndTime); [in, optional] const STREAM_TIME *pEndTime);
HRESULT Update( HRESULT Update(
[in] DWORD dwFlags, [in] DWORD dwFlags,
[in] /*[optional]*/ HANDLE hEvent, [in, optional] HANDLE hEvent,
[in] /*[optional]*/ PAPCFUNC pfnAPC, [in, optional] PAPCFUNC pfnAPC,
[in] /*[optional]*/ DWORD dwAPCData); [in, optional] DWORD dwAPCData);
HRESULT CompletionStatus( HRESULT CompletionStatus(
[in] DWORD dwFlags, [in] DWORD dwFlags,
[in] /*[optional]*/ DWORD dwMilliseconds); [in, optional] DWORD dwMilliseconds);
}; };
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment