76 WARN(
"failed to convert jsval to variant!\n");
141 hres = IEnumVARIANT_Reset(
This->enumvar);
217 ctx->enumerator_constr);
243 FIXME(
"I don't know how to handle this type!\n");
255 WARN(
"Enumerator: no DISPID_NEWENUM.\n");
262 &IID_IEnumVARIANT, (
void**)&
enumvar);
266 FIXME(
"Enumerator: NewEnum unexpected type of varresult (%d).\n",
V_VT(&varresult));
304 case DISPATCH_CONSTRUCT: {
336 static const WCHAR EnumeratorW[] = {
'E',
'n',
'u',
'm',
'e',
'r',
'a',
't',
'o',
'r',0};
void jsval_release(jsval_t val)
static const builtin_info_t EnumeratorInst_info
static IDispatch * get_object(jsval_t v)
GLdouble GLdouble GLdouble r
HRESULT create_builtin_constructor(script_ctx_t *ctx, builtin_invoke_t value_proc, const WCHAR *name, const builtin_info_t *builtin_info, DWORD flags, jsdisp_t *prototype, jsdisp_t **ret)
static HRESULT Enumerator_item(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
static HRESULT enumvar_get_next_item(EnumeratorInstance *This)
void WINAPI VariantInit(VARIANTARG *pVarg)
static HRESULT Enumerator_atEnd(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
GLsizei GLsizei GLuint * obj
static const WCHAR moveNextW[]
static EnumeratorInstance * enumerator_from_jsdisp(jsdisp_t *jsdisp)
HRESULT jsval_copy(jsval_t v, jsval_t *r)
static const WCHAR EnumeratorW[]
static const WCHAR atEndW[]
HRESULT throw_syntax_error(script_ctx_t *ctx, HRESULT error, const WCHAR *str)
HRESULT create_enumerator_constr(script_ctx_t *ctx, jsdisp_t *object_prototype, jsdisp_t **ret)
static BOOL is_object_instance(jsval_t v)
HRESULT variant_to_jsval(VARIANT *var, jsval_t *r)
static HRESULT create_enumerator(script_ctx_t *ctx, jsval_t *argv, jsdisp_t **ret)
static HRESULT Enumerator_moveFirst(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
PFLT_MESSAGE_WAITER_QUEUE CONTAINING_RECORD(Csq, DEVICE_EXTENSION, IrpQueue)) -> WaiterQ.mLock) _IRQL_raises_(DISPATCH_LEVEL) VOID NTAPI FltpAcquireMessageWaiterLock(_In_ PIO_CSQ Csq, _Out_ PKIRQL Irql)
static HRESULT alloc_enumerator(script_ctx_t *ctx, jsdisp_t *object_prototype, EnumeratorInstance **ret)
static const WCHAR moveFirstW[]
static BOOL is_vclass(vdisp_t *vdisp, jsclass_t class)
WINE_DEFAULT_DEBUG_CHANNEL(jscript)
#define JS_E_ENUMERATOR_EXPECTED
static const builtin_prop_t Enumerator_props[]
HRESULT WINAPI DECLSPEC_HOTPATCH VariantClear(VARIANTARG *pVarg)
static const builtin_info_t EnumeratorConstr_info
static const builtin_info_t Enumerator_info
#define DEFAULT_FUNCTION_VALUE
static jsval_t jsval_undefined(void)
static EnumeratorInstance * enumerator_from_vdisp(vdisp_t *vdisp)
static HRESULT EnumeratorConstr_value(script_ctx_t *ctx, vdisp_t *vthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
static void jsdisp_release(jsdisp_t *jsdisp)
static EnumeratorInstance * enumerator_this(vdisp_t *jsthis)
static const WCHAR itemW[]
HRESULT init_dispex(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *prototype)
static jsval_t jsval_obj(jsdisp_t *obj)
struct stdole::DISPPARAMS DISPPARAMS
HRESULT throw_type_error(script_ctx_t *ctx, HRESULT error, const WCHAR *str)
static jsval_t jsval_bool(BOOL b)
static HRESULT Enumerator_moveNext(script_ctx_t *ctx, vdisp_t *jsthis, WORD flags, unsigned argc, jsval_t *argv, jsval_t *r)
HRESULT init_dispex_from_constr(jsdisp_t *dispex, script_ctx_t *ctx, const builtin_info_t *builtin_info, jsdisp_t *constr)
static void Enumerator_destructor(jsdisp_t *dispex)
static BOOL heap_free(void *mem)