Compartilhar via


XAML for Windows Embedded Macros (Compact 2013)

3/28/2014

The list below describes the macros for XAML for Windows Embedded, a native (C++) UI development framework for Windows Embedded Compact powered devices that is founded on Microsoft Silverlight 3.

Macro

Description

BEGIN_QI_MAP

Defines the beginning of an interface map, which is a list of interfaces that are implemented for an XRObject<Base> object instance in .

DEFINE_XR_IID

Attaches a GUID to the specified control class and creates an interface identifier (IID) for it.

DEFINE_XR_IID2

Attaches a GUID to the specified templated interface and creates an IID for it.

END_QI_MAP

Defines the end of the interface map for an XRObject<Base> object instance in .

QI_IDENTITY_MAPPING(Self,Base)

Defines an interface map that implements the specified interface and adds the interface map of the specified base class to an XRObject<Base> object instance.

QI_MAP_CHAIN(Base)

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

QI_MAP_IID(iid,iface)

Adds an interface with the specified IID to the list of interfaces that are implemented for an XRObject<Base> object instance.

QI_MAP_INTERFACE(iface)

Adds an interface to the list of interfaces that are implemented for an XRObject<Base> object instance in XAML for Windows Embedded.

See Also

Reference

XAML for Windows Embedded Reference
XRObject<Base>
XRCustomUserControlImpl<Base,IFace>