| title | ActivationFactoryCallback Function | Microsoft Docs | ||
|---|---|---|---|
| ms.custom | |||
| ms.date | 11/04/2016 | ||
| ms.technology |
|
||
| ms.topic | reference | ||
| f1_keywords |
|
||
| dev_langs |
|
||
| helpviewer_keywords |
|
||
| ms.assetid | dd40c79b-1273-4f2a-8c24-ae9926fb4fd9 | ||
| author | mikeblome | ||
| ms.author | mblome | ||
| ms.workload |
|
Supports the WRL infrastructure and is not intended to be used directly from your code.
inline HRESULT STDAPICALLTYPE ActivationFactoryCallback(
HSTRING activationId,
IActivationFactory **ppFactory
);
activationId
Handle to a string that specifies a runtime class name.
ppFactory
When this operation completes, an activation factory that corresponds to parameter activationId.
S_OK if successful; otherwise, an HRESULT that describes the failure. Likely failure HRESULTs are CLASS_E_CLASSNOTAVAILABLE and E_INVALIDARG.
Gets the activation factory for the specified activation ID.
The Windows Runtime calls this callback function to request an object specified by its runtime class name.
Header: module.h
Namespace: Microsoft::WRL::Details