当前位置: 首页>>代码示例>>C++>>正文


C++ HTMLELEM3_THIS函数代码示例

本文整理汇总了C++中HTMLELEM3_THIS函数的典型用法代码示例。如果您正苦于以下问题:C++ HTMLELEM3_THIS函数的具体用法?C++ HTMLELEM3_THIS怎么用?C++ HTMLELEM3_THIS使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了HTMLELEM3_THIS函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: HTMLElement3_get_disabled

static HRESULT WINAPI HTMLElement3_get_disabled(IHTMLElement3 *iface, VARIANT_BOOL *p)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    VARIANT *var;
    HRESULT hres;

    TRACE("(%p)->(%p)\n", This, p);

    if(This->node.vtbl->get_disabled)
        return This->node.vtbl->get_disabled(&This->node, p);

    hres = dispex_get_dprop_ref(&This->node.dispex, disabledW, FALSE, &var);
    if(hres == DISP_E_UNKNOWNNAME) {
        *p = VARIANT_FALSE;
        return S_OK;
    }
    if(FAILED(hres))
        return hres;

    if(V_VT(var) != VT_BOOL) {
        FIXME("vt %d\n", V_VT(var));
        return E_NOTIMPL;
    }

    *p = V_BOOL(var);
    return S_OK;
}
开发者ID:bilboed,项目名称:wine,代码行数:27,代码来源:htmlelem3.c

示例2: HTMLElement3_GetIDsOfNames

static HRESULT WINAPI HTMLElement3_GetIDsOfNames(IHTMLElement3 *iface, REFIID riid,
                                                LPOLESTR *rgszNames, UINT cNames,
                                                LCID lcid, DISPID *rgDispId)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    return IDispatchEx_GetIDsOfNames(DISPATCHEX(&This->node.dispex), riid, rgszNames, cNames, lcid, rgDispId);
}
开发者ID:bilboed,项目名称:wine,代码行数:7,代码来源:htmlelem3.c

示例3: HTMLElement3_Invoke

static HRESULT WINAPI HTMLElement3_Invoke(IHTMLElement3 *iface, DISPID dispIdMember,
                            REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams,
                            VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    return IDispatchEx_Invoke(DISPATCHEX(&This->node.dispex), dispIdMember, riid, lcid,
            wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
}
开发者ID:bilboed,项目名称:wine,代码行数:8,代码来源:htmlelem3.c

示例4: HTMLElement3_fireEvent

static HRESULT WINAPI HTMLElement3_fireEvent(IHTMLElement3 *iface, BSTR bstrEventName,
        VARIANT *pvarEventObject, VARIANT_BOOL *pfCancelled)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);

    TRACE("(%p)->(%s %s %p)\n", This, debugstr_w(bstrEventName), debugstr_variant(pvarEventObject),
          pfCancelled);

    return dispatch_event(&This->node, bstrEventName, pvarEventObject, pfCancelled);
}
开发者ID:bilboed,项目名称:wine,代码行数:10,代码来源:htmlelem3.c

示例5: HTMLElement3_put_disabled

static HRESULT WINAPI HTMLElement3_put_disabled(IHTMLElement3 *iface, VARIANT_BOOL v)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    VARIANT *var;
    HRESULT hres;

    TRACE("(%p)->(%x)\n", This, v);

    if(This->node.vtbl->put_disabled)
        return This->node.vtbl->put_disabled(&This->node, v);

    hres = dispex_get_dprop_ref(&This->node.dispex, disabledW, TRUE, &var);
    if(FAILED(hres))
        return hres;

    VariantClear(var);
    V_VT(var) = VT_BOOL;
    V_BOOL(var) = v;
    return S_OK;
}
开发者ID:bilboed,项目名称:wine,代码行数:20,代码来源:htmlelem3.c

示例6: HTMLElement3_put_ondeactivate

static HRESULT WINAPI HTMLElement3_put_ondeactivate(IHTMLElement3 *iface, VARIANT v)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    FIXME("(%p)->(%s)\n", This, debugstr_variant(&v));
    return E_NOTIMPL;
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c

示例7: HTMLElement3_put_contentEditable

static HRESULT WINAPI HTMLElement3_put_contentEditable(IHTMLElement3 *iface, BSTR v)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    FIXME("(%p)->(%s)\n", This, debugstr_w(v));
    return E_NOTIMPL;
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c

示例8: HTMLElement3_GetTypeInfo

static HRESULT WINAPI HTMLElement3_GetTypeInfo(IHTMLElement3 *iface, UINT iTInfo,
                                               LCID lcid, ITypeInfo **ppTInfo)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    return IDispatchEx_GetTypeInfo(DISPATCHEX(&This->node.dispex), iTInfo, lcid, ppTInfo);
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c

示例9: HTMLElement3_GetTypeInfoCount

static HRESULT WINAPI HTMLElement3_GetTypeInfoCount(IHTMLElement3 *iface, UINT *pctinfo)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    return IDispatchEx_GetTypeInfoCount(DISPATCHEX(&This->node.dispex), pctinfo);
}
开发者ID:bilboed,项目名称:wine,代码行数:5,代码来源:htmlelem3.c

示例10: HTMLElement3_Release

static ULONG WINAPI HTMLElement3_Release(IHTMLElement3 *iface)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    return IHTMLElement_Release(HTMLELEM(This));
}
开发者ID:bilboed,项目名称:wine,代码行数:5,代码来源:htmlelem3.c

示例11: HTMLElement3_AddRef

static ULONG WINAPI HTMLElement3_AddRef(IHTMLElement3 *iface)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    return IHTMLElement_AddRef(HTMLELEM(This));
}
开发者ID:bilboed,项目名称:wine,代码行数:5,代码来源:htmlelem3.c

示例12: HTMLElement3_get_glyphMode

static HRESULT WINAPI HTMLElement3_get_glyphMode(IHTMLElement3 *iface, LONG *p)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    FIXME("(%p)->(%p)\n", This, p);
    return E_NOTIMPL;
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c

示例13: HTMLElement3_dragDrop

static HRESULT WINAPI HTMLElement3_dragDrop(IHTMLElement3 *iface, VARIANT_BOOL *pfRet)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    FIXME("(%p)->(%p)\n", This, pfRet);
    return E_NOTIMPL;
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c

示例14: HTMLElement3_setActive

static HRESULT WINAPI HTMLElement3_setActive(IHTMLElement3 *iface)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    FIXME("(%p)\n", This);
    return E_NOTIMPL;
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c

示例15: HTMLElement3_mergeAttributes

static HRESULT WINAPI HTMLElement3_mergeAttributes(IHTMLElement3 *iface, IHTMLElement *mergeThis, VARIANT *pvarFlags)
{
    HTMLElement *This = HTMLELEM3_THIS(iface);
    FIXME("(%p)->(%p %p)\n", This, mergeThis, pvarFlags);
    return E_NOTIMPL;
}
开发者ID:bilboed,项目名称:wine,代码行数:6,代码来源:htmlelem3.c


注:本文中的HTMLELEM3_THIS函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。