You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**ActivationFactory** provides registration methods and basic functionality for the `IActivationFactory` interface. **ActivationFactory** also enables you to provide a custom factory implementation.
43
+
`ActivationFactory` provides registration methods and basic functionality for the `IActivationFactory` interface. `ActivationFactory` also enables you to provide a custom factory implementation.
44
44
45
45
The following code fragment symbolically illustrates how to use ActivationFactory.
46
46
@@ -54,20 +54,20 @@ The following code fragment shows how to use the [Implements](../windows/impleme
54
54
55
55
### Public Constructors
56
56
57
-
|Name|Description|
58
-
|----------|-----------------|
59
-
|[ActivationFactory::ActivationFactory Constructor](../windows/activationfactory-activationfactory-constructor.md)|Initializes the **ActivationFactory** class.|
[ActivationFactory::ActivationFactory](#activationfactory) | Initializes the `ActivationFactory` class.
60
60
61
61
### Public Methods
62
62
63
-
|Name|Description|
64
-
|----------|-----------------|
65
-
|[ActivationFactory::AddRef Method](../windows/activationfactory-addref-method.md)|Increments the reference count of the current **ActivationFactory** object.|
66
-
|[ActivationFactory::GetIids Method](../windows/activationfactory-getiids-method.md)|Retrieves an array of implemented interface IDs.|
67
-
|[ActivationFactory::GetRuntimeClassName Method](../windows/activationfactory-getruntimeclassname-method.md)|Gets the runtime class name of the object that the current **ActivationFactory** instantiates.|
68
-
|[ActivationFactory::GetTrustLevel Method](../windows/activationfactory-gettrustlevel-method.md)|Gets the trust level of the object that the current **ActivationFactory** instantiates.|
69
-
|[ActivationFactory::QueryInterface Method](../windows/activationfactory-queryinterface-method.md)|Retrieves a pointer to the specified interface.|
70
-
|[ActivationFactory::Release Method](../windows/activationfactory-release-method.md)|Decrements the reference count of the current **ActivationFactory** object.|
[ActivationFactory::AddRef](#addref) | Increments the reference count of the current `ActivationFactory` object.
66
+
[ActivationFactory::GetIids](#getiids) | Retrieves an array of implemented interface IDs.
67
+
[ActivationFactory::GetRuntimeClassName](#getruntimeclassname) | Gets the runtime class name of the object that the current `ActivationFactory` instantiates.
68
+
[ActivationFactory::GetTrustLevel](#gettrustlevel) | Gets the trust level of the object that the current `ActivationFactory` instantiates.
69
+
[ActivationFactory::QueryInterface](#queryinterface) | Retrieves a pointer to the specified interface.
70
+
[ActivationFactory::Release](#release) | Decrements the reference count of the current `ActivationFactory` object.
71
71
72
72
## Inheritance Hierarchy
73
73
@@ -97,6 +97,122 @@ The following code fragment shows how to use the [Implements](../windows/impleme
Gets the runtime class name of the object that the current `ActivationFactory` instantiates.
148
+
149
+
```cpp
150
+
STDMETHOD(
151
+
GetRuntimeClassName
152
+
)(_Out_ HSTRING* runtimeName);
153
+
```
154
+
155
+
### Parameters
156
+
157
+
*runtimeName*<br/>
158
+
When this operation completes, a handle to a string that contains the runtime class name of the object that the current `ActivationFactory` instantiates.
159
+
160
+
### Return Value
161
+
162
+
S_OK if successful; otherwise, an HRESULT that describes the failure.
0 commit comments