IMFNetCrossOriginSupport::GetCrossOriginPolicy method (mfidl.h)

Returns the client's current cross-origin policy to apply to the download session.

Syntax

HRESULT GetCrossOriginPolicy(
  [out] MF_CROSS_ORIGIN_POLICY *pPolicy
);

Parameters

[out] pPolicy

A value indicating the client's current cross-origin policy to apply to the download session.

Return value

Returns S_OK upon successful completion.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header mfidl.h
Library Mfuuid.lib

See also

IMFNetCrossOriginSupport