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.
Invokes an event handler when the last object in the current module is released. The event handler is specified by on a lambda, functor, or pointer-to-function.
template<
typename T
>
class GenericReleaseNotifier : public ReleaseNotifier;
Parameters
- T
The type of the data member that contains the location of the event handler.
Members
Public Constructors
Name |
Description |
---|---|
Module::GenericReleaseNotifier::GenericReleaseNotifier Constructor |
Initializes a new instance of the Module::GenericReleaseNotifier class. |
Public Methods
Name |
Description |
---|---|
Calls the event handler associated with the current Module::GenericReleaseNotifier object. |
Protected Data Members
Name |
Description |
---|---|
Holds the lambda, functor, or pointer-to-function event handler associated with the current Module::GenericReleaseNotifier object. |
Inheritance Hierarchy
ReleaseNotifier
GenericReleaseNotifier
Requirements
Header: module.h
Namespace: Microsoft::WRL