Share via


QI_MAP_INTERFACE(iface) (Compact 7)

3/12/2014

This macro adds an interface to the list of interfaces that are implemented for an XRObject<Base> object instance in Silverlight for Windows Embedded.

Syntax

void QI_MAP_INTERFACE(
iface)

Parameters

  • iface
    [in] The name of the interface to implement for the XRObject<Base> object instance.

Return Value

None.

Remarks

To obtain an interface pointer to an XRObject<Base> instance of a custom class type by calling XRObject.QueryInterface(const IID&,void * *), you must first add the interface to the interface map for that class by using the QI_MAP_INTERFACE(iface) macro.

Silverlight for Windows Embedded uses the UUID that was declared as part of the interface definition to resolve the interface.

Requirements

Header

XRUnknown.h

See Also

Reference

Silverlight for Windows Embedded Macros
BEGIN_QI_MAP
END_QI_MAP