次の方法で共有


IXRWriteableBitmap::GetPixels (Compact 2013)

3/28/2014

This method retrieves an array of pixels inside the bitmap surface area that the inherited methods IXRBitmapSource::GetPixelHeight and IXRBitmapSource::GetPixelWidth define.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetPixels(
    UINT** ppPixels
) = 0;

Parameters

  • ppPixels
    [out] Pointer to an array of pixels inside the bitmap surface area.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Media.Imaging.WriteableBitmap.Pixels

Remarks

Regardless of the pixel format used by the underlying graphics hardware, the ppPixels parameter always represents an object using the XRPixelFormat_pixelColor32bpp_A8R8G8B8 pixel format.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRWriteableBitmap