Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Generated from d2d1.h
- com.def {
- {"ID2D1Factory";
- methods = {
- {"ReloadSystemMetrics"};
- {ret = "void", "GetDesktopDpi", "float *dpiX, float *dpiY"};
- {"CreateRectangleGeometry", "const D2D1_RECT_F *rectangle, ID2D1RectangleGeometry **rectangleGeometry"};
- {"CreateRoundedRectangleGeometry", "const D2D1_ROUNDED_RECT *roundedRectangle, ID2D1RoundedRectangleGeometry **roundedRectangleGeometry"};
- {"CreateEllipseGeometry", "const D2D1_ELLIPSE *ellipse, ID2D1EllipseGeometry **ellipseGeometry"};
- {"CreateGeometryGroup", "D2D1_FILL_MODE fillMode, ID2D1Geometry **geometries, unsigned int geometriesCount, ID2D1GeometryGroup **geometryGroup"};
- {"CreateTransformedGeometry", "ID2D1Geometry *sourceGeometry, const D2D1_MATRIX_3X2_F *transform, ID2D1TransformedGeometry **transformedGeometry"};
- {"CreatePathGeometry", "ID2D1PathGeometry **pathGeometry"};
- {"CreateStrokeStyle", "const D2D1_STROKE_STYLE_PROPERTIES *strokeStyleProperties, const float *dashes, unsigned int dashesCount, ID2D1StrokeStyle **strokeStyle"};
- {"CreateDrawingStateBlock", "const D2D1_DRAWING_STATE_DESCRIPTION *drawingStateDescription, IDWriteRenderingParams *textRenderingParams, ID2D1DrawingStateBlock **drawingStateBlock"};
- {"CreateWicBitmapRenderTarget", "IWICBitmap *target, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget"};
- {"CreateHwndRenderTarget", "const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, const D2D1_HWND_RENDER_TARGET_PROPERTIES *hwndRenderTargetProperties, ID2D1HwndRenderTarget **hwndRenderTarget"};
- {"CreateDxgiSurfaceRenderTarget", "IDXGISurface *dxgiSurface, const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1RenderTarget **renderTarget"};
- {"CreateDCRenderTarget", "const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties, ID2D1DCRenderTarget **dcRenderTarget"};
- };
- iid = "06152247-6f50-465a-9245-118bfd3b6007";
- };
- {"ID2D1TessellationSink";
- methods = {
- {ret = "void", "AddTriangles", "const D2D1_TRIANGLE *triangles, unsigned int trianglesCount"};
- {"Close"};
- };
- iid = "2cd906c1-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1Resource";
- methods = {
- {ret = "void", "GetFactory", "ID2D1Factory **factory"};
- };
- iid = "2cd90691-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1RenderTarget"; inherits = "ID2D1Resource";
- methods = {
- {"CreateBitmap", "D2D1_SIZE_U size, const void *srcData, uint32_t pitch, const D2D1_BITMAP_PROPERTIES *bitmapProperties, ID2D1Bitmap **bitmap"};
- {"CreateBitmapFromWicBitmap", "IWICBitmapSource *wicBitmapSource, const D2D1_BITMAP_PROPERTIES *bitmapProperties, ID2D1Bitmap **bitmap"};
- {"CreateSharedBitmap", "REFIID riid, void *data, const D2D1_BITMAP_PROPERTIES *bitmapProperties, ID2D1Bitmap **bitmap"};
- {"CreateBitmapBrush", "ID2D1Bitmap *bitmap, const D2D1_BITMAP_BRUSH_PROPERTIES *bitmapBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1BitmapBrush **bitmapBrush"};
- {"CreateSolidColorBrush", "const D2D1_COLOR_F *color, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1SolidColorBrush **solidColorBrush"};
- {"CreateGradientStopCollection", "const D2D1_GRADIENT_STOP *gradientStops, unsigned int gradientStopsCount, D2D1_GAMMA colorInterpolationGamma, D2D1_EXTEND_MODE extendMode, ID2D1GradientStopCollection **gradientStopCollection"};
- {"CreateLinearGradientBrush", "const D2D1_LINEAR_GRADIENT_BRUSH_PROPERTIES *linearGradientBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1GradientStopCollection *gradientStopCollection, ID2D1LinearGradientBrush **linearGradientBrush"};
- {"CreateRadialGradientBrush", "const D2D1_RADIAL_GRADIENT_BRUSH_PROPERTIES *radialGradientBrushProperties, const D2D1_BRUSH_PROPERTIES *brushProperties, ID2D1GradientStopCollection *gradientStopCollection, ID2D1RadialGradientBrush **radialGradientBrush"};
- {"CreateCompatibleRenderTarget", "const D2D1_SIZE_F *desiredSize, const D2D1_SIZE_U *desiredPixelSize, const D2D1_PIXEL_FORMAT *desiredFormat, D2D1_COMPATIBLE_RENDER_TARGET_OPTIONS options, ID2D1BitmapRenderTarget **bitmapRenderTarget"};
- {"CreateLayer", "const D2D1_SIZE_F *size, ID2D1Layer **layer"};
- {"CreateMesh", "ID2D1Mesh **mesh"};
- {ret = "void", "DrawLine", "D2D1_POINT_2F point0, D2D1_POINT_2F point1, ID2D1Brush *brush, float strokeWidth, ID2D1StrokeStyle *strokeStyle"};
- {ret = "void", "DrawRectangle", "const D2D1_RECT_F *rect, ID2D1Brush *brush, float strokeWidth, ID2D1StrokeStyle *strokeStyle"};
- {ret = "void", "FillRectangle", "const D2D1_RECT_F *rect, ID2D1Brush *brush"};
- {ret = "void", "DrawRoundedRectangle", "const D2D1_ROUNDED_RECT *roundedRect, ID2D1Brush *brush, float strokeWidth, ID2D1StrokeStyle *strokeStyle"};
- {ret = "void", "FillRoundedRectangle", "const D2D1_ROUNDED_RECT *roundedRect, ID2D1Brush *brush"};
- {ret = "void", "DrawEllipse", "const D2D1_ELLIPSE *ellipse, ID2D1Brush *brush, float strokeWidth, ID2D1StrokeStyle *strokeStyle"};
- {ret = "void", "FillEllipse", "const D2D1_ELLIPSE *ellipse, ID2D1Brush *brush"};
- {ret = "void", "DrawGeometry", "ID2D1Geometry *geometry, ID2D1Brush *brush, float strokeWidth, ID2D1StrokeStyle *strokeStyle"};
- {ret = "void", "FillGeometry", "ID2D1Geometry *geometry, ID2D1Brush *brush, ID2D1Brush *opacityBrush"};
- {ret = "void", "FillMesh", "ID2D1Mesh *mesh, ID2D1Brush *brush"};
- {ret = "void", "FillOpacityMask", "ID2D1Bitmap *opacityMask, ID2D1Brush *brush, D2D1_OPACITY_MASK_CONTENT content, const D2D1_RECT_F *destinationRectangle, const D2D1_RECT_F *sourceRectangle"};
- {ret = "void", "DrawBitmap", "ID2D1Bitmap *bitmap, const D2D1_RECT_F *destinationRectangle, float opacity, D2D1_BITMAP_INTERPOLATION_MODE interpolationMode, const D2D1_RECT_F *sourceRectangle"};
- {ret = "void", "DrawText", "const wchar_t *string, unsigned int stringLength, IDWriteTextFormat *textFormat, const D2D1_RECT_F *layoutRect, ID2D1Brush *defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options, DWRITE_MEASURING_MODE measuringMode"};
- {ret = "void", "DrawTextLayout", "D2D1_POINT_2F origin, IDWriteTextLayout *textLayout, ID2D1Brush *defaultForegroundBrush, D2D1_DRAW_TEXT_OPTIONS options"};
- {ret = "void", "DrawGlyphRun", "D2D1_POINT_2F baselineOrigin, const DWRITE_GLYPH_RUN *glyphRun, ID2D1Brush *foregroundBrush, DWRITE_MEASURING_MODE measuringMode"};
- {ret = "void", "SetTransform", "const D2D1_MATRIX_3X2_F *transform"};
- {ret = "void", "GetTransform", "D2D1_MATRIX_3X2_F *transform"};
- {ret = "void", "SetAntialiasMode", "D2D1_ANTIALIAS_MODE antialiasMode"};
- {ret = "D2D1_ANTIALIAS_MODE", "GetAntialiasMode"};
- {ret = "void", "SetTextAntialiasMode", "D2D1_TEXT_ANTIALIAS_MODE textAntialiasMode"};
- {ret = "D2D1_TEXT_ANTIALIAS_MODE", "GetTextAntialiasMode"};
- {ret = "void", "SetTextRenderingParams", "IDWriteRenderingParams *textRenderingParams"};
- {ret = "void", "GetTextRenderingParams", "IDWriteRenderingParams **textRenderingParams"};
- {ret = "void", "SetTags", "D2D1_TAG tag1, D2D1_TAG tag2"};
- {ret = "void", "GetTags", "D2D1_TAG *tag1, D2D1_TAG *tag2"};
- {ret = "void", "PushLayer", "const D2D1_LAYER_PARAMETERS *layerParameters, ID2D1Layer *layer"};
- {ret = "void", "PopLayer"};
- {"Flush", "D2D1_TAG *tag1, D2D1_TAG *tag2"};
- {ret = "void", "SaveDrawingState", "ID2D1DrawingStateBlock *drawingStateBlock"};
- {ret = "void", "RestoreDrawingState", "ID2D1DrawingStateBlock *drawingStateBlock"};
- {ret = "void", "PushAxisAlignedClip", "const D2D1_RECT_F *clipRect, D2D1_ANTIALIAS_MODE antialiasMode"};
- {ret = "void", "PopAxisAlignedClip"};
- {ret = "void", "Clear", "const D2D1_COLOR_F *clearColor"};
- {ret = "void", "BeginDraw"};
- {"EndDraw", "D2D1_TAG *tag1, D2D1_TAG *tag2"};
- {ret = "D2D1_PIXEL_FORMAT", "GetPixelFormat"};
- {ret = "void", "SetDpi", "float dpiX, float dpiY"};
- {ret = "void", "GetDpi", "float *dpiX, float *dpiY"};
- {ret = "D2D1_SIZE_F", "GetSize"};
- {ret = "D2D1_SIZE_U", "GetPixelSize"};
- {ret = "uint32_t", "GetMaximumBitmapSize"};
- {ret = "BOOL", "IsSupported", "const D2D1_RENDER_TARGET_PROPERTIES *renderTargetProperties"};
- };
- iid = "2cd90694-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1DCRenderTarget"; inherits = "ID2D1RenderTarget";
- methods = {
- {"BindDC", "const HDC hDC, const RECT *pSubRect"};
- };
- iid = "1c51bc64-de61-46fd-9899-63a5d8f03950";
- };
- {"ID2D1HwndRenderTarget"; inherits = "ID2D1RenderTarget";
- methods = {
- {ret = "D2D1_WINDOW_STATE", "CheckWindowState"};
- {"Resize", "const D2D1_SIZE_U *pixelSize"};
- {ret = "HWND", "GetHwnd"};
- };
- iid = "2cd90698-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1BitmapRenderTarget"; inherits = "ID2D1RenderTarget";
- methods = {
- {"GetBitmap", "ID2D1Bitmap **bitmap"};
- };
- iid = "2cd90695-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1GradientStopCollection"; inherits = "ID2D1Resource";
- methods = {
- {ret = "uint32_t", "GetGradientStopCount"};
- {ret = "void", "GetGradientStops", "D2D1_GRADIENT_STOP *gradientStops, unsigned int gradientStopsCount"};
- {ret = "D2D1_GAMMA", "GetColorInterpolationGamma"};
- {ret = "D2D1_EXTEND_MODE", "GetExtendMode"};
- };
- iid = "2cd906a7-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1StrokeStyle"; inherits = "ID2D1Resource";
- methods = {
- {ret = "D2D1_CAP_STYLE", "GetStartCap"};
- {ret = "D2D1_CAP_STYLE", "GetEndCap"};
- {ret = "D2D1_CAP_STYLE", "GetDashCap"};
- {ret = "float", "GetMiterLimit"};
- {ret = "D2D1_LINE_JOIN", "GetLineJoin"};
- {ret = "float", "GetDashOffset"};
- {ret = "D2D1_DASH_STYLE", "GetDashStyle"};
- {ret = "uint32_t", "GetDashesCount"};
- {ret = "void", "GetDashes", "float *dashes, unsigned int dashesCount"};
- };
- iid = "2cd9069d-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1Brush"; inherits = "ID2D1Resource";
- methods = {
- {ret = "void", "SetOpacity", "float opacity"};
- {ret = "void", "SetTransform", "const D2D1_MATRIX_3X2_F *transform"};
- {ret = "float", "GetOpacity"};
- {ret = "void", "GetTransform", "D2D1_MATRIX_3X2_F *transform"};
- };
- iid = "2cd906a8-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1RadialGradientBrush"; inherits = "ID2D1Brush";
- methods = {
- {ret = "void", "SetCenter", "D2D1_POINT_2F center"};
- {ret = "void", "SetGradientOriginOffset", "D2D1_POINT_2F gradientOriginOffset"};
- {ret = "void", "SetRadiusX", "float radiusX"};
- {ret = "void", "SetRadiusY", "float radiusY"};
- {ret = "D2D1_POINT_2F", "GetCenter"};
- {ret = "D2D1_POINT_2F", "GetGradientOriginOffset"};
- {ret = "float", "GetRadiusX"};
- {ret = "float", "GetRadiusY"};
- {ret = "void", "GetGradientStopCollection", "ID2D1GradientStopCollection **gradientStopCollection"};
- };
- iid = "2cd906ac-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1SolidColorBrush"; inherits = "ID2D1Brush";
- methods = {
- {ret = "void", "SetColor", "const D2D1_COLOR_F *color"};
- {ret = "D2D1_COLOR_F", "GetColor"};
- };
- iid = "2cd906a9-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1BitmapBrush"; inherits = "ID2D1Brush";
- methods = {
- {ret = "void", "SetExtendModeX", "D2D1_EXTEND_MODE extendModeX"};
- {ret = "void", "SetExtendModeY", "D2D1_EXTEND_MODE extendModeY"};
- {ret = "void", "SetInterpolationMode", "D2D1_BITMAP_INTERPOLATION_MODE interpolationMode"};
- {ret = "void", "SetBitmap", "ID2D1Bitmap *bitmap"};
- {ret = "D2D1_EXTEND_MODE", "GetExtendModeX"};
- {ret = "D2D1_EXTEND_MODE", "GetExtendModeY"};
- {ret = "D2D1_BITMAP_INTERPOLATION_MODE", "GetInterpolationMode"};
- {ret = "void", "GetBitmap", "ID2D1Bitmap **bitmap"};
- };
- iid = "2cd906aa-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1LinearGradientBrush"; inherits = "ID2D1Brush";
- methods = {
- {ret = "void", "SetStartPoint", "D2D1_POINT_2F startPoint"};
- {ret = "void", "SetEndPoint", "D2D1_POINT_2F endPoint"};
- {ret = "D2D1_POINT_2F", "GetStartPoint"};
- {ret = "D2D1_POINT_2F", "GetEndPoint"};
- {ret = "void", "GetGradientStopCollection", "ID2D1GradientStopCollection **gradientStopCollection"};
- };
- iid = "2cd906ab-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1DrawingStateBlock"; inherits = "ID2D1Resource";
- methods = {
- {ret = "void", "GetDescription", "D2D1_DRAWING_STATE_DESCRIPTION *stateDescription"};
- {ret = "void", "SetDescription", "const D2D1_DRAWING_STATE_DESCRIPTION *stateDescription"};
- {ret = "void", "SetTextRenderingParams", "IDWriteRenderingParams *textRenderingParams"};
- {ret = "void", "GetTextRenderingParams", "IDWriteRenderingParams **textRenderingParams"};
- };
- iid = "28506e39-ebf6-46a1-bb47-fd85565ab957";
- };
- {"ID2D1Mesh"; inherits = "ID2D1Resource";
- methods = {
- {"Open", "ID2D1TessellationSink **tessellationSink"};
- };
- iid = "2cd906c2-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1Layer"; inherits = "ID2D1Resource";
- methods = {
- {ret = "D2D1_SIZE_F", "GetSize"};
- };
- iid = "2cd9069b-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1Bitmap"; inherits = "ID2D1Resource";
- methods = {
- {ret = "D2D1_SIZE_F", "GetSize"};
- {ret = "D2D1_SIZE_U", "GetPixelSize"};
- {ret = "D2D1_PIXEL_FORMAT", "GetPixelFormat"};
- {ret = "void", "GetDpi", "float *dpiX, float *dpiY"};
- {"CopyFromBitmap", "const D2D1_POINT_2U *destPoint, ID2D1Bitmap *bitmap, const D2D1_RECT_U *srcRect"};
- {"CopyFromRenderTarget", "const D2D1_POINT_2U *destPoint, ID2D1RenderTarget *renderTarget, const D2D1_RECT_U *srcRect"};
- {"CopyFromMemory", "const D2D1_RECT_U *dstRect, const void *srcData, uint32_t pitch"};
- };
- iid = "a2296057-ea42-4099-983b-539fb6505426";
- };
- {"ID2D1Geometry"; inherits = "ID2D1Resource";
- methods = {
- {"GetBounds", "const D2D1_MATRIX_3X2_F *worldTransform, D2D1_RECT_F *bounds"};
- {"GetWidenedBounds", "float strokeWidth, ID2D1StrokeStyle *strokeStyle, const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, D2D1_RECT_F *bounds"};
- {"StrokeContainsPoint", "D2D1_POINT_2F point, float strokeWidth, ID2D1StrokeStyle *strokeStyle, const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, BOOL *contains"};
- {"FillContainsPoint", "D2D1_POINT_2F point, const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, BOOL *contains"};
- {"CompareWithGeometry", "ID2D1Geometry *inputGeometry, const D2D1_MATRIX_3X2_F *inputGeometryTransform, float flatteningTolerance, D2D1_GEOMETRY_RELATION *relation"};
- {"Simplify", "D2D1_GEOMETRY_SIMPLIFICATION_OPTION simplificationOption, const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink"};
- {"Tessellate", "const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, ID2D1TessellationSink *tessellationSink"};
- {"CombineWithGeometry", "ID2D1Geometry *inputGeometry, D2D1_COMBINE_MODE combineMode, const D2D1_MATRIX_3X2_F *inputGeometryTransform, float flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink"};
- {"Outline", "const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink"};
- {"ComputeArea", "const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, float *area"};
- {"ComputeLength", "const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, float *length"};
- {"ComputePointAtLength", "float length, const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, D2D1_POINT_2F *point, D2D1_POINT_2F *unitTangentVector"};
- {"Widen", "float strokeWidth, ID2D1StrokeStyle *strokeStyle, const D2D1_MATRIX_3X2_F *worldTransform, float flatteningTolerance, ID2D1SimplifiedGeometrySink *geometrySink"};
- };
- iid = "2cd906a1-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1GeometryGroup"; inherits = "ID2D1Geometry";
- methods = {
- {ret = "D2D1_FILL_MODE", "GetFillMode"};
- {ret = "uint32_t", "GetSourceGeometryCount"};
- {ret = "void", "GetSourceGeometries", "ID2D1Geometry **geometries, unsigned int geometriesCount"};
- };
- iid = "2cd906a6-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1EllipseGeometry"; inherits = "ID2D1Geometry";
- methods = {
- {ret = "void", "GetEllipse", "D2D1_ELLIPSE *ellipse"};
- };
- iid = "2cd906a4-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1RoundedRectangleGeometry"; inherits = "ID2D1Geometry";
- methods = {
- {ret = "void", "GetRoundedRect", "D2D1_ROUNDED_RECT *roundedRect"};
- };
- iid = "2cd906a3-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1TransformedGeometry"; inherits = "ID2D1Geometry";
- methods = {
- {ret = "void", "GetSourceGeometry", "ID2D1Geometry **sourceGeometry"};
- {ret = "void", "GetTransform", "D2D1_MATRIX_3X2_F *transform"};
- };
- iid = "2cd906bb-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1PathGeometry"; inherits = "ID2D1Geometry";
- methods = {
- {"Open", "ID2D1GeometrySink **geometrySink"};
- {"Stream", "ID2D1GeometrySink *geometrySink"};
- {"GetSegmentCount", "uint32_t *count"};
- {"GetFigureCount", "uint32_t *count"};
- };
- iid = "2cd906a5-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1RectangleGeometry"; inherits = "ID2D1Geometry";
- methods = {
- {ret = "void", "GetRect", "D2D1_RECT_F *rect"};
- };
- iid = "2cd906a2-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1SimplifiedGeometrySink";
- methods = {
- {ret = "void", "SetFillMode", "D2D1_FILL_MODE fillMode"};
- {ret = "void", "SetSegmentFlags", "D2D1_PATH_SEGMENT vertexFlags"};
- {ret = "void", "BeginFigure", "D2D1_POINT_2F startPoint, D2D1_FIGURE_BEGIN figureBegin"};
- {ret = "void", "AddLines", "const D2D1_POINT_2F *points, unsigned int pointsCount"};
- {ret = "void", "AddBeziers", "const D2D1_BEZIER_SEGMENT *beziers, unsigned int beziersCount"};
- {ret = "void", "EndFigure", "D2D1_FIGURE_END figureEnd"};
- {"Close"};
- };
- iid = "2cd9069e-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1GeometrySink"; inherits = "ID2D1SimplifiedGeometrySink";
- methods = {
- {ret = "void", "AddLine", "D2D1_POINT_2F point"};
- {ret = "void", "AddBezier", "const D2D1_BEZIER_SEGMENT *bezier"};
- {ret = "void", "AddQuadraticBezier", "const D2D1_QUADRATIC_BEZIER_SEGMENT *bezier"};
- {ret = "void", "AddQuadraticBeziers", "const D2D1_QUADRATIC_BEZIER_SEGMENT *beziers, unsigned int beziersCount"};
- {ret = "void", "AddArc", "const D2D1_ARC_SEGMENT *arc"};
- };
- iid = "2cd9069f-12e2-11dc-9fed-001143a055f9";
- };
- {"ID2D1GdiInteropRenderTarget";
- methods = {
- {"GetDC", "D2D1_DC_INITIALIZE_MODE mode, HDC *hdc"};
- {"ReleaseDC", "const RECT *update"};
- };
- iid = "e0db51c3-6f77-4bae-b3d5-e47509b35838";
- };
- }
- -- Generated from d3d10_1.h
- com.def {
- {"ID3D10Multithread";
- methods = {
- {ret = "void", "Enter"};
- {ret = "void", "Leave"};
- {ret = "BOOL", "SetMultithreadProtected", "BOOL bMTProtect"};
- {ret = "BOOL", "GetMultithreadProtected"};
- };
- iid = "9B7E4E00-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetDevice", "ID3D10Device **ppDevice"};
- {"GetPrivateData", "REFGUID guid, unsigned int *pDataSize, void *pData"};
- {"SetPrivateData", "REFGUID guid, unsigned int DataSize, const void *pData"};
- {"SetPrivateDataInterface", "REFGUID guid, const IUnknown *pData"};
- };
- iid = "9B7E4C00-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10PixelShader"; inherits = "ID3D10DeviceChild";
- methods = {
- };
- iid = "4968B601-9D00-4cde-8346-8E7F675819B6";
- };
- {"ID3D10VertexShader"; inherits = "ID3D10DeviceChild";
- methods = {
- };
- iid = "9B7E4C0A-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10GeometryShader"; inherits = "ID3D10DeviceChild";
- methods = {
- };
- iid = "6316BE88-54CD-4040-AB44-20461BC81F68";
- };
- {"ID3D10RasterizerState"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetDesc", "D3D10_RASTERIZER_DESC *pDesc"};
- };
- iid = "A2A07292-89AF-4345-BE2E-C53D9FBB6E9F";
- };
- {"ID3D10BlendState"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetDesc", "D3D10_BLEND_DESC *pDesc"};
- };
- iid = "EDAD8D19-8A35-4d6d-8566-2EA276CDE161";
- };
- {"ID3D10BlendState1"; inherits = "ID3D10BlendState";
- methods = {
- {ret = "void", "GetDesc1", "D3D10_BLEND_DESC1 *pDesc"};
- };
- iid = "EDAD8D99-8A35-4d6d-8566-2EA276CDE161";
- };
- {"ID3D10Asynchronous"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "Begin"};
- {ret = "void", "End"};
- {"GetData", "void *pData, unsigned int DataSize, unsigned int GetDataFlags"};
- {ret = "unsigned int", "GetDataSize"};
- };
- iid = "9B7E4C0D-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Query"; inherits = "ID3D10Asynchronous";
- methods = {
- {ret = "void", "GetDesc", "D3D10_QUERY_DESC *pDesc"};
- };
- iid = "9B7E4C0E-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Predicate"; inherits = "ID3D10Query";
- methods = {
- };
- iid = "9B7E4C10-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Counter"; inherits = "ID3D10Asynchronous";
- methods = {
- {ret = "void", "GetDesc", "D3D10_COUNTER_DESC *pDesc"};
- };
- iid = "9B7E4C11-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Resource"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetType", "D3D10_RESOURCE_DIMENSION *rType"};
- {ret = "void", "SetEvictionPriority", "unsigned int EvictionPriority"};
- {ret = "unsigned int", "GetEvictionPriority"};
- };
- iid = "9B7E4C01-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Texture1D"; inherits = "ID3D10Resource";
- methods = {
- {"Map", "unsigned int Subresource, D3D10_MAP MapType, unsigned int MapFlags, void **ppData"};
- {ret = "void", "Unmap", "unsigned int Subresource"};
- {ret = "void", "GetDesc", "D3D10_TEXTURE1D_DESC *pDesc"};
- };
- iid = "9B7E4C03-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Texture2D"; inherits = "ID3D10Resource";
- methods = {
- {"Map", "unsigned int Subresource, D3D10_MAP MapType, unsigned int MapFlags, D3D10_MAPPED_TEXTURE2D *pMappedTex2D"};
- {ret = "void", "Unmap", "unsigned int Subresource"};
- {ret = "void", "GetDesc", "D3D10_TEXTURE2D_DESC *pDesc"};
- };
- iid = "9B7E4C04-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Texture3D"; inherits = "ID3D10Resource";
- methods = {
- {"Map", "unsigned int Subresource, D3D10_MAP MapType, unsigned int MapFlags, D3D10_MAPPED_TEXTURE3D *pMappedTex3D"};
- {ret = "void", "Unmap", "unsigned int Subresource"};
- {ret = "void", "GetDesc", "D3D10_TEXTURE3D_DESC *pDesc"};
- };
- iid = "9B7E4C05-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Buffer"; inherits = "ID3D10Resource";
- methods = {
- {"Map", "D3D10_MAP MapType, unsigned int MapFlags, void **ppData"};
- {ret = "void", "Unmap"};
- {ret = "void", "GetDesc", "D3D10_BUFFER_DESC *pDesc"};
- };
- iid = "9B7E4C02-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10InputLayout"; inherits = "ID3D10DeviceChild";
- methods = {
- };
- iid = "9B7E4C0B-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10DepthStencilState"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetDesc", "D3D10_DEPTH_STENCIL_DESC *pDesc"};
- };
- iid = "2B4B1CC8-A4AD-41f8-8322-CA86FC3EC675";
- };
- {"ID3D10View"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetResource", "ID3D10Resource **ppResource"};
- };
- iid = "C902B03F-60A7-49BA-9936-2A3AB37A7E33";
- };
- {"ID3D10RenderTargetView"; inherits = "ID3D10View";
- methods = {
- {ret = "void", "GetDesc", "D3D10_RENDER_TARGET_VIEW_DESC *pDesc"};
- };
- iid = "9B7E4C08-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10ShaderResourceView"; inherits = "ID3D10View";
- methods = {
- {ret = "void", "GetDesc", "D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc"};
- };
- iid = "9B7E4C07-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10ShaderResourceView1"; inherits = "ID3D10ShaderResourceView";
- methods = {
- {ret = "void", "GetDesc1", "D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc"};
- };
- iid = "9B7E4C87-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10DepthStencilView"; inherits = "ID3D10View";
- methods = {
- {ret = "void", "GetDesc", "D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc"};
- };
- iid = "9B7E4C09-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10SamplerState"; inherits = "ID3D10DeviceChild";
- methods = {
- {ret = "void", "GetDesc", "D3D10_SAMPLER_DESC *pDesc"};
- };
- iid = "9B7E4C0C-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Device";
- methods = {
- {ret = "void", "VSSetConstantBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer *const *ppConstantBuffers"};
- {ret = "void", "PSSetShaderResources", "unsigned int StartSlot, unsigned int NumViews, ID3D10ShaderResourceView *const *ppShaderResourceViews"};
- {ret = "void", "PSSetShader", "ID3D10PixelShader *pPixelShader"};
- {ret = "void", "PSSetSamplers", "unsigned int StartSlot, unsigned int NumSamplers, ID3D10SamplerState *const *ppSamplers"};
- {ret = "void", "VSSetShader", "ID3D10VertexShader *pVertexShader"};
- {ret = "void", "DrawIndexed", "unsigned int IndexCount, unsigned int StartIndexLocation, int BaseVertexLocation"};
- {ret = "void", "Draw", "unsigned int VertexCount, unsigned int StartVertexLocation"};
- {ret = "void", "PSSetConstantBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer *const *ppConstantBuffers"};
- {ret = "void", "IASetInputLayout", "ID3D10InputLayout *pInputLayout"};
- {ret = "void", "IASetVertexBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer *const *ppVertexBuffers, const unsigned int *pStrides, const unsigned int *pOffsets"};
- {ret = "void", "IASetIndexBuffer", "ID3D10Buffer *pIndexBuffer, DXGI_FORMAT Format, unsigned int Offset"};
- {ret = "void", "DrawIndexedInstanced", "unsigned int IndexCountPerInstance, unsigned int InstanceCount, unsigned int StartIndexLocation, int BaseVertexLocation, unsigned int StartInstanceLocation"};
- {ret = "void", "DrawInstanced", "unsigned int VertexCountPerInstance, unsigned int InstanceCount, unsigned int StartVertexLocation, unsigned int StartInstanceLocation"};
- {ret = "void", "GSSetConstantBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer *const *ppConstantBuffers"};
- {ret = "void", "GSSetShader", "ID3D10GeometryShader *pShader"};
- {ret = "void", "IASetPrimitiveTopology", "D3D10_PRIMITIVE_TOPOLOGY Topology"};
- {ret = "void", "VSSetShaderResources", "unsigned int StartSlot, unsigned int NumViews, ID3D10ShaderResourceView *const *ppShaderResourceViews"};
- {ret = "void", "VSSetSamplers", "unsigned int StartSlot, unsigned int NumSamplers, ID3D10SamplerState *const *ppSamplers"};
- {ret = "void", "SetPredication", "ID3D10Predicate *pPredicate, BOOL PredicateValue"};
- {ret = "void", "GSSetShaderResources", "unsigned int StartSlot, unsigned int NumViews, ID3D10ShaderResourceView *const *ppShaderResourceViews"};
- {ret = "void", "GSSetSamplers", "unsigned int StartSlot, unsigned int NumSamplers, ID3D10SamplerState *const *ppSamplers"};
- {ret = "void", "OMSetRenderTargets", "unsigned int NumViews, ID3D10RenderTargetView *const *ppRenderTargetViews, ID3D10DepthStencilView *pDepthStencilView"};
- {ret = "void", "OMSetBlendState", "ID3D10BlendState *pBlendState, const float BlendFactor[ 4 ], unsigned int SampleMask"};
- {ret = "void", "OMSetDepthStencilState", "ID3D10DepthStencilState *pDepthStencilState, unsigned int StencilRef"};
- {ret = "void", "SOSetTargets", "unsigned int NumBuffers, ID3D10Buffer *const *ppSOTargets, const unsigned int *pOffsets"};
- {ret = "void", "DrawAuto"};
- {ret = "void", "RSSetState", "ID3D10RasterizerState *pRasterizerState"};
- {ret = "void", "RSSetViewports", "unsigned int NumViewports, const D3D10_VIEWPORT *pViewports"};
- {ret = "void", "RSSetScissorRects", "unsigned int NumRects, const D3D10_RECT *pRects"};
- {ret = "void", "CopySubresourceRegion", "ID3D10Resource *pDstResource, unsigned int DstSubresource, unsigned int DstX, unsigned int DstY, unsigned int DstZ, ID3D10Resource *pSrcResource, unsigned int SrcSubresource, const D3D10_BOX *pSrcBox"};
- {ret = "void", "CopyResource", "ID3D10Resource *pDstResource, ID3D10Resource *pSrcResource"};
- {ret = "void", "UpdateSubresource", "ID3D10Resource *pDstResource, unsigned int DstSubresource, const D3D10_BOX *pDstBox, const void *pSrcData, unsigned int SrcRowPitch, unsigned int SrcDepthPitch"};
- {ret = "void", "ClearRenderTargetView", "ID3D10RenderTargetView *pRenderTargetView, const float ColorRGBA[ 4 ]"};
- {ret = "void", "ClearDepthStencilView", "ID3D10DepthStencilView *pDepthStencilView, unsigned int ClearFlags, float Depth, UINT8 Stencil"};
- {ret = "void", "GenerateMips", "ID3D10ShaderResourceView *pShaderResourceView"};
- {ret = "void", "ResolveSubresource", "ID3D10Resource *pDstResource, unsigned int DstSubresource, ID3D10Resource *pSrcResource, unsigned int SrcSubresource, DXGI_FORMAT Format"};
- {ret = "void", "VSGetConstantBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer **ppConstantBuffers"};
- {ret = "void", "PSGetShaderResources", "unsigned int StartSlot, unsigned int NumViews, ID3D10ShaderResourceView **ppShaderResourceViews"};
- {ret = "void", "PSGetShader", "ID3D10PixelShader **ppPixelShader"};
- {ret = "void", "PSGetSamplers", "unsigned int StartSlot, unsigned int NumSamplers, ID3D10SamplerState **ppSamplers"};
- {ret = "void", "VSGetShader", "ID3D10VertexShader **ppVertexShader"};
- {ret = "void", "PSGetConstantBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer **ppConstantBuffers"};
- {ret = "void", "IAGetInputLayout", "ID3D10InputLayout **ppInputLayout"};
- {ret = "void", "IAGetVertexBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer **ppVertexBuffers, unsigned int *pStrides, unsigned int *pOffsets"};
- {ret = "void", "IAGetIndexBuffer", "ID3D10Buffer **pIndexBuffer, DXGI_FORMAT *Format, unsigned int *Offset"};
- {ret = "void", "GSGetConstantBuffers", "unsigned int StartSlot, unsigned int NumBuffers, ID3D10Buffer **ppConstantBuffers"};
- {ret = "void", "GSGetShader", "ID3D10GeometryShader **ppGeometryShader"};
- {ret = "void", "IAGetPrimitiveTopology", "D3D10_PRIMITIVE_TOPOLOGY *pTopology"};
- {ret = "void", "VSGetShaderResources", "unsigned int StartSlot, unsigned int NumViews, ID3D10ShaderResourceView **ppShaderResourceViews"};
- {ret = "void", "VSGetSamplers", "unsigned int StartSlot, unsigned int NumSamplers, ID3D10SamplerState **ppSamplers"};
- {ret = "void", "GetPredication", "ID3D10Predicate **ppPredicate, BOOL *pPredicateValue"};
- {ret = "void", "GSGetShaderResources", "unsigned int StartSlot, unsigned int NumViews, ID3D10ShaderResourceView **ppShaderResourceViews"};
- {ret = "void", "GSGetSamplers", "unsigned int StartSlot, unsigned int NumSamplers, ID3D10SamplerState **ppSamplers"};
- {ret = "void", "OMGetRenderTargets", "unsigned int NumViews, ID3D10RenderTargetView **ppRenderTargetViews, ID3D10DepthStencilView **ppDepthStencilView"};
- {ret = "void", "OMGetBlendState", "ID3D10BlendState **ppBlendState, float BlendFactor[ 4 ], unsigned int *pSampleMask"};
- {ret = "void", "OMGetDepthStencilState", "ID3D10DepthStencilState **ppDepthStencilState, unsigned int *pStencilRef"};
- {ret = "void", "SOGetTargets", "unsigned int NumBuffers, ID3D10Buffer **ppSOTargets, unsigned int *pOffsets"};
- {ret = "void", "RSGetState", "ID3D10RasterizerState **ppRasterizerState"};
- {ret = "void", "RSGetViewports", "unsigned int *NumViewports, D3D10_VIEWPORT *pViewports"};
- {ret = "void", "RSGetScissorRects", "unsigned int *NumRects, D3D10_RECT *pRects"};
- {"GetDeviceRemovedReason"};
- {"SetExceptionMode", "unsigned int RaiseFlags"};
- {ret = "unsigned int", "GetExceptionMode"};
- {"GetPrivateData", "REFGUID guid, unsigned int *pDataSize, void *pData"};
- {"SetPrivateData", "REFGUID guid, unsigned int DataSize, const void *pData"};
- {"SetPrivateDataInterface", "REFGUID guid, const IUnknown *pData"};
- {ret = "void", "ClearState"};
- {ret = "void", "Flush"};
- {"CreateBuffer", "const D3D10_BUFFER_DESC *pDesc, const D3D10_SUBRESOURCE_DATA *pInitialData, ID3D10Buffer **ppBuffer"};
- {"CreateTexture1D", "const D3D10_TEXTURE1D_DESC *pDesc, const D3D10_SUBRESOURCE_DATA *pInitialData, ID3D10Texture1D **ppTexture1D"};
- {"CreateTexture2D", "const D3D10_TEXTURE2D_DESC *pDesc, const D3D10_SUBRESOURCE_DATA *pInitialData, ID3D10Texture2D **ppTexture2D"};
- {"CreateTexture3D", "const D3D10_TEXTURE3D_DESC *pDesc, const D3D10_SUBRESOURCE_DATA *pInitialData, ID3D10Texture3D **ppTexture3D"};
- {"CreateShaderResourceView", "ID3D10Resource *pResource, const D3D10_SHADER_RESOURCE_VIEW_DESC *pDesc, ID3D10ShaderResourceView **ppSRView"};
- {"CreateRenderTargetView", "ID3D10Resource *pResource, const D3D10_RENDER_TARGET_VIEW_DESC *pDesc, ID3D10RenderTargetView **ppRTView"};
- {"CreateDepthStencilView", "ID3D10Resource *pResource, const D3D10_DEPTH_STENCIL_VIEW_DESC *pDesc, ID3D10DepthStencilView **ppDepthStencilView"};
- {"CreateInputLayout", "const D3D10_INPUT_ELEMENT_DESC *pInputElementDescs, unsigned int NumElements, const void *pShaderBytecodeWithInputSignature, SIZE_T BytecodeLength, ID3D10InputLayout **ppInputLayout"};
- {"CreateVertexShader", "const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10VertexShader **ppVertexShader"};
- {"CreateGeometryShader", "const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10GeometryShader **ppGeometryShader"};
- {"CreateGeometryShaderWithStreamOutput", "const void *pShaderBytecode, SIZE_T BytecodeLength, const D3D10_SO_DECLARATION_ENTRY *pSODeclaration, unsigned int NumEntries, unsigned int OutputStreamStride, ID3D10GeometryShader **ppGeometryShader"};
- {"CreatePixelShader", "const void *pShaderBytecode, SIZE_T BytecodeLength, ID3D10PixelShader **ppPixelShader"};
- {"CreateBlendState", "const D3D10_BLEND_DESC *pBlendStateDesc, ID3D10BlendState **ppBlendState"};
- {"CreateDepthStencilState", "const D3D10_DEPTH_STENCIL_DESC *pDepthStencilDesc, ID3D10DepthStencilState **ppDepthStencilState"};
- {"CreateRasterizerState", "const D3D10_RASTERIZER_DESC *pRasterizerDesc, ID3D10RasterizerState **ppRasterizerState"};
- {"CreateSamplerState", "const D3D10_SAMPLER_DESC *pSamplerDesc, ID3D10SamplerState **ppSamplerState"};
- {"CreateQuery", "const D3D10_QUERY_DESC *pQueryDesc, ID3D10Query **ppQuery"};
- {"CreatePredicate", "const D3D10_QUERY_DESC *pPredicateDesc, ID3D10Predicate **ppPredicate"};
- {"CreateCounter", "const D3D10_COUNTER_DESC *pCounterDesc, ID3D10Counter **ppCounter"};
- {"CheckFormatSupport", "DXGI_FORMAT Format, unsigned int *pFormatSupport"};
- {"CheckMultisampleQualityLevels", "DXGI_FORMAT Format, unsigned int SampleCount, unsigned int *pNumQualityLevels"};
- {ret = "void", "CheckCounterInfo", "D3D10_COUNTER_INFO *pCounterInfo"};
- {"CheckCounter", "const D3D10_COUNTER_DESC *pDesc, D3D10_COUNTER_TYPE *pType, unsigned int *pActiveCounters, LPSTR szName, unsigned int *pNameLength, LPSTR szUnits, unsigned int *pUnitsLength, LPSTR szDescription, unsigned int *pDescriptionLength"};
- {ret = "unsigned int", "GetCreationFlags"};
- {"OpenSharedResource", "HANDLE hResource, REFIID ReturnedInterface, void **ppResource"};
- {ret = "void", "SetTextFilterSize", "unsigned int Width, unsigned int Height"};
- {ret = "void", "GetTextFilterSize", "unsigned int *pWidth, unsigned int *pHeight"};
- };
- iid = "9B7E4C0F-342C-4106-A19F-4F2704F689F0";
- };
- {"ID3D10Device1"; inherits = "ID3D10Device";
- methods = {
- {"CreateShaderResourceView1", "ID3D10Resource *pResource, const D3D10_SHADER_RESOURCE_VIEW_DESC1 *pDesc, ID3D10ShaderResourceView1 **ppSRView"};
- {"CreateBlendState1", "const D3D10_BLEND_DESC1 *pBlendStateDesc, ID3D10BlendState1 **ppBlendState"};
- {ret = "D3D10_FEATURE_LEVEL1", "GetFeatureLevel"};
- };
- iid = "9B7E4C8F-342C-4106-A19F-4F2704F689F0";
- };
- }
- -- Generated from dxgi.h
- com.def {
- {"IDXGIObject";
- methods = {
- {"SetPrivateData", "REFGUID Name, unsigned int DataSize, const void *pData"};
- {"SetPrivateDataInterface", "REFGUID Name, const IUnknown *pUnknown"};
- {"GetPrivateData", "REFGUID Name, unsigned int *pDataSize, void *pData"};
- {"GetParent", "REFIID riid, void **ppParent"};
- };
- iid = "aec22fb8-76f3-4639-9be0-28eb43a67a2e";
- };
- {"IDXGIAdapter"; inherits = "IDXGIObject";
- methods = {
- {"EnumOutputs", "unsigned int Output, IDXGIOutput **ppOutput"};
- {"GetDesc", "DXGI_ADAPTER_DESC *pDesc"};
- {"CheckInterfaceSupport", "REFGUID InterfaceName, LARGE_INTEGER *pUMDVersion"};
- };
- iid = "2411e7e1-12ac-4ccf-bd14-9798e8534dc0";
- };
- {"IDXGIAdapter1"; inherits = "IDXGIAdapter";
- methods = {
- {"GetDesc1", "DXGI_ADAPTER_DESC1 *pDesc"};
- };
- iid = "29038f61-3839-4626-91fd-086879011a05";
- };
- {"IDXGIOutput"; inherits = "IDXGIObject";
- methods = {
- {"GetDesc", "DXGI_OUTPUT_DESC *pDesc"};
- {"GetDisplayModeList", "DXGI_FORMAT EnumFormat, unsigned int Flags, unsigned int *pNumModes, DXGI_MODE_DESC *pDesc"};
- {"FindClosestMatchingMode", "const DXGI_MODE_DESC *pModeToMatch, DXGI_MODE_DESC *pClosestMatch, IUnknown *pConcernedDevice"};
- {"WaitForVBlank"};
- {"TakeOwnership", "IUnknown *pDevice, BOOL Exclusive"};
- {ret = "void", "ReleaseOwnership"};
- {"GetGammaControlCapabilities", "DXGI_GAMMA_CONTROL_CAPABILITIES *pGammaCaps"};
- {"SetGammaControl", "const DXGI_GAMMA_CONTROL *pArray"};
- {"GetGammaControl", "DXGI_GAMMA_CONTROL *pArray"};
- {"SetDisplaySurface", "IDXGISurface *pScanoutSurface"};
- {"GetDisplaySurfaceData", "IDXGISurface *pDestination"};
- {"GetFrameStatistics", "DXGI_FRAME_STATISTICS *pStats"};
- };
- iid = "ae02eedb-c735-4690-8d52-5a8dc20213aa";
- };
- {"IDXGIDeviceSubObject"; inherits = "IDXGIObject";
- methods = {
- {"GetDevice", "REFIID riid, void **ppDevice"};
- };
- iid = "3d3e0379-f9de-4d58-bb6c-18d62992f1a6";
- };
- {"IDXGIKeyedMutex"; inherits = "IDXGIDeviceSubObject";
- methods = {
- {"AcquireSync", "uint64_t Key, DWORD dwMilliseconds"};
- {"ReleaseSync", "uint64_t Key"};
- };
- iid = "9d8e1289-d7b3-465f-8126-250e349af85d";
- };
- {"IDXGIResource"; inherits = "IDXGIDeviceSubObject";
- methods = {
- {"GetSharedHandle", "HANDLE *pSharedHandle"};
- {"GetUsage", "DXGI_USAGE *pUsage"};
- {"SetEvictionPriority", "unsigned int EvictionPriority"};
- {"GetEvictionPriority", "unsigned int *pEvictionPriority"};
- };
- iid = "035f3ab4-482e-4e50-b41f-8a7f8bd8960b";
- };
- {"IDXGISurface"; inherits = "IDXGIDeviceSubObject";
- methods = {
- {"GetDesc", "DXGI_SURFACE_DESC *pDesc"};
- {"Map", "DXGI_MAPPED_RECT *pLockedRect, unsigned int MapFlags"};
- {"Unmap"};
- };
- iid = "cafcb56c-6ac3-4889-bf47-9e23bbd260ec";
- };
- {"IDXGISurface1"; inherits = "IDXGISurface";
- methods = {
- {"GetDC", "BOOL Discard, HDC *phdc"};
- {"ReleaseDC", "RECT *pDirtyRect"};
- };
- iid = "4AE63092-6327-4c1b-80AE-BFE12EA32B86";
- };
- {"IDXGISwapChain"; inherits = "IDXGIDeviceSubObject";
- methods = {
- {"Present", "unsigned int SyncInterval, unsigned int Flags"};
- {"GetBuffer", "unsigned int Buffer, REFIID riid, void **ppSurface"};
- {"SetFullscreenState", "BOOL Fullscreen, IDXGIOutput *pTarget"};
- {"GetFullscreenState", "BOOL *pFullscreen, IDXGIOutput **ppTarget"};
- {"GetDesc", "DXGI_SWAP_CHAIN_DESC *pDesc"};
- {"ResizeBuffers", "unsigned int BufferCount, unsigned int Width, unsigned int Height, DXGI_FORMAT NewFormat, unsigned int SwapChainFlags"};
- {"ResizeTarget", "const DXGI_MODE_DESC *pNewTargetParameters"};
- {"GetContainingOutput", "IDXGIOutput **ppOutput"};
- {"GetFrameStatistics", "DXGI_FRAME_STATISTICS *pStats"};
- {"GetLastPresentCount", "unsigned int *pLastPresentCount"};
- };
- iid = "310d36a0-d2e7-4c0a-aa04-6a9d23b8886a";
- };
- {"IDXGIDevice"; inherits = "IDXGIObject";
- methods = {
- {"GetAdapter", "IDXGIAdapter **pAdapter"};
- {"CreateSurface", "const DXGI_SURFACE_DESC *pDesc, unsigned int NumSurfaces, DXGI_USAGE Usage, const DXGI_SHARED_RESOURCE *pSharedResource, IDXGISurface **ppSurface"};
- {"QueryResourceResidency", "IUnknown *const *ppResources, DXGI_RESIDENCY *pResidencyStatus, unsigned int NumResources"};
- {"SetGPUThreadPriority", "int Priority"};
- {"GetGPUThreadPriority", "int *pPriority"};
- };
- iid = "54ec77fa-1377-44e6-8c32-88fd5f44c84c";
- };
- {"IDXGIDevice1"; inherits = "IDXGIDevice";
- methods = {
- {"SetMaximumFrameLatency", "unsigned int MaxLatency"};
- {"GetMaximumFrameLatency", "unsigned int *pMaxLatency"};
- };
- iid = "77db970f-6276-48ba-ba28-070143b4392c";
- };
- {"IDXGIFactory"; inherits = "IDXGIObject";
- methods = {
- {"EnumAdapters", "unsigned int Adapter, IDXGIAdapter **ppAdapter"};
- {"MakeWindowAssociation", "HWND WindowHandle, unsigned int Flags"};
- {"GetWindowAssociation", "HWND *pWindowHandle"};
- {"CreateSwapChain", "IUnknown *pDevice, DXGI_SWAP_CHAIN_DESC *pDesc, IDXGISwapChain **ppSwapChain"};
- {"CreateSoftwareAdapter", "HMODULE Module, IDXGIAdapter **ppAdapter"};
- };
- iid = "7b7166ec-21c7-44ae-b21a-c9ae321ae369";
- };
- {"IDXGIFactory1"; inherits = "IDXGIFactory";
- methods = {
- {"EnumAdapters1", "unsigned int Adapter, IDXGIAdapter1 **ppAdapter"};
- {ret = "BOOL", "IsCurrent"};
- };
- iid = "770aae78-f26f-4dba-a829-253c83d1b387";
- };
- }
- -- Generated from dwrite.h
- com.def {
- {"IDWriteLocalizedStrings";
- methods = {
- {ret = "uint32_t", "GetCount"};
- {"FindLocaleName", "wchar_t const* localeName, uint32_t* index, BOOL* exists"};
- {"GetLocaleNameLength", "uint32_t index, uint32_t* length"};
- {"GetLocaleName", "uint32_t index, wchar_t* localeName, uint32_t size"};
- {"GetStringLength", "uint32_t index, uint32_t* length"};
- {"GetString", "uint32_t index, wchar_t* stringBuffer, uint32_t size"};
- };
- iid = "08256209-099a-4b34-b86d-c22b110e7771";
- };
- {"IDWriteGlyphRunAnalysis";
- methods = {
- {"GetAlphaTextureBounds", "DWRITE_TEXTURE_TYPE textureType, RECT* textureBounds"};
- {"CreateAlphaTexture", "DWRITE_TEXTURE_TYPE textureType, RECT const* textureBounds, BYTE* alphaValues, uint32_t bufferSize"};
- {"GetAlphaBlendParams", "IDWriteRenderingParams* renderingParams, float* blendGamma, float* blendEnhancedContrast, float* blendClearTypeLevel"};
- };
- iid = "7d97dbf7-e085-42d4-81e3-6a883bded118";
- };
- {"IDWriteTextAnalyzer";
- methods = {
- {"AnalyzeScript", "IDWriteTextAnalysisSource* analysisSource, uint32_t textPosition, uint32_t textLength, IDWriteTextAnalysisSink* analysisSink"};
- {"AnalyzeBidi", "IDWriteTextAnalysisSource* analysisSource, uint32_t textPosition, uint32_t textLength, IDWriteTextAnalysisSink* analysisSink"};
- {"AnalyzeNumberSubstitution", "IDWriteTextAnalysisSource* analysisSource, uint32_t textPosition, uint32_t textLength, IDWriteTextAnalysisSink* analysisSink"};
- {"AnalyzeLineBreakpoints", "IDWriteTextAnalysisSource* analysisSource, uint32_t textPosition, uint32_t textLength, IDWriteTextAnalysisSink* analysisSink"};
- {"GetGlyphs", "wchar_t const* textString, uint32_t textLength, IDWriteFontFace* fontFace, BOOL isSideways, BOOL isRightToLeft, DWRITE_SCRIPT_ANALYSIS const* scriptAnalysis, wchar_t const* localeName, IDWriteNumberSubstitution* numberSubstitution, DWRITE_TYPOGRAPHIC_FEATURES const** features, uint32_t const* featureRangeLengths, uint32_t featureRanges, uint32_t maxGlyphCount, UINT16* clusterMap, DWRITE_SHAPING_TEXT_PROPERTIES* textProps, UINT16* glyphIndices, DWRITE_SHAPING_GLYPH_PROPERTIES* glyphProps, uint32_t* actualGlyphCount"};
- {"GetGlyphPlacements", "wchar_t const* textString, UINT16 const* clusterMap, DWRITE_SHAPING_TEXT_PROPERTIES* textProps, uint32_t textLength, UINT16 const* glyphIndices, DWRITE_SHAPING_GLYPH_PROPERTIES const* glyphProps, uint32_t glyphCount, IDWriteFontFace * fontFace, float fontEmSize, BOOL isSideways, BOOL isRightToLeft, DWRITE_SCRIPT_ANALYSIS const* scriptAnalysis, wchar_t const* localeName, DWRITE_TYPOGRAPHIC_FEATURES const** features, uint32_t const* featureRangeLengths, uint32_t featureRanges, float* glyphAdvances, DWRITE_GLYPH_OFFSET* glyphOffsets"};
- {"GetGdiCompatibleGlyphPlacements", "wchar_t const* textString, UINT16 const* clusterMap, DWRITE_SHAPING_TEXT_PROPERTIES* textProps, uint32_t textLength, UINT16 const* glyphIndices, DWRITE_SHAPING_GLYPH_PROPERTIES const* glyphProps, uint32_t glyphCount, IDWriteFontFace * fontFace, float fontEmSize, float pixelsPerDip, DWRITE_MATRIX const* transform, BOOL useGdiNatural, BOOL isSideways, BOOL isRightToLeft, DWRITE_SCRIPT_ANALYSIS const* scriptAnalysis, wchar_t const* localeName, DWRITE_TYPOGRAPHIC_FEATURES const** features, uint32_t const* featureRangeLengths, uint32_t featureRanges, float* glyphAdvances, DWRITE_GLYPH_OFFSET* glyphOffsets"};
- };
- iid = "b7e6163e-7f46-43b4-84b3-e4e6249c365d";
- };
- {"IDWriteBitmapRenderTarget";
- methods = {
- {"DrawGlyphRun", "float baselineOriginX, float baselineOriginY, DWRITE_MEASURING_MODE measuringMode, DWRITE_GLYPH_RUN const* glyphRun, IDWriteRenderingParams* renderingParams, COLORREF textColor, RECT* blackBoxRect"};
- {ret = "HDC", "GetMemoryDC"};
- {ret = "float", "GetPixelsPerDip"};
- {"SetPixelsPerDip", "float pixelsPerDip"};
- {"GetCurrentTransform", "DWRITE_MATRIX* transform"};
- {"SetCurrentTransform", "DWRITE_MATRIX const* transform"};
- {"GetSize", "SIZE* size"};
- {"Resize", "uint32_t width, uint32_t height"};
- };
- iid = "5e5a32a3-8dff-4773-9ff6-0696eab77267";
- };
- {"IDWriteInlineObject";
- methods = {
- {"Draw", "void* clientDrawingContext, IDWriteTextRenderer* renderer, float originX, float originY, BOOL isSideways, BOOL isRightToLeft, IUnknown* clientDrawingEffect"};
- {"GetMetrics", "DWRITE_INLINE_OBJECT_METRICS* metrics"};
- {"GetOverhangMetrics", "DWRITE_OVERHANG_METRICS* overhangs"};
- {"GetBreakConditions", "DWRITE_BREAK_CONDITION* breakConditionBefore, DWRITE_BREAK_CONDITION* breakConditionAfter"};
- };
- iid = "8339FDE3-106F-47ab-8373-1C6295EB10B3";
- };
- {"IDWriteFontFileEnumerator";
- methods = {
- {"MoveNext", "BOOL* hasCurrentFile"};
- {"GetCurrentFontFile", "IDWriteFontFile** fontFile"};
- };
- iid = "72755049-5ff7-435d-8348-4be97cfa6c7c";
- };
- {"IDWriteFontFileStream";
- methods = {
- {"ReadFileFragment", "void const** fragmentStart, uint64_t fileOffset, uint64_t fragmentSize, void** fragmentContext"};
- {ret = "void", "ReleaseFileFragment", "void* fragmentContext"};
- {"GetFileSize", "uint64_t* fileSize"};
- {"GetLastWriteTime", "uint64_t* lastWriteTime"};
- };
- iid = "6d4865fe-0ab8-4d91-8f62-5dd6be34a3e0";
- };
- {"IDWriteFactory";
- methods = {
- {"GetSystemFontCollection", "IDWriteFontCollection** fontCollection, BOOL checkForUpdates"};
- {"CreateCustomFontCollection", "IDWriteFontCollectionLoader* collectionLoader, void const* collectionKey, uint32_t collectionKeySize, IDWriteFontCollection** fontCollection"};
- {"RegisterFontCollectionLoader", "IDWriteFontCollectionLoader* fontCollectionLoader"};
- {"UnregisterFontCollectionLoader", "IDWriteFontCollectionLoader* fontCollectionLoader"};
- {"CreateFontFileReference", "wchar_t const* filePath, FILETIME const* lastWriteTime, IDWriteFontFile** fontFile"};
- {"CreateCustomFontFileReference", "void const* fontFileReferenceKey, uint32_t fontFileReferenceKeySize, IDWriteFontFileLoader* fontFileLoader, IDWriteFontFile** fontFile"};
- {"CreateFontFace", "DWRITE_FONT_FACE_TYPE fontFaceType, uint32_t numberOfFiles, IDWriteFontFile* const* fontFiles, uint32_t faceIndex, DWRITE_FONT_SIMULATIONS fontFaceSimulationFlags, IDWriteFontFace** fontFace"};
- {"CreateRenderingParams", "IDWriteRenderingParams** renderingParams"};
- {"CreateMonitorRenderingParams", "HMONITOR monitor, IDWriteRenderingParams** renderingParams"};
- {"CreateCustomRenderingParams", "float gamma, float enhancedContrast, float clearTypeLevel, DWRITE_PIXEL_GEOMETRY pixelGeometry, DWRITE_RENDERING_MODE renderingMode, IDWriteRenderingParams** renderingParams"};
- {"RegisterFontFileLoader", "IDWriteFontFileLoader* fontFileLoader"};
- {"UnregisterFontFileLoader", "IDWriteFontFileLoader* fontFileLoader"};
- {"CreateTextFormat", "wchar_t const* fontFamilyName, IDWriteFontCollection* fontCollection, DWRITE_FONT_WEIGHT fontWeight, DWRITE_FONT_STYLE fontStyle, DWRITE_FONT_STRETCH fontStretch, float fontSize, wchar_t const* localeName, IDWriteTextFormat** textFormat"};
- {"CreateTypography", "IDWriteTypography** typography"};
- {"GetGdiInterop", "IDWriteGdiInterop** gdiInterop"};
- {"CreateTextLayout", "wchar_t const* string, uint32_t stringLength, IDWriteTextFormat* textFormat, float maxWidth, float maxHeight, IDWriteTextLayout** textLayout"};
- {"CreateGdiCompatibleTextLayout", "wchar_t const* string, uint32_t stringLength, IDWriteTextFormat* textFormat, float layoutWidth, float layoutHeight, float pixelsPerDip, DWRITE_MATRIX const* transform, BOOL useGdiNatural, IDWriteTextLayout** textLayout"};
- {"CreateEllipsisTrimmingSign", "IDWriteTextFormat* textFormat, IDWriteInlineObject** trimmingSign"};
- {"CreateTextAnalyzer", "IDWriteTextAnalyzer** textAnalyzer"};
- {"CreateNumberSubstitution", "DWRITE_NUMBER_SUBSTITUTION_METHOD substitutionMethod, wchar_t const* localeName, BOOL ignoreUserOverride, IDWriteNumberSubstitution** numberSubstitution"};
- {"CreateGlyphRunAnalysis", "DWRITE_GLYPH_RUN const* glyphRun, float pixelsPerDip, DWRITE_MATRIX const* transform, DWRITE_RENDERING_MODE renderingMode, DWRITE_MEASURING_MODE measuringMode, float baselineOriginX, float baselineOriginY, IDWriteGlyphRunAnalysis** glyphRunAnalysis"};
- };
- iid = "b859ee5a-d838-4b5b-a2e8-1adc7d93db48";
- };
- {"IDWriteRenderingParams";
- methods = {
- {ret = "float", "GetGamma"};
- {ret = "float", "GetEnhancedContrast"};
- {ret = "float", "GetClearTypeLevel"};
- {ret = "DWRITE_PIXEL_GEOMETRY", "GetPixelGeometry"};
- {ret = "DWRITE_RENDERING_MODE", "GetRenderingMode"};
- };
- iid = "2f0da53a-2add-47cd-82ee-d9ec34688e75";
- };
- {"IDWriteTextFormat";
- methods = {
- {"SetTextAlignment", "DWRITE_TEXT_ALIGNMENT textAlignment"};
- {"SetParagraphAlignment", "DWRITE_PARAGRAPH_ALIGNMENT paragraphAlignment"};
- {"SetWordWrapping", "DWRITE_WORD_WRAPPING wordWrapping"};
- {"SetReadingDirection", "DWRITE_READING_DIRECTION readingDirection"};
- {"SetFlowDirection", "DWRITE_FLOW_DIRECTION flowDirection"};
- {"SetIncrementalTabStop", "float incrementalTabStop"};
- {"SetTrimming", "DWRITE_TRIMMING const* trimmingOptions, IDWriteInlineObject* trimmingSign"};
- {"SetLineSpacing", "DWRITE_LINE_SPACING_METHOD lineSpacingMethod, float lineSpacing, float baseline"};
- {ret = "DWRITE_TEXT_ALIGNMENT", "GetTextAlignment"};
- {ret = "DWRITE_PARAGRAPH_ALIGNMENT", "GetParagraphAlignment"};
- {ret = "DWRITE_WORD_WRAPPING", "GetWordWrapping"};
- {ret = "DWRITE_READING_DIRECTION", "GetReadingDirection"};
- {ret = "DWRITE_FLOW_DIRECTION", "GetFlowDirection"};
- {ret = "float", "GetIncrementalTabStop"};
- {"GetTrimming", "DWRITE_TRIMMING* trimmingOptions, IDWriteInlineObject** trimmingSign"};
- {"GetLineSpacing", "DWRITE_LINE_SPACING_METHOD* lineSpacingMethod, float* lineSpacing, float* baseline"};
- {"GetFontCollection", "IDWriteFontCollection** fontCollection"};
- {ret = "uint32_t", "GetFontFamilyNameLength"};
- {"GetFontFamilyName", "wchar_t* fontFamilyName, uint32_t nameSize"};
- {ret = "DWRITE_FONT_WEIGHT", "GetFontWeight"};
- {ret = "DWRITE_FONT_STYLE", "GetFontStyle"};
- {ret = "DWRITE_FONT_STRETCH", "GetFontStretch"};
- {ret = "float", "GetFontSize"};
- {ret = "uint32_t", "GetLocaleNameLength"};
- {"GetLocaleName", "wchar_t* localeName, uint32_t nameSize"};
- };
- iid = "9c906818-31d7-4fd3-a151-7c5e225db55a";
- };
- {"IDWriteTextLayout"; inherits = "IDWriteTextFormat";
- methods = {
- {"SetMaxWidth", "float maxWidth"};
- {"SetMaxHeight", "float maxHeight"};
- {"SetFontCollection", "IDWriteFontCollection* fontCollection, DWRITE_TEXT_RANGE textRange"};
- {"SetFontFamilyName", "wchar_t const* fontFamilyName, DWRITE_TEXT_RANGE textRange"};
- {"SetFontWeight", "DWRITE_FONT_WEIGHT fontWeight, DWRITE_TEXT_RANGE textRange"};
- {"SetFontStyle", "DWRITE_FONT_STYLE fontStyle, DWRITE_TEXT_RANGE textRange"};
- {"SetFontStretch", "DWRITE_FONT_STRETCH fontStretch, DWRITE_TEXT_RANGE textRange"};
- {"SetFontSize", "float fontSize, DWRITE_TEXT_RANGE textRange"};
- {"SetUnderline", "BOOL hasUnderline, DWRITE_TEXT_RANGE textRange"};
- {"SetStrikethrough", "BOOL hasStrikethrough, DWRITE_TEXT_RANGE textRange"};
- {"SetDrawingEffect", "IUnknown* drawingEffect, DWRITE_TEXT_RANGE textRange"};
- {"SetInlineObject", "IDWriteInlineObject* inlineObject, DWRITE_TEXT_RANGE textRange"};
- {"SetTypography", "IDWriteTypography* typography, DWRITE_TEXT_RANGE textRange"};
- {"SetLocaleName", "wchar_t const* localeName, DWRITE_TEXT_RANGE textRange"};
- {ret = "float", "GetMaxWidth"};
- {ret = "float", "GetMaxHeight"};
- {"GetFontCollection", "uint32_t currentPosition, IDWriteFontCollection** fontCollection, DWRITE_TEXT_RANGE* textRange"};
- {"GetFontFamilyNameLength", "uint32_t currentPosition, uint32_t* nameLength, DWRITE_TEXT_RANGE* textRange"};
- {"GetFontFamilyName", "uint32_t currentPosition, wchar_t* fontFamilyName, uint32_t nameSize, DWRITE_TEXT_RANGE* textRange"};
- {"GetFontWeight", "uint32_t currentPosition, DWRITE_FONT_WEIGHT* fontWeight, DWRITE_TEXT_RANGE* textRange"};
- {"GetFontStyle", "uint32_t currentPosition, DWRITE_FONT_STYLE* fontStyle, DWRITE_TEXT_RANGE* textRange"};
- {"GetFontStretch", "uint32_t currentPosition, DWRITE_FONT_STRETCH* fontStretch, DWRITE_TEXT_RANGE* textRange"};
- {"GetFontSize", "uint32_t currentPosition, float* fontSize, DWRITE_TEXT_RANGE* textRange"};
- {"GetUnderline", "uint32_t currentPosition, BOOL* hasUnderline, DWRITE_TEXT_RANGE* textRange"};
- {"GetStrikethrough", "uint32_t currentPosition, BOOL* hasStrikethrough, DWRITE_TEXT_RANGE* textRange"};
- {"GetDrawingEffect", "uint32_t currentPosition, IUnknown** drawingEffect, DWRITE_TEXT_RANGE* textRange"};
- {"GetInlineObject", "uint32_t currentPosition, IDWriteInlineObject** inlineObject, DWRITE_TEXT_RANGE* textRange"};
- {"GetTypography", "uint32_t currentPosition, IDWriteTypography** typography, DWRITE_TEXT_RANGE* textRange"};
- {"GetLocaleNameLength", "uint32_t currentPosition, uint32_t* nameLength, DWRITE_TEXT_RANGE* textRange"};
- {"GetLocaleName", "uint32_t currentPosition, wchar_t* localeName, uint32_t nameSize, DWRITE_TEXT_RANGE* textRange"};
- {"Draw", "void* clientDrawingContext, IDWriteTextRenderer* renderer, float originX, float originY"};
- {"GetLineMetrics", "DWRITE_LINE_METRICS* lineMetrics, uint32_t maxLineCount, uint32_t* actualLineCount"};
- {"GetMetrics", "DWRITE_TEXT_METRICS* textMetrics"};
- {"GetOverhangMetrics", "DWRITE_OVERHANG_METRICS* overhangs"};
- {"GetClusterMetrics", "DWRITE_CLUSTER_METRICS* clusterMetrics, uint32_t maxClusterCount, uint32_t* actualClusterCount"};
- {"DetermineMinWidth", "float* minWidth"};
- {"HitTestPoint", "float pointX, float pointY, BOOL* isTrailingHit, BOOL* isInside, DWRITE_HIT_TEST_METRICS* hitTestMetrics"};
- {"HitTestTextPosition", "uint32_t textPosition, BOOL isTrailingHit, float* pointX, float* pointY, DWRITE_HIT_TEST_METRICS* hitTestMetrics"};
- {"HitTestTextRange", "uint32_t textPosition, uint32_t textLength, float originX, float originY, DWRITE_HIT_TEST_METRICS* hitTestMetrics, uint32_t maxHitTestMetricsCount, uint32_t* actualHitTestMetricsCount"};
- };
- iid = "53737037-6d14-410b-9bfe-0b182bb70961";
- };
- {"IDWriteFontFileLoader";
- methods = {
- {"CreateStreamFromKey", "void const* fontFileReferenceKey, uint32_t fontFileReferenceKeySize, IDWriteFontFileStream** fontFileStream"};
- };
- iid = "727cad4e-d6af-4c9e-8a08-d695b11caa49";
- };
- {"IDWriteLocalFontFileLoader"; inherits = "IDWriteFontFileLoader";
- methods = {
- {"GetFilePathLengthFromKey", "void const* fontFileReferenceKey, uint32_t fontFileReferenceKeySize, uint32_t* filePathLength"};
- {"GetFilePathFromKey", "void const* fontFileReferenceKey, uint32_t fontFileReferenceKeySize, wchar_t* filePath, uint32_t filePathSize"};
- {"GetLastWriteTimeFromKey", "void const* fontFileReferenceKey, uint32_t fontFileReferenceKeySize, FILETIME* lastWriteTime"};
- };
- iid = "b2d9f3ec-c9fe-4a11-a2ec-d86208f7c0a2";
- };
- {"IDWriteFont";
- methods = {
- {"GetFontFamily", "IDWriteFontFamily** fontFamily"};
- {ret = "DWRITE_FONT_WEIGHT", "GetWeight"};
- {ret = "DWRITE_FONT_STRETCH", "GetStretch"};
- {ret = "DWRITE_FONT_STYLE", "GetStyle"};
- {ret = "BOOL", "IsSymbolFont"};
- {"GetFaceNames", "IDWriteLocalizedStrings** names"};
- {"GetInformationalStrings", "DWRITE_INFORMATIONAL_STRING_ID informationalStringID, IDWriteLocalizedStrings** informationalStrings, BOOL* exists"};
- {ret = "DWRITE_FONT_SIMULATIONS", "GetSimulations"};
- {ret = "void", "GetMetrics", "DWRITE_FONT_METRICS* fontMetrics"};
- {"HasCharacter", "uint32_t unicodeValue, BOOL* exists"};
- {"CreateFontFace", "IDWriteFontFace** fontFace"};
- };
- iid = "acd16696-8c14-4f5d-877e-fe3fc1d32737";
- };
- {"IDWriteTypography";
- methods = {
- {"AddFontFeature", "DWRITE_FONT_FEATURE fontFeature"};
- {ret = "uint32_t", "GetFontFeatureCount"};
- {"GetFontFeature", "uint32_t fontFeatureIndex, DWRITE_FONT_FEATURE* fontFeature"};
- };
- iid = "55f1112b-1dc2-4b3c-9541-f46894ed85b6";
- };
- {"IDWriteTextAnalysisSource";
- methods = {
- {"GetTextAtPosition", "uint32_t textPosition, wchar_t const** textString, uint32_t* textLength"};
- {"GetTextBeforePosition", "uint32_t textPosition, wchar_t const** textString, uint32_t* textLength"};
- {ret = "DWRITE_READING_DIRECTION", "GetParagraphReadingDirection"};
- {"GetLocaleName", "uint32_t textPosition, uint32_t* textLength, wchar_t const** localeName"};
- {"GetNumberSubstitution", "uint32_t textPosition, uint32_t* textLength, IDWriteNumberSubstitution** numberSubstitution"};
- };
- iid = "688e1a58-5094-47c8-adc8-fbcea60ae92b";
- };
- {"IDWritePixelSnapping";
- methods = {
- {"IsPixelSnappingDisabled", "void* clientDrawingContext, BOOL* isDisabled"};
- {"GetCurrentTransform", "void* clientDrawingContext, DWRITE_MATRIX* transform"};
- {"GetPixelsPerDip", "void* clientDrawingContext, float* pixelsPerDip"};
- };
- iid = "eaf3a2da-ecf4-4d24-b644-b34f6842024b";
- };
- {"IDWriteTextRenderer"; inherits = "IDWritePixelSnapping";
- methods = {
- {"DrawGlyphRun", "void* clientDrawingContext, float baselineOriginX, float baselineOriginY, DWRITE_MEASURING_MODE measuringMode, DWRITE_GLYPH_RUN const* glyphRun, DWRITE_GLYPH_RUN_DESCRIPTION const* glyphRunDescription, IUnknown* clientDrawingEffect"};
- {"DrawUnderline", "void* clientDrawingContext, float baselineOriginX, float baselineOriginY, DWRITE_UNDERLINE const* underline, IUnknown* clientDrawingEffect"};
- {"DrawStrikethrough", "void* clientDrawingContext, float baselineOriginX, float baselineOriginY, DWRITE_STRIKETHROUGH const* strikethrough, IUnknown* clientDrawingEffect"};
- {"DrawInlineObject", "void* clientDrawingContext, float originX, float originY, IDWriteInlineObject* inlineObject, BOOL isSideways, BOOL isRightToLeft, IUnknown* clientDrawingEffect"};
- };
- iid = "ef8a8135-5cc6-45fe-8825-c5a0724eb819";
- };
- {"IDWriteFontCollectionLoader";
- methods = {
- {"CreateEnumeratorFromKey", "IDWriteFactory* factory, void const* collectionKey, uint32_t collectionKeySize, IDWriteFontFileEnumerator** fontFileEnumerator"};
- };
- iid = "cca920e4-52f0-492b-bfa8-29c72ee0a468";
- };
- {"IDWriteTextAnalysisSink";
- methods = {
- {"SetScriptAnalysis", "uint32_t textPosition, uint32_t textLength, DWRITE_SCRIPT_ANALYSIS const* scriptAnalysis"};
- {"SetLineBreakpoints", "uint32_t textPosition, uint32_t textLength, DWRITE_LINE_BREAKPOINT const* lineBreakpoints"};
- {"SetBidiLevel", "uint32_t textPosition, uint32_t textLength, UINT8 explicitLevel, UINT8 resolvedLevel"};
- {"SetNumberSubstitution", "uint32_t textPosition, uint32_t textLength, IDWriteNumberSubstitution* numberSubstitution"};
- };
- iid = "5810cd44-0ca0-4701-b3fa-bec5182ae4f6";
- };
- {"IDWriteFontFile";
- methods = {
- {"GetReferenceKey", "void const** fontFileReferenceKey, uint32_t* fontFileReferenceKeySize"};
- {"GetLoader", "IDWriteFontFileLoader** fontFileLoader"};
- {"Analyze", "BOOL* isSupportedFontType, DWRITE_FONT_FILE_TYPE* fontFileType, DWRITE_FONT_FACE_TYPE* fontFaceType, uint32_t* numberOfFaces"};
- };
- iid = "739d886a-cef5-47dc-8769-1a8b41bebbb0";
- };
- {"IDWriteNumberSubstitution";
- methods = {
- };
- iid = "14885CC9-BAB0-4f90-B6ED-5C366A2CD03D";
- };
- {"IDWriteFontFace";
- methods = {
- {ret = "DWRITE_FONT_FACE_TYPE", "GetType"};
- {"GetFiles", "uint32_t* numberOfFiles, IDWriteFontFile** fontFiles"};
- {ret = "uint32_t", "GetIndex"};
- {ret = "DWRITE_FONT_SIMULATIONS", "GetSimulations"};
- {ret = "BOOL", "IsSymbolFont"};
- {ret = "void", "GetMetrics", "DWRITE_FONT_METRICS* fontFaceMetrics"};
- {ret = "UINT16", "GetGlyphCount"};
- {"GetDesignGlyphMetrics", "UINT16 const* glyphIndices, uint32_t glyphCount, DWRITE_GLYPH_METRICS* glyphMetrics, BOOL isSideways"};
- {"GetGlyphIndices", "uint32_t const* codePoints, uint32_t codePointCount, UINT16* glyphIndices"};
- {"TryGetFontTable", "uint32_t openTypeTableTag, const void** tableData, uint32_t* tableSize, void** tableContext, BOOL* exists"};
- {ret = "void", "ReleaseFontTable", "void* tableContext"};
- {"GetGlyphRunOutline", "float emSize, UINT16 const* glyphIndices, float const* glyphAdvances, DWRITE_GLYPH_OFFSET const* glyphOffsets, uint32_t glyphCount, BOOL isSideways, BOOL isRightToLeft, IDWriteGeometrySink* geometrySink"};
- {"GetRecommendedRenderingMode", "float emSize, float pixelsPerDip, DWRITE_MEASURING_MODE measuringMode, IDWriteRenderingParams* renderingParams, DWRITE_RENDERING_MODE* renderingMode"};
- {"GetGdiCompatibleMetrics", "float emSize, float pixelsPerDip, DWRITE_MATRIX const* transform, DWRITE_FONT_METRICS* fontFaceMetrics"};
- {"GetGdiCompatibleGlyphMetrics", "float emSize, float pixelsPerDip, DWRITE_MATRIX const* transform, BOOL useGdiNatural, UINT16 const* glyphIndices, uint32_t glyphCount, DWRITE_GLYPH_METRICS* glyphMetrics, BOOL isSideways"};
- };
- iid = "5f49804d-7024-4d43-bfa9-d25984f53849";
- };
- {"IDWriteGdiInterop";
- methods = {
- {"CreateFontFromLOGFONT", "LOGFONTW const* logFont, IDWriteFont** font"};
- {"ConvertFontToLOGFONT", "IDWriteFont* font, LOGFONTW* logFont, BOOL* isSystemFont"};
- {"ConvertFontFaceToLOGFONT", "IDWriteFontFace* font, LOGFONTW* logFont"};
- {"CreateFontFaceFromHdc", "HDC hdc, IDWriteFontFace** fontFace"};
- {"CreateBitmapRenderTarget", "HDC hdc, uint32_t width, uint32_t height, IDWriteBitmapRenderTarget** renderTarget"};
- };
- iid = "1edd9491-9853-4299-898f-6432983b6f3a";
- };
- {"IDWriteFontCollection";
- methods = {
- {ret = "uint32_t", "GetFontFamilyCount"};
- {"GetFontFamily", "uint32_t index, IDWriteFontFamily** fontFamily"};
- {"FindFamilyName", "wchar_t const* familyName, uint32_t* index, BOOL* exists"};
- {"GetFontFromFontFace", "IDWriteFontFace* fontFace, IDWriteFont** font"};
- };
- iid = "a84cee02-3eea-4eee-a827-87c1a02a0fcc";
- };
- {"IDWriteFontList";
- methods = {
- {"GetFontCollection", "IDWriteFontCollection** fontCollection"};
- {ret = "uint32_t", "GetFontCount"};
- {"GetFont", "uint32_t index, IDWriteFont** font"};
- };
- iid = "1a0d8438-1d97-4ec1-aef9-a2fb86ed6acb";
- };
- {"IDWriteFontFamily"; inherits = "IDWriteFontList";
- methods = {
- {"GetFamilyNames", "IDWriteLocalizedStrings** names"};
- {"GetFirstMatchingFont", "DWRITE_FONT_WEIGHT weight, DWRITE_FONT_STRETCH stretch, DWRITE_FONT_STYLE style, IDWriteFont** matchingFont"};
- {"GetMatchingFonts", "DWRITE_FONT_WEIGHT weight, DWRITE_FONT_STRETCH stretch, DWRITE_FONT_STYLE style, IDWriteFontList** matchingFonts"};
- };
- iid = "da20d8ef-812a-4c43-9802-62ec4abd7add";
- };
- }
- -- Generated from wincodec.h
- com.def {
- {"IWICStream"; inherits = "IStream";
- methods = {
- {"InitializeFromIStream", "IStream *pIStream"};
- {"InitializeFromFilename", "LPCWSTR wzFileName, DWORD dwDesiredAccess"};
- {"InitializeFromMemory", "WICInProcPointer pbBuffer, DWORD cbBufferSize"};
- {"InitializeFromIStreamRegion", "IStream *pIStream, ULARGE_INTEGER ulOffset, ULARGE_INTEGER ulMaxSize"};
- };
- iid = "135FF860-22B7-4ddf-B0F6-218F4F299A43";
- };
- {"IWICFastMetadataEncoder";
- methods = {
- {"Commit"};
- {"GetMetadataQueryWriter", "IWICMetadataQueryWriter **ppIMetadataQueryWriter"};
- };
- iid = "B84E2C09-78C9-4AC4-8BD3-524AE1663A2F";
- };
- {"IWICPalette";
- methods = {
- {"InitializePredefined", "WICBitmapPaletteType ePaletteType, BOOL fAddTransparentColor"};
- {"InitializeCustom", "WICColor *pColors, unsigned int cCount"};
- {"InitializeFromBitmap", "IWICBitmapSource *pISurface, unsigned int cCount, BOOL fAddTransparentColor"};
- {"InitializeFromPalette", "IWICPalette *pIPalette"};
- {"GetType", "WICBitmapPaletteType *pePaletteType"};
- {"GetColorCount", "unsigned int *pcCount"};
- {"GetColors", "unsigned int cCount, WICColor *pColors, unsigned int *pcActualColors"};
- {"IsBlackWhite", "BOOL *pfIsBlackWhite"};
- {"IsGrayscale", "BOOL *pfIsGrayscale"};
- {"HasAlpha", "BOOL *pfHasAlpha"};
- };
- iid = "00000040-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICEnumMetadataItem";
- methods = {
- {"Next", "ULONG celt, PROPVARIANT *rgeltSchema, PROPVARIANT *rgeltId, PROPVARIANT *rgeltValue, ULONG *pceltFetched"};
- {"Skip", "ULONG celt"};
- {"Reset"};
- {"Clone", "IWICEnumMetadataItem **ppIEnumMetadataItem"};
- };
- iid = "DC2BB46D-3F07-481E-8625-220C4AEDBB33";
- };
- {"IWICBitmapCodecProgressNotification";
- methods = {
- {"RegisterProgressNotification", "PFNProgressNotification pfnProgressNotification, LPVOID pvData, DWORD dwProgressFlags"};
- };
- iid = "64C1024E-C3CF-4462-8078-88C2B11C46D9";
- };
- {"IWICProgressiveLevelControl";
- methods = {
- {"GetLevelCount", "unsigned int *pcLevels"};
- {"GetCurrentLevel", "unsigned int *pnLevel"};
- {"SetCurrentLevel", "unsigned int nLevel"};
- };
- iid = "DAAC296F-7AA5-4dbf-8D15-225C5976F891";
- };
- {"IWICBitmapFrameEncode";
- methods = {
- {"Initialize", "IPropertyBag2 *pIEncoderOptions"};
- {"SetSize", "unsigned int uiWidth, unsigned int uiHeight"};
- {"SetResolution", "double dpiX, double dpiY"};
- {"SetPixelFormat", "WICPixelFormatGUID *pPixelFormat"};
- {"SetColorContexts", "unsigned int cCount, IWICColorContext **ppIColorContext"};
- {"SetPalette", "IWICPalette *pIPalette"};
- {"SetThumbnail", "IWICBitmapSource *pIThumbnail"};
- {"WritePixels", "unsigned int lineCount, unsigned int cbStride, unsigned int cbBufferSize, BYTE *pbPixels"};
- {"WriteSource", "IWICBitmapSource *pIBitmapSource, WICRect *prc"};
- {"Commit"};
- {"GetMetadataQueryWriter", "IWICMetadataQueryWriter **ppIMetadataQueryWriter"};
- };
- iid = "00000105-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICDevelopRawNotificationCallback";
- methods = {
- {"Notify", "unsigned int NotificationMask"};
- };
- iid = "95c75a6e-3e8c-4ec2-85a8-aebcc551e59b";
- };
- {"IWICBitmapLock";
- methods = {
- {"GetSize", "unsigned int *puiWidth, unsigned int *puiHeight"};
- {"GetStride", "unsigned int *pcbStride"};
- {"GetDataPointer", "unsigned int *pcbBufferSize, WICInProcPointer *ppbData"};
- {"GetPixelFormat", "WICPixelFormatGUID *pPixelFormat"};
- };
- iid = "00000123-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICImagingFactory";
- methods = {
- {"CreateDecoderFromFilename", "LPCWSTR wzFilename, const GUID *pguidVendor, DWORD dwDesiredAccess, WICDecodeOptions metadataOptions, IWICBitmapDecoder **ppIDecoder"};
- {"CreateDecoderFromStream", "IStream *pIStream, const GUID *pguidVendor, WICDecodeOptions metadataOptions, IWICBitmapDecoder **ppIDecoder"};
- {"CreateDecoderFromFileHandle", "ULONG_PTR hFile, const GUID *pguidVendor, WICDecodeOptions metadataOptions, IWICBitmapDecoder **ppIDecoder"};
- {"CreateComponentInfo", "REFCLSID clsidComponent, IWICComponentInfo **ppIInfo"};
- {"CreateDecoder", "REFGUID guidContainerFormat, const GUID *pguidVendor, IWICBitmapDecoder **ppIDecoder"};
- {"CreateEncoder", "REFGUID guidContainerFormat, const GUID *pguidVendor, IWICBitmapEncoder **ppIEncoder"};
- {"CreatePalette", "IWICPalette **ppIPalette"};
- {"CreateFormatConverter", "IWICFormatConverter **ppIFormatConverter"};
- {"CreateBitmapScaler", "IWICBitmapScaler **ppIBitmapScaler"};
- {"CreateBitmapClipper", "IWICBitmapClipper **ppIBitmapClipper"};
- {"CreateBitmapFlipRotator", "IWICBitmapFlipRotator **ppIBitmapFlipRotator"};
- {"CreateStream", "IWICStream **ppIWICStream"};
- {"CreateColorContext", "IWICColorContext **ppIWICColorContext"};
- {"CreateColorTransformer", "IWICColorTransform **ppIWICColorTransform"};
- {"CreateBitmap", "unsigned int uiWidth, unsigned int uiHeight, REFWICPixelFormatGUID pixelFormat, WICBitmapCreateCacheOption option, IWICBitmap **ppIBitmap"};
- {"CreateBitmapFromSource", "IWICBitmapSource *pIBitmapSource, WICBitmapCreateCacheOption option, IWICBitmap **ppIBitmap"};
- {"CreateBitmapFromSourceRect", "IWICBitmapSource *pIBitmapSource, unsigned int x, unsigned int y, unsigned int width, unsigned int height, IWICBitmap **ppIBitmap"};
- {"CreateBitmapFromMemory", "unsigned int uiWidth, unsigned int uiHeight, REFWICPixelFormatGUID pixelFormat, unsigned int cbStride, unsigned int cbBufferSize, BYTE *pbBuffer, IWICBitmap **ppIBitmap"};
- {"CreateBitmapFromHBITMAP", "HBITMAP hBitmap, HPALETTE hPalette, WICBitmapAlphaChannelOption options, IWICBitmap **ppIBitmap"};
- {"CreateBitmapFromHICON", "HICON hIcon, IWICBitmap **ppIBitmap"};
- {"CreateComponentEnumerator", "DWORD componentTypes, DWORD options, IEnumUnknown **ppIEnumUnknown"};
- {"CreateFastMetadataEncoderFromDecoder", "IWICBitmapDecoder *pIDecoder, IWICFastMetadataEncoder **ppIFastEncoder"};
- {"CreateFastMetadataEncoderFromFrameDecode", "IWICBitmapFrameDecode *pIFrameDecoder, IWICFastMetadataEncoder **ppIFastEncoder"};
- {"CreateQueryWriter", "REFGUID guidMetadataFormat, const GUID *pguidVendor, IWICMetadataQueryWriter **ppIQueryWriter"};
- {"CreateQueryWriterFromReader", "IWICMetadataQueryReader *pIQueryReader, const GUID *pguidVendor, IWICMetadataQueryWriter **ppIQueryWriter"};
- };
- iid = "ec5ec8a9-c395-4314-9c77-54d7a935ff70";
- };
- {"IWICBitmapSource";
- methods = {
- {"GetSize", "unsigned int *puiWidth, unsigned int *puiHeight"};
- {"GetPixelFormat", "WICPixelFormatGUID *pPixelFormat"};
- {"GetResolution", "double *pDpiX, double *pDpiY"};
- {"CopyPalette", "IWICPalette *pIPalette"};
- {"CopyPixels", "const WICRect *prc, unsigned int cbStride, unsigned int cbBufferSize, BYTE *pbBuffer"};
- };
- iid = "00000120-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICBitmapFrameDecode"; inherits = "IWICBitmapSource";
- methods = {
- {"GetMetadataQueryReader", "IWICMetadataQueryReader **ppIMetadataQueryReader"};
- {"GetColorContexts", "unsigned int cCount, IWICColorContext **ppIColorContexts, unsigned int *pcActualCount"};
- {"GetThumbnail", "IWICBitmapSource **ppIThumbnail"};
- };
- iid = "3B16811B-6A43-4ec9-A813-3D930C13B940";
- };
- {"IWICDevelopRaw"; inherits = "IWICBitmapFrameDecode";
- methods = {
- {"QueryRawCapabilitiesInfo", "WICRawCapabilitiesInfo *pInfo"};
- {"LoadParameterSet", "WICRawParameterSet ParameterSet"};
- {"GetCurrentParameterSet", "IPropertyBag2 **ppCurrentParameterSet"};
- {"SetExposureCompensation", "double ev"};
- {"GetExposureCompensation", "double *pEV"};
- {"SetWhitePointRGB", "unsigned int Red, unsigned int Green, unsigned int Blue"};
- {"GetWhitePointRGB", "unsigned int *pRed, unsigned int *pGreen, unsigned int *pBlue"};
- {"SetNamedWhitePoint", "WICNamedWhitePoint WhitePoint"};
- {"GetNamedWhitePoint", "WICNamedWhitePoint *pWhitePoint"};
- {"SetWhitePointKelvin", "unsigned int WhitePointKelvin"};
- {"GetWhitePointKelvin", "unsigned int *pWhitePointKelvin"};
- {"GetKelvinRangeInfo", "unsigned int *pMinKelvinTemp, unsigned int *pMaxKelvinTemp, unsigned int *pKelvinTempStepValue"};
- {"SetContrast", "double Contrast"};
- {"GetContrast", "double *pContrast"};
- {"SetGamma", "double Gamma"};
- {"GetGamma", "double *pGamma"};
- {"SetSharpness", "double Sharpness"};
- {"GetSharpness", "double *pSharpness"};
- {"SetSaturation", "double Saturation"};
- {"GetSaturation", "double *pSaturation"};
- {"SetTint", "double Tint"};
- {"GetTint", "double *pTint"};
- {"SetNoiseReduction", "double NoiseReduction"};
- {"GetNoiseReduction", "double *pNoiseReduction"};
- {"SetDestinationColorContext", "IWICColorContext *pColorContext"};
- {"SetToneCurve", "unsigned int cbToneCurveSize, const WICRawToneCurve *pToneCurve"};
- {"GetToneCurve", "unsigned int cbToneCurveBufferSize, WICRawToneCurve *pToneCurve, unsigned int *pcbActualToneCurveBufferSize"};
- {"SetRotation", "double Rotation"};
- {"GetRotation", "double *pRotation"};
- {"SetRenderMode", "WICRawRenderMode RenderMode"};
- {"GetRenderMode", "WICRawRenderMode *pRenderMode"};
- {"SetNotificationCallback", "IWICDevelopRawNotificationCallback *pCallback"};
- };
- iid = "fbec5e44-f7be-4b65-b7f8-c0c81fef026d";
- };
- {"IWICBitmapClipper"; inherits = "IWICBitmapSource";
- methods = {
- {"Initialize", "IWICBitmapSource *pISource, const WICRect *prc"};
- };
- iid = "E4FBCF03-223D-4e81-9333-D635556DD1B5";
- };
- {"IWICBitmapFlipRotator"; inherits = "IWICBitmapSource";
- methods = {
- {"Initialize", "IWICBitmapSource *pISource, WICBitmapTransformOptions options"};
- };
- iid = "5009834F-2D6A-41ce-9E1B-17C5AFF7A782";
- };
- {"IWICFormatConverter"; inherits = "IWICBitmapSource";
- methods = {
- {"Initialize", "IWICBitmapSource *pISource, REFWICPixelFormatGUID dstFormat, WICBitmapDitherType dither, IWICPalette *pIPalette, double alphaThresholdPercent, WICBitmapPaletteType paletteTranslate"};
- {"CanConvert", "REFWICPixelFormatGUID srcPixelFormat, REFWICPixelFormatGUID dstPixelFormat, BOOL *pfCanConvert"};
- };
- iid = "00000301-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICColorTransform"; inherits = "IWICBitmapSource";
- methods = {
- {"Initialize", "IWICBitmapSource *pIBitmapSource, IWICColorContext *pIContextSource, IWICColorContext *pIContextDest, REFWICPixelFormatGUID pixelFmtDest"};
- };
- iid = "B66F034F-D0E2-40ab-B436-6DE39E321A94";
- };
- {"IWICBitmap"; inherits = "IWICBitmapSource";
- methods = {
- {"Lock", "const WICRect *prcLock, DWORD flags, IWICBitmapLock **ppILock"};
- {"SetPalette", "IWICPalette *pIPalette"};
- {"SetResolution", "double dpiX, double dpiY"};
- };
- iid = "00000121-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICBitmapScaler"; inherits = "IWICBitmapSource";
- methods = {
- {"Initialize", "IWICBitmapSource *pISource, unsigned int uiWidth, unsigned int uiHeight, WICBitmapInterpolationMode mode"};
- };
- iid = "00000302-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICBitmapEncoder";
- methods = {
- {"Initialize", "IStream *pIStream, WICBitmapEncoderCacheOption cacheOption"};
- {"GetContainerFormat", "GUID *pguidContainerFormat"};
- {"GetEncoderInfo", "IWICBitmapEncoderInfo **ppIEncoderInfo"};
- {"SetColorContexts", "unsigned int cCount, IWICColorContext **ppIColorContext"};
- {"SetPalette", "IWICPalette *pIPalette"};
- {"SetThumbnail", "IWICBitmapSource *pIThumbnail"};
- {"SetPreview", "IWICBitmapSource *pIPreview"};
- {"CreateNewFrame", "IWICBitmapFrameEncode **ppIFrameEncode, IPropertyBag2 **ppIEncoderOptions"};
- {"Commit"};
- {"GetMetadataQueryWriter", "IWICMetadataQueryWriter **ppIMetadataQueryWriter"};
- };
- iid = "00000103-a8f2-4877-ba0a-fd2b6645fb94";
- };
- {"IWICBitmapDecoder";
- methods = {
- {"QueryCapability", "IStream *pIStream, DWORD *pdwCapability"};
- {"Initialize", "IStream *pIStream, WICDecodeOptions cacheOptions"};
- {"GetContainerFormat", "GUID *pguidContainerFormat"};
- {"GetDecoderInfo", "IWICBitmapDecoderInfo **ppIDecoderInfo"};
- {"CopyPalette", "IWICPalette *pIPalette"};
- {"GetMetadataQueryReader", "IWICMetadataQueryReader **ppIMetadataQueryReader"};
- {"GetPreview", "IWICBitmapSource **ppIBitmapSource"};
- {"GetColorContexts", "unsigned int cCount, IWICColorContext **ppIColorContexts, unsigned int *pcActualCount"};
- {"GetThumbnail", "IWICBitmapSource **ppIThumbnail"};
- {"GetFrameCount", "unsigned int *pCount"};
- {"GetFrame", "unsigned int index, IWICBitmapFrameDecode **ppIBitmapFrame"};
- };
- iid = "9EDDE9E7-8DEE-47ea-99DF-E6FAF2ED44BF";
- };
- {"IWICColorContext";
- methods = {
- {"InitializeFromFilename", "LPCWSTR wzFilename"};
- {"InitializeFromMemory", "const BYTE *pbBuffer, unsigned int cbBufferSize"};
- {"InitializeFromExifColorSpace", "unsigned int value"};
- {"GetType", "WICColorContextType *pType"};
- {"GetProfileBytes", "unsigned int cbBuffer, BYTE *pbBuffer, unsigned int *pcbActual"};
- {"GetExifColorSpace", "unsigned int *pValue"};
- };
- iid = "3C613A02-34B2-44ea-9A7C-45AEA9C6FD6D";
- };
- {"IWICComponentInfo";
- methods = {
- {"GetComponentType", "WICComponentType *pType"};
- {"GetCLSID", "CLSID *pclsid"};
- {"GetSigningStatus", "DWORD *pStatus"};
- {"GetAuthor", "unsigned int cchAuthor, wchar_t *wzAuthor, unsigned int *pcchActual"};
- {"GetVendorGUID", "GUID *pguidVendor"};
- {"GetVersion", "unsigned int cchVersion, wchar_t *wzVersion, unsigned int *pcchActual"};
- {"GetSpecVersion", "unsigned int cchSpecVersion, wchar_t *wzSpecVersion, unsigned int *pcchActual"};
- {"GetFriendlyName", "unsigned int cchFriendlyName, wchar_t *wzFriendlyName, unsigned int *pcchActual"};
- };
- iid = "23BC3F0A-698B-4357-886B-F24D50671334";
- };
- {"IWICFormatConverterInfo"; inherits = "IWICComponentInfo";
- methods = {
- {"GetPixelFormats", "unsigned int cFormats, WICPixelFormatGUID *pPixelFormatGUIDs, unsigned int *pcActual"};
- {"CreateInstance", "IWICFormatConverter **ppIConverter"};
- };
- iid = "9F34FB65-13F4-4f15-BC57-3726B5E53D9F";
- };
- {"IWICPixelFormatInfo"; inherits = "IWICComponentInfo";
- methods = {
- {"GetFormatGUID", "GUID *pFormat"};
- {"GetColorContext", "IWICColorContext **ppIColorContext"};
- {"GetBitsPerPixel", "unsigned int *puiBitsPerPixel"};
- {"GetChannelCount", "unsigned int *puiChannelCount"};
- {"GetChannelMask", "unsigned int uiChannelIndex, unsigned int cbMaskBuffer, BYTE *pbMaskBuffer, unsigned int *pcbActual"};
- };
- iid = "E8EDA601-3D48-431a-AB44-69059BE88BBE";
- };
- {"IWICPixelFormatInfo2"; inherits = "IWICPixelFormatInfo";
- methods = {
- {"SupportsTransparency", "BOOL *pfSupportsTransparency"};
- {"GetNumericRepresentation", "WICPixelFormatNumericRepresentation *pNumericRepresentation"};
- };
- iid = "A9DB33A2-AF5F-43C7-B679-74F5984B5AA4";
- };
- {"IWICBitmapCodecInfo"; inherits = "IWICComponentInfo";
- methods = {
- {"GetContainerFormat", "GUID *pguidContainerFormat"};
- {"GetPixelFormats", "unsigned int cFormats, GUID *pguidPixelFormats, unsigned int *pcActual"};
- {"GetColorManagementVersion", "unsigned int cchColorManagementVersion, wchar_t *wzColorManagementVersion, unsigned int *pcchActual"};
- {"GetDeviceManufacturer", "unsigned int cchDeviceManufacturer, wchar_t *wzDeviceManufacturer, unsigned int *pcchActual"};
- {"GetDeviceModels", "unsigned int cchDeviceModels, wchar_t *wzDeviceModels, unsigned int *pcchActual"};
- {"GetMimeTypes", "unsigned int cchMimeTypes, wchar_t *wzMimeTypes, unsigned int *pcchActual"};
- {"GetFileExtensions", "unsigned int cchFileExtensions, wchar_t *wzFileExtensions, unsigned int *pcchActual"};
- {"DoesSupportAnimation", "BOOL *pfSupportAnimation"};
- {"DoesSupportChromakey", "BOOL *pfSupportChromakey"};
- {"DoesSupportLossless", "BOOL *pfSupportLossless"};
- {"DoesSupportMultiframe", "BOOL *pfSupportMultiframe"};
- {"MatchesMimeType", "LPCWSTR wzMimeType, BOOL *pfMatches"};
- };
- iid = "E87A44C4-B76E-4c47-8B09-298EB12A2714";
- };
- {"IWICBitmapEncoderInfo"; inherits = "IWICBitmapCodecInfo";
- methods = {
- {"CreateInstance", "IWICBitmapEncoder **ppIBitmapEncoder"};
- };
- iid = "94C9B4EE-A09F-4f92-8A1E-4A9BCE7E76FB";
- };
- {"IWICBitmapDecoderInfo"; inherits = "IWICBitmapCodecInfo";
- methods = {
- {"GetPatterns", "unsigned int cbSizePatterns, WICBitmapPattern *pPatterns, unsigned int *pcPatterns, unsigned int *pcbPatternsActual"};
- {"MatchesPattern", "IStream *pIStream, BOOL *pfMatches"};
- {"CreateInstance", "IWICBitmapDecoder **ppIBitmapDecoder"};
- };
- iid = "D8CD007F-D08F-4191-9BFC-236EA7F0E4B5";
- };
- {"IWICBitmapSourceTransform";
- methods = {
- {"CopyPixels", "const WICRect *prc, unsigned int uiWidth, unsigned int uiHeight, WICPixelFormatGUID *pguidDstFormat, WICBitmapTransformOptions dstTransform, unsigned int nStride, unsigned int cbBufferSize, BYTE *pbBuffer"};
- {"GetClosestSize", "unsigned int *puiWidth, unsigned int *puiHeight"};
- {"GetClosestPixelFormat", "WICPixelFormatGUID *pguidDstFormat"};
- {"DoesSupportTransform", "WICBitmapTransformOptions dstTransform, BOOL *pfIsSupported"};
- };
- iid = "3B16811B-6A43-4ec9-B713-3D5A0C13B940";
- };
- {"IWICMetadataQueryReader";
- methods = {
- {"GetContainerFormat", "GUID *pguidContainerFormat"};
- {"GetLocation", "unsigned int cchMaxLength, wchar_t *wzNamespace, unsigned int *pcchActualLength"};
- {"GetMetadataByName", "LPCWSTR wzName, PROPVARIANT *pvarValue"};
- {"GetEnumerator", "IEnumString **ppIEnumString"};
- };
- iid = "30989668-E1C9-4597-B395-458EEDB808DF";
- };
- {"IWICMetadataQueryWriter"; inherits = "IWICMetadataQueryReader";
- methods = {
- {"SetMetadataByName", "LPCWSTR wzName, const PROPVARIANT *pvarValue"};
- {"RemoveMetadataByName", "LPCWSTR wzName"};
- };
- iid = "A721791A-0DEF-4d06-BD91-2118BF1DB10B";
- };
- {"IWICProgressCallback";
- methods = {
- {"Notify", "ULONG uFrameNum, WICProgressOperation operation, double dblProgress"};
- };
- iid = "4776F9CD-9517-45FA-BF24-E89C5EC5C60C";
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement