次の方法で共有


DEFINE_XR_IID (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

Silverlight for Windows Embedded Macros