| Previous | Next |
| NS_E_WMP_UI_VERSIONMISMATCH | NS_E_WMP_UI_SUBELEMENTNOTFOUND |
NS_E_WMP_UI_NOTATHEMEFILE
How to classify this WMP result
The additional test for the UI not a theme file condition is to record root element, namespace/prolog and selected archive member; that evidence is more useful than reinstalling the Player or changing several unrelated settings at once.
State worth preserving
Capture the UI not a theme file state before the Player advances, reloads, rescans or destroys the owning object:
- What to verify: record root element, namespace/prolog and selected archive member.
- Artifact: resource path, decoded dimensions and transparency/mapping attributes for the UI not a theme file reproduction.
- State: event name, first handler and any duplicate handler declaration for the UI not a theme file reproduction.
- Object identity: skin archive path, member list and selected.wms definition for the UI not a theme file reproduction.
- Underlying evidence: THEME/version declaration and currentViewID for the UI not a theme file reproduction.
- Correlation: control type, object ID and parent/child relation for the UI not a theme file reproduction.
Reproduce without destroying evidence
- Find the first component that returned this result and label that event as the UI not a theme file boundary.
- Freeze the input and object identity associated with UI not a theme file before WMP fallback or cleanup changes it.
- Perform the code-specific test: record root element, namespace/prolog and selected archive member.
Related HRESULTs with different meanings
| Result | Different condition |
|---|---|
NS_E_WMP_UI_SUBELEMENTNOTFOUND | a required child object is absent from the current skin object |
NS_E_WMP_UI_VERSIONMISMATCH | the skin requires a UI engine version different from the installed WMP skin runtime |
NS_E_WMP_UI_SUBCONTROLSNOTSUPPORTED | the skin declares child controls under a control type that does not support sub-controls |
Technical references
- Windows Media Player skins — normative or platform material relevant to this HRESULT.
- Skin definition file structure — API or format context.
- Skin definition XML structure — documentation for this HRESULT.
- Skin files and package contents — normative or platform material relevant to this HRESULT.
Looking for a different code? Search another status or error code.
