Skip to main content
IMFMediaError::SetExtendedErrorCode method

Sets the extended error code.

Syntax


HRESULT SetExtendedErrorCode(
  [in]  HRESULT error
);

Parameters

error [in]

An HRESULT value that gives additional information about the last error.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Mfmediaengine.h

See also

IMFMediaError