Module::GenericReleaseNotifier::GenericReleaseNotifier 构造函数
初始化模块的新实例:: GenericReleaseNotifier 类。
GenericReleaseNotifier(
T callback,
bool release
) throw() : ReleaseNotifier(release), callback_(callback);
参数
callback
可以调用带括号功能运算符的 lambda、 functor 或指向函数的指针的事件处理程序 (())。release
指定 true 启用对基础 模块:: ReleaseNotifier:: 释放 () 方法;否则,请指定 false。
要求
标题: module.h
命名空间: Microsoft:: WRL