ISurfaceImageSourceNative::BeginDraw method

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
0 out of 1 rated this helpful - Rate this topic

Opens the supplied DXGI surface for drawing.

Syntax


HRESULT BeginDraw(
  [in]   RECT updateRect,
  [out]  IDXGISurface **pSurface,
  [out]  POINT *offset
);

Parameters

updateRect [in]

The region of the surface that will be drawn into.

pSurface [out]

Receives a pointer to the surface for drawing.

offset [out]

Receives the point (x,y) offset of the surface that will be drawn into.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

See also

ISurfaceImageSourceNative
IDXGISurface
DirectX and XAML interop

 

 

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

© 2013 Microsoft. All rights reserved.