0 out of 1 rated this helpful - Rate this topic

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

Minimum supported server

Windows Server 2012

Header

Activation.h

IDL

Activation.idl

IID

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

See also

DllGetActivationFactory
IClassFactory
RoGetActivationFactory

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.