Hello,

ID2D1RenderTarget interface (inherited by ID2D1HwndRenderTarget) is
currently incorrect and crashes VLC Direct2D video output.

ID2D1HwndRenderTarget is thus correctly marked as invalid using
__MINGW_POISON_NAME ->
_layout_has_not_been_verified_and_its_declaration_is_most_likely_incorrect

The interface is documented on
http://msdn.microsoft.com/en-us/library/windows/desktop/dd371766(v=vs.85).aspx
but the order of interface members is probably incorrect. On MSDN the
functions are sorted alphabetically.

I read Microsoft SDK v7.1 header to extract the exact order of members:

CreateBitmap
CreateBitmapFromWicBitmap
CreateSharedBitmap
CreateBitmapBrush
CreateSolidColorBrush
CreateGradientStopCollection
CreateLinearGradientBrush
CreateRadialGradientBrush
CreateCompatibleRenderTarget
CreateLayer
CreateMesh
DrawLine
DrawRectangle
FillRectangle
DrawRoundedRectangle
FillRoundedRectangle
DrawEllipse
FillEllipse
DrawGeometry
FillGeometry
FillMesh
FillOpacityMask
DrawBitmap
DrawText
DrawTextLayout
DrawGlyphRun
SetTransform
GetTransform
SetAntialiasMode
GetAntialiasMode
SetTextAntialiasMode
GetTextAntialiasMode
SetTextRenderingParams
GetTextRenderingParams
SetTags
GetTags
PushLayer
PopLayer
Flush
SaveDrawingState
RestoreDrawingState
PushAxisAlignedClip
PopAxisAlignedClip
Clear
BeginDraw
EndDraw
GetPixelFormat
SetDpi
GetDpi
GetSize
GetPixelSize
GetMaximumBitmapSize
IsSupported

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to