ActivationFactoryCallback Function
Supports the WRL infrastructure and is not intended to be used directly from your code.
Syntax
inline HRESULT STDAPICALLTYPE ActivationFactoryCallback(
HSTRING activationId,
IActivationFactory **ppFactory
);
Parameters
activationId
Handle to a string that specifies a runtime class name.
ppFactory
When this operation completes, an activation factory that corresponds to parameter activationId.
Return Value
S_OK if successful; otherwise, an HRESULT that describes the failure. Likely failure HRESULTs are CLASS_E_CLASSNOTAVAILABLE and E_INVALIDARG.
Remarks
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.
Requirements
Header: module.h
Namespace: Microsoft::WRL::Details
See also
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir