Export (0) Print
Expand All

Module::RegisterObjects Method

Registers COM or Windows Runtime objects so other applications can connect to them.

HRESULT RegisterObjects(
   ModuleBase* module, 
   const wchar_t* serverName);


An array of COM or Windows Runtime objects.


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

© 2015 Microsoft