Share via


IPerceptionFrameProviderManager.GetFrameProvider Method

Definition

The method to request an IPerceptionFrameProvider associated with a registered PerceptionFrameProviderInfo.

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

Parameters

frameProviderInfo
PerceptionFrameProviderInfo

The info specifying the desired IPerceptionFrameProvider.

Returns

The associated IPerceptionFrameProvider, or nullptr if there is no such registerd provider.

Attributes

Remarks

A request with a registered info is expected to return S_OK and a valid IPerceptionFrameProvider, or the appropriate error code. Any requests with a PerceptionFrameProviderInfo which has not been registered or has since been unregistered are expected to return S_OK and nullptr.

Applies to