Registers one or more Windows Runtime objects so other applications can connect to them.
HRESULT RegisterWinRTObject(const wchar_t* serverName,
unsigned int count)
A name that specifies a subset of objects affected by this operation.
An array of activatable CLSIDs to register.
A value that identifies the class objects that were registered. This value is used later to revoke the registration.
The number of objects to register.
S_OK if successful; otherwise, an error HRESULT such as CO_E_OBJISREG that indicates the reason the operation failed.