IXRApplication::LoadImageFromFile (Windows Embedded CE 6.0)
1/6/2010
This method loads a bitmap image from a local file and creates an IBitmapImage object for use by the resource manager.
Syntax
virtual HRESULT STDMETHODCALLTYPE LoadImageFromFile(
const WCHAR* pFileName,
IBitmapImage** ppImage
) = 0;
Parameters
pFileName
[in] Pointer to a string that contains the path of the file that contains the image to be loaded; for example:TEXT("\\MyGraphics\\image.bmp").
- ppImage
[out] On return, contains an IBitmapImage interface pointer that provides programmatic access to the bitmap image.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
Silverlight handles the drawing operation for the bitmap image in ppImage.
.NET Framework Equivalent
None.
Requirements
Header | XamlRuntime.h |
sysgen | SYSGEN_XAML_RUNTIME |
Windows Embedded CE | Windows Embedded CE 6.0 R3 |