次の方法で共有


QI_MAP_CHAIN(Base) (Compact 2013)

3/28/2014

This macro adds the interface map of a base class to an XRObject<Base> object instance.

Syntax

void QI_MAP_CHAIN(
Base)

Parameters

  • Base
    [in] A base class of the current object.

Return Value

None.

Remarks

In XAML for Windows Embedded, an interface map is defined by using the macros BEGIN_QI_MAP and END_QI_MAP. The interface map contains a list of one or more entries. To append an interface map of another class to the current interface map, add an entry to the end of the list by using QI_MAP_CHAIN(Base).

**QI_MAP_CHAIN(Base)**adds the interfaces in the interface map of the Base object to the interface map for the current object.

Requirements

Header

XRUnknown.h

See Also

Reference

XAML for Windows Embedded Macros
BEGIN_QI_MAP
END_QI_MAP