|
STDMETHODIMP | QueryInterface (REFIID InterfaceId, PVOID *Interface) |
|
| STDMETHODIMP_ (ULONG) AddRef() |
|
| STDMETHODIMP_ (ULONG) Release() |
|
HRESULT STDMETHODCALLTYPE | Next (ULONG cMediaTypes, AM_MEDIA_TYPE **ppMediaTypes, ULONG *pcFetched) |
|
HRESULT STDMETHODCALLTYPE | Skip (ULONG cMediaTypes) |
|
HRESULT STDMETHODCALLTYPE | Reset () |
|
HRESULT STDMETHODCALLTYPE | Clone (IEnumMediaTypes **ppEnum) |
|
| CEnumMediaTypes (ULONG MediaTypeCount, AM_MEDIA_TYPE *MediaTypes) |
|
virtual | ~CEnumMediaTypes () |
|
STDMETHODIMP | QueryInterface (REFIID InterfaceId, PVOID *Interface) |
|
| STDMETHODIMP_ (ULONG) AddRef() |
|
| STDMETHODIMP_ (ULONG) Release() |
|
HRESULT STDMETHODCALLTYPE | Next (ULONG cMediaTypes, AM_MEDIA_TYPE **ppMediaTypes, ULONG *pcFetched) |
|
HRESULT STDMETHODCALLTYPE | Skip (ULONG cMediaTypes) |
|
HRESULT STDMETHODCALLTYPE | Reset () |
|
HRESULT STDMETHODCALLTYPE | Clone (IEnumMediaTypes **ppEnum) |
|
| CEnumMediaTypes (ULONG MediaTypeCount, AM_MEDIA_TYPE *MediaTypes) |
|
virtual | ~CEnumMediaTypes () |
|
HRESULT | Next ([in] ULONG cMediaTypes, [out, size_is(cMediaTypes)] AM_MEDIA_TYPE **ppMediaTypes, [out] ULONG *pcFetched) |
|
HRESULT | Skip ([in] ULONG cMediaTypes) |
|
HRESULT | Reset (void) |
|
HRESULT | Clone ([out] IEnumMediaTypes **ppEnum) |
|
HRESULT | QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject) |
|
ULONG | AddRef () |
|
ULONG | Release () |
|
Definition at line 11 of file enum_mediatypes.cpp.
◆ CEnumMediaTypes() [1/2]
◆ ~CEnumMediaTypes() [1/2]
virtual CEnumMediaTypes::~CEnumMediaTypes |
( |
| ) |
|
|
inlinevirtual |
◆ CEnumMediaTypes() [2/2]
◆ ~CEnumMediaTypes() [2/2]
virtual CEnumMediaTypes::~CEnumMediaTypes |
( |
| ) |
|
|
inlinevirtual |
◆ Clone() [1/2]
Implements IEnumMediaTypes.
Definition at line 164 of file enum_mediatypes.cpp.
166{
167#ifdef KSPROXY_TRACE
169#endif
171}
void WINAPI SHIM_OBJ_NAME() OutputDebugStringW(LPCWSTR lpOutputString)
◆ Clone() [2/2]
◆ Next() [1/2]
Definition at line 76 of file enum_mediatypes.cpp.
80{
83
84 if (!ppMediaTypes)
86
87 if (cMediaTypes > 1 && !pcFetched)
89
90 while(
i < cMediaTypes)
91 {
93 break;
94
96 if (!MediaType)
97 break;
98
100 {
102 if (!pFormat)
103 {
105 break;
106 }
107
109 MediaType->pbFormat = pFormat;
112 MediaType->pUnk->AddRef();
113 }
114 else
115 {
117 }
118
119 if (MediaType->pUnk)
120 {
121 MediaType->pUnk->AddRef();
122 }
123
124 ppMediaTypes[
i] = MediaType;
126 }
127
128 if (pcFetched)
129 {
131 }
132
136 else
138}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID WINAPI CoTaskMemFree(LPVOID ptr)
LPVOID WINAPI CoTaskMemAlloc(SIZE_T size)
◆ Next() [2/2]
◆ QueryInterface() [1/2]
◆ QueryInterface() [2/2]
◆ Reset() [1/2]
◆ Reset() [2/2]
◆ Skip() [1/2]
◆ Skip() [2/2]
◆ STDMETHODIMP_() [1/4]
CEnumMediaTypes::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
inline |
◆ STDMETHODIMP_() [2/4]
CEnumMediaTypes::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
inline |
◆ STDMETHODIMP_() [3/4]
CEnumMediaTypes::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
inline |
Definition at line 21 of file enum_mediatypes.cpp.
22 {
25 {
26 delete this;
27 return 0;
28 }
30 }
#define InterlockedDecrement
◆ STDMETHODIMP_() [4/4]
CEnumMediaTypes::STDMETHODIMP_ |
( |
ULONG |
| ) |
|
|
inline |
◆ m_Index
ULONG CEnumMediaTypes::m_Index |
|
protected |
◆ m_MediaTypeCount
ULONG CEnumMediaTypes::m_MediaTypeCount |
|
protected |
◆ m_MediaTypes
◆ m_Ref
LONG CEnumMediaTypes::m_Ref |
|
protected |
The documentation for this class was generated from the following files: