Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)