GetWinRtClassActivationFactory

Retrieves an activation factory for the specified class.

Syntax

HRESULT GetWinRtClassActivationFactory(
         const WCHAR *className,
         IActivationFactory **activationFactory
)  

Parameters

className
Type: WCHAR *

[in] The name of the class.

activationFactory
Type: IActivationFactory **

[out] The created activation factory.

Return value

Type: HRESULT 

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header: Declared in Microsoft.Xbox.Gsdk.Networking.h.

Library: Use Microsoft.Xbox.Gsdk.Networking.lib.