| Previous | Next |
| NS_E_METADATA_CANNOT_RETRIEVE_FROM_OFFLINE_CACHE | MF_E_BUFFERTOOSMALL |
MF_E_PLATFORM_NOT_INITIALIZED
MF_E_PLATFORM_NOT_INITIALIZED means that the process has not initialized the Media Foundation platform for the operation being attempted. This is process-level setup, not a missing media type on one particular transform.
Correct lifetime
- Call
MFStartupduring application initialization before creating or using Media Foundation objects. - Balance every successful
MFStartupcall withMFShutdownwhen the application is done. - Do not move startup or shutdown into static constructors or Media Foundation work-queue threads.
If it appears only during shutdown, inspect ownership and teardown order: a worker may still be using Media Foundation after another component has released the platform.
Looking for a different code? Search another status or error code.