Export (0) Print
Expand All

IActivationFactory interface

Enables classes to be activated by the Windows Runtime.

When to implement

You must implement this interface for every class that has an activatable class identifier and that you register in the Windows Runtime Activation Store.

Members

The IActivationFactory interface inherits from IInspectable but does not have additional members.

Remarks

Implement the IActivationFactory interface when you create a class that you want Windows Runtime applications to use. Clients call the ActivateInstance method to use an instance of your class.

You can get an IActivationFactory pointer by calling the RoGetActivationFactory function.

During activation of a class, the Windows Runtime calls the DllGetActivationFactory function to get an IActivationFactory pointer that corresponds to the requested class.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Activation.h

IDL

Activation.idl

IID

IID_IActivationFactory is defined as 00000035-0000-0000-C000-000000000046

See also

DllGetActivationFactory
IClassFactory
RoGetActivationFactory

 

 

Community Additions

ADD
Show:
© 2014 Microsoft