次の方法で共有


DEFINE_XR_IID2 (Compact 2013)

3/28/2014

This macro attaches a GUID to the specified templated interface and creates an IID for it.

Syntax

DEFINE_XR_IID2(X,guidstring)

Parameters

  • X
    [in] The templated interface.
  • guidstring
    [in] The GUID to attach to the templated interface.

Return Value

None.

Remarks

After you use this macro, you can use the uuid(guidstring) or __uuidof(x) operators, for example, to retrieve the GUID attached to an expression such as an interface definition. For more information, see this Microsoft Web site and this Microsoft Web site.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

XAML for Windows Embedded Macros