MFCreateSinkWriterFromURL returns E_ACCESSDENIED General access denied error. The first parameter of MFCreateSinkWriterFromURL is a local folder path, which was changed to 0x34546618 L"??\C:\WINDOWS\System32\mfreadwrite.dll" after execution enter image description here
This problem does not appear every time, sometimes MFCreateSinkWriterFromURL will be successfully executed. I guess it's because of the permissions of mfreadwrite.dll, but I have confirmed that the file is readable and executable.