IMFNetCrossOriginSupport::GetSourceOrigin method (mfidl.h)

Returns the W3C origin of the HTML5 media element.

Syntax

HRESULT GetSourceOrigin(
  [out] LPWSTR *wszSourceOrigin
);

Parameters

[out] wszSourceOrigin

The W3C origin of the HTML5 media element.

Return value

Returns S_OK upon successful completion.

Remarks

Use CoTaskMemFree to free the string.

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