winrt::no_module_lock marker struct (C++/WinRT)

A marker type used to indicate to the implements base struct that instances of a type do not count toward the module object count. As a result, implements does not increment the module lock when an instance is constructed, nor does it decrement the module lock when an instance is destructed. For a usage example of marker types, see Marker types.

Syntax

struct winrt::no_module_lock

Requirements

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)

See also