IPerceptionFrameProviderManager.GetFrameProvider 方法

定义

请求与注册的 PerceptionFrameProviderInfo 关联的 IPerceptionFrameProvider 的方法。

public:
 IPerceptionFrameProvider ^ GetFrameProvider(PerceptionFrameProviderInfo ^ frameProviderInfo);
IPerceptionFrameProvider GetFrameProvider(PerceptionFrameProviderInfo const& frameProviderInfo);
/// [Windows.Foundation.Metadata.Deprecated("IPerceptionFrameProviderManager may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
IPerceptionFrameProvider GetFrameProvider(PerceptionFrameProviderInfo const& frameProviderInfo);
public IPerceptionFrameProvider GetFrameProvider(PerceptionFrameProviderInfo frameProviderInfo);
[Windows.Foundation.Metadata.Deprecated("IPerceptionFrameProviderManager may be unavailable after Windows Creator Update. Please refer to AVStream on MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 262144, "Windows.Foundation.UniversalApiContract")]
public IPerceptionFrameProvider GetFrameProvider(PerceptionFrameProviderInfo frameProviderInfo);
function getFrameProvider(frameProviderInfo)
Public Function GetFrameProvider (frameProviderInfo As PerceptionFrameProviderInfo) As IPerceptionFrameProvider

参数

frameProviderInfo
PerceptionFrameProviderInfo

指定所需 IPerceptionFrameProvider 的信息。

返回

关联的 IPerceptionFrameProvider;如果没有此类注册的提供程序,则为 nullptr。

属性

注解

具有已注册信息的请求应返回S_OK和有效的 IPerceptionFrameProvider 或相应的错误代码。 任何具有 PerceptionFrameProviderInfo 且尚未注册或已注销的请求都应返回S_OK和 nullptr。

适用于