Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets the activation factory for the specified runtime class.
Syntax
HRESULT GetActivationFactory(
[in] HSTRING activatableClassId,
[out] T **factory
);
Parameters
[in] activatableClassId
The ID of the activatable class.
[out] factory
The activation factory.
Return value
Returns S_OK on success.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Target Platform | Windows |
| Header | roapi.h (include Stdafx.h) |
| DLL | Combase.dll |