Export (0) Print
Expand All

Module::Create Method

Creates an instance of a module.

WRL_NOTHROW static Module& Create();
template<
   typename T
>
WRL_NOTHROW static Module& Create(
   T callback
);
template<
   typename T
>
WRL_NOTHROW static Module& Create(
   _In_ T* object,
   _In_ void (T::* method)()
);

T

Module type.

callback

Called when the last instance object of the module is released.

object

The object and method parameters are used in combination. Points to the last instance object when the last instance object in the module is released.

method

The object and method parameters are used in combination. Points to the method of the last instance object when the last instance object in the module is released.

Reference to the module.

Header: module.h

Namespace: Microsoft::WRL

Show:
© 2014 Microsoft