หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Before using any Microsoft Media Foundation objects or interfaces, you must call the MFStartup function. Pass in the constant MF_VERSION.
hr = MFStartup(MF_VERSION);
The MFStartup function initializes the Media Foundation platform. If MFStartup returns MF_E_BAD_STARTUP_VERSION, it means your application was compiled using a version of the Media Foundation headers that does not match the Media Foundation DLLs on your system.
For every call to MFStartup, your application must call MFShutdown.
MFShutdown();
Related topics