winrt::is_guid_of function template (C++/WinRT)
A helper function template that determines whether or not the provided GUID is that of one of the specified runtime classes, coclasses, or interfaces.
You can provide your own specialization(s) of winrt::is_guid_of. For more details, and code examples, see Implement a COM interface that derives from another.
template <typename... T>
bool is_guid_of(winrt::guid const& id) noexcept;
typename... T
A variadic template parameter pack containing the types of the runtime classes, coclasses, or interfaces whose GUIDs you wish to match against the provided one.
id
A winrt::guid function object of type F
.
true
if id matches the GUID of one of the types T; otherwise, false
.
Minimum supported SDK: Windows SDK version 10.0.17134.0 (Windows 10, version 1803)
Namespace: winrt
Header: %WindowsSdkDir%Include<WindowsTargetPlatformVersion>\cppwinrt\winrt\base.h (included by default)