Module::RegisterObjects Method
Visual Studio 2015
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 Module::RegisterObjects Method.
Registers COM or Windows Runtime objects so other applications can connect to them.
HRESULT RegisterObjects( ModuleBase* module, const wchar_t* serverName);
Parameters
module
An array of COM or Windows Runtime objects.
serverName
Name of the server that created the objects.
S_OK if successful; otherwise, an HRESULT that indicates the reason the operation failed.
Header: module.h
Namespace: Microsoft::WRL
Module Class
Show: