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);

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

Show:
© 2015 Microsoft