#include "vbscript.h"
#include "wine/debug.h"
Go to the source code of this file.
◆ create_safearray_iter()
Definition at line 163 of file utils.c.
164{
167
168 if(
sa && !(
sa->fFeatures & FADF_VARIANT)) {
169 FIXME(
"enumeration not supported: %x\n",
sa->fFeatures);
171 }
172
174 if(!iter)
176
182 }
183 }
184
190
193}
static struct sockaddr_in sa
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
HRESULT WINAPI SafeArrayLock(SAFEARRAY *psa)
static ULONG get_safearray_size(SAFEARRAY *sa)
static const IEnumVARIANTVtbl safearray_iter_EnumVARIANTVtbl
IEnumVARIANT IEnumVARIANT_iface
Referenced by interp_newenum().
◆ get_safearray_size()
Definition at line 150 of file utils.c.
151{
154
156 return 0;
157
159 ret *=
sa->rgsabound[
i].cElements;
161}
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
Referenced by create_safearray_iter().
◆ impl_from_IEnumVARIANT()
◆ safearray_iter_IEnumVARIANT_AddRef()
Definition at line 60 of file utils.c.
61{
64
66
68}
#define InterlockedIncrement
static safearray_iter * impl_from_IEnumVARIANT(IEnumVARIANT *iface)
◆ safearray_iter_IEnumVARIANT_Clone()
◆ safearray_iter_IEnumVARIANT_Next()
Definition at line 86 of file utils.c.
88{
92
93 TRACE(
"(%p)->(%u %p %p)\n",
This, celt, rgVar, pCeltFetched);
94
95 if(celt != 1) {
98 }
99
101 if(pCeltFetched)
102 *pCeltFetched = 0;
104 }
105
106 if(!
This->sa->cLocks)
107 ERR(
"SAFEARRAY not locked\n");
108
114
116 if(pCeltFetched)
117 *pCeltFetched = 1;
119}
HRESULT WINAPI VariantCopy(VARIANTARG *pvargDest, VARIANTARG *pvargSrc)
◆ safearray_iter_IEnumVARIANT_QueryInterface()
Definition at line 39 of file utils.c.
41{
43
46 *
ppv = &
This->IEnumVARIANT_iface;
49 *
ppv = &
This->IEnumVARIANT_iface;
50 }else {
54 }
55
58}
#define IsEqualGUID(rguid1, rguid2)
◆ safearray_iter_IEnumVARIANT_Release()
Definition at line 70 of file utils.c.
71{
74
76
81 }
82
84}
#define InterlockedDecrement
HRESULT WINAPI SafeArrayUnlock(SAFEARRAY *psa)
◆ safearray_iter_IEnumVARIANT_Reset()
◆ safearray_iter_IEnumVARIANT_Skip()
◆ WINE_DEFAULT_DEBUG_CHANNEL()
WINE_DEFAULT_DEBUG_CHANNEL |
( |
vbscript |
| ) |
|
◆ safearray_iter_EnumVARIANTVtbl
const IEnumVARIANTVtbl safearray_iter_EnumVARIANTVtbl |
|
static |
Initial value:= {
}
static HRESULT WINAPI safearray_iter_IEnumVARIANT_Clone(IEnumVARIANT *iface, IEnumVARIANT **ppEnum)
static ULONG WINAPI safearray_iter_IEnumVARIANT_Release(IEnumVARIANT *iface)
static HRESULT WINAPI safearray_iter_IEnumVARIANT_QueryInterface(IEnumVARIANT *iface, REFIID riid, void **ppv)
static HRESULT WINAPI safearray_iter_IEnumVARIANT_Skip(IEnumVARIANT *iface, ULONG celt)
static HRESULT WINAPI safearray_iter_IEnumVARIANT_Reset(IEnumVARIANT *iface)
static ULONG WINAPI safearray_iter_IEnumVARIANT_AddRef(IEnumVARIANT *iface)
static HRESULT WINAPI safearray_iter_IEnumVARIANT_Next(IEnumVARIANT *iface, ULONG celt, VARIANT *rgVar, ULONG *pCeltFetched)
Definition at line 140 of file utils.c.
Referenced by create_safearray_iter().