QI_MAP_INTERFACE(iface) (Compact 2013)
3/28/2014
This macro adds an interface to the list of interfaces that are implemented for an XRObject<Base> object instance in XAML 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.
XAML for Windows Embedded uses the UUID that was declared as part of the interface definition to resolve the interface.
Requirements
Header |
XRUnknown.h |