TerminateMap Function

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at TerminateMap Function.

Supports the WRL infrastructure and is not intended to be used directly from your code.

inline bool TerminateMap(  
   _In_ ModuleBase *module,   
   _In_opt_z_ const wchar_t *serverName,   
    bool forceTerminate) throw()  

module
A module.

serverName
The name of a subset of class factories in the module specified by parameter module.

forceTerminate
true to terminate the class factories regardless of they are active; false to not terminate the class factories if any factory is active.

true if all class factories were terminated; otherwise, false.

Shuts down the class factories in the specified module.

Header: module.h

Namespace: Microsoft::WRL::Details

Microsoft::WRL::Details Namespace

Show: