IXRApplication::RegisterResourceManager (Compact 2013)
3/28/2014
This method registers an instance of IXRResourceManager for use by XAML for Windows Embedded whenever this application attempts to load resources.
The IXRResourceManager object receives callbacks from the XAML for Windows Embedded system when XAML for Windows Embedded 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 XAML for Windows Embedded to use for resolving resources.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
An application should register an IXRResourceManager object for XAML for Windows Embedded 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 |