Compartilhar via


DEFINE_XR_IID (Compact 2013)

3/28/2014

This macro attaches a GUID to the specified control class and creates an IID for it.

Syntax

DEFINE_XR_IID(
    X,
    guidstring
)

Parameters

  • X
    [in] The control class.
  • guidstring
    [in] The GUID to attach to the control class.

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