Share via


IXRApplication::RegisterResourceManager (Windows Embedded CE 6.0)

1/6/2010

This method registers an instance of IXRResourceManager for use by Silverlight whenever this application attempts to load resources.

The IXRResourceManager object receives callbacks from the Silverlight system when Silverlight is trying to resolve resources and requests support from the resource manager.

Syntax

virtual HRESULT STDMETHODCALLTYPE RegisterResourceManager(
    IXRResourceManager* pResourceManager
) = 0;

Parameters

  • pResourceManager
    [in] Pointer to an IXRResourceManager object for Silverlight to use for resolving resources.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

An application should register an IXRResourceManager object for Silverlight before the application executes any functionality related to loading resources.

When you call this method, it will release any previously registered IXRResourceManager. When you call this method with NULL, it will clear the IXRResourceManager object.

.NET Framework Equivalent

None.

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRApplication