次の方法で共有


DRVENABLEDATA (Compact 2013)

3/26/2014

This structure contains function pointers to the display driver entry points.

Syntax

typedef struct tagDrvEnableData
{
// Version control of this structure is performed by incrementing
// DDI_DRIVER_VERSION whenever alterations are made.
  DHPDEV (* DrvEnablePDEV )(
    DEVMODEW* pdm,
    LPWSTR pwszLogAddress,
    ULONG cPat,
    HSURF* phsurfPatterns,
    ULONG cjCaps,
    ULONG* pdevcaps,
    ULONG cjDevInfo,
    DEVINFO* pdi,
    HDEV hdev,
    LPWSTR pwszDeviceName,
    HANDLE hDriver
  );
  VOID (* DrvDisablePDEV )(
    DHPDEV dhpdev
  );
  HSURF (* DrvEnableSurface )(
    DHPDEV dhpdev
  );
  VOID (* DrvDisableSurface )(
    DHPDEV dhpdev
  );
  HBITMAP (* DrvCreateDeviceBitmap )(
    DHPDEV dhpdev,
    SIZEL sizl,
    ULONG iFormat
  );
  VOID (* DrvDeleteDeviceBitmap )(
    DHSURF dhsurf
  );
  BOOL (* DrvRealizeBrush )(
    BRUSHOBJ* pbo,
    SURFOBJ* psoTarget,
    SURFOBJ* psoPattern,
    SURFOBJ* psoMask,
    XLATEOBJ* pxlo,
    ULONG iHatch
  );
  BOOL (* DrvStrokePath )(
    SURFOBJ* pso,
    PATHOBJ* ppo,
    CLIPOBJ* pco,
    XFORMOBJ* pxo,
    BRUSHOBJ* pbo,
    POINTL* pptlBrushOrg,
    LINEATTRS* plineattrs,
    MIX mix
  );
  BOOL (* DrvFillPath )(
    SURFOBJ* pso,
    PATHOBJ* ppo,
    CLIPOBJ* pco,
    BRUSHOBJ* pbo,
    POINTL* pptlBrushOrg,
    MIX mix,
    FLONG flOptions
  );
  BOOL (* DrvPaint )(
    SURFOBJ* pso,
    CLIPOBJ* pco,
    BRUSHOBJ* pbo,
    POINTL* pptlBrushOrg,
    MIX mix
  );
  BOOL (* DrvBitBlt )(
    SURFOBJ* psoTrg,
    SURFOBJ* psoSrc,
    SURFOBJ* psoMask,
    CLIPOBJ* pco,
    XLATEOBJ* pxlo,
    RECTL* prclTrg,
    POINTL* pptlSrc,
    POINTL* pptlMask,
    BRUSHOBJ* pbo,
    POINTL* pptlBrush,
    ROP4 rop4
  );
  BOOL (* DrvCopyBits )(
    SURFOBJ* psoDest,
    SURFOBJ* psoSrc,
    CLIPOBJ* pco,
    XLATEOBJ* pxlo,
    RECTL* prclDest,
    POINTL* pptlSrc
  );
  BOOL (* DrvAnyBlt )(
    SURFOBJ* psoDest,
    SURFOBJ* psoSrc,
    SURFOBJ* psoMask,
    CLIPOBJ* pco,
    XLATEOBJ* pxlo,
    POINTL* pptlHTOrg,
    RECTL* prclDest,
    RECTL* prclSrc,
    POINTL* pptlMask,
    BRUSHOBJ* pbo,
    POINTL* pptlBrush,
    ROP4 rop4,
    ULONG iMode,
    ULONG bltFlags
  );
  BOOL (* DrvTransparentBlt )(
    SURFOBJ* psoDest,
    SURFOBJ* psoSrc,
    CLIPOBJ* pco,
    XLATEOBJ* pxlo,
    RECTL* prclDest,
    RECTL* prclSrc,
    ULONG TransColor
  );
  BOOL (* DrvSetPalette )(
    DHPDEV dhpdev,
    PALOBJ* ppalo,
    FLONG fl,
    ULONG iStart,
    ULONG cColors
  );
  ULONG (* DrvSetPointerShape)(
    SURFOBJ* pso,
    SURFOBJ* psoMask,
    SURFOBJ* psoColor,
    XLATEOBJ* pxlo,
    LONG xHot,
    LONG yHot,
    LONG x,
    LONG y,
    RECTL* prcl,
    FLONG fl
  );
  VOID (* DrvMovePointer)(
    SURFOBJ* pso,
    LONG x,
    LONG y,
    RECTL* prcl
  );
  ULONG (* DrvGetModes)(
    HANDLE hDriver,
    ULONG cjSize,
    DEVMODEW* pdm
  );
  ULONG (* DrvRealizeColor )(
    USHORT iDstType,
    ULONG cEntries,
    ULONG* pPalette,
    ULONG rgbColor
  );
  ULONG* (* DrvGetMasks )(
    DHPDEV dhpdev
  );
  ULONG (* DrvUnrealizeColor )(
    USHORT iSrcType,
    ULONG cEntries,
    ULONG* pPalette,
    ULONG iRealizedColor
  );
  BOOL (* DrvContrastControl)(
    DHPDEV dhpdev,
    ULONG cmd,
    ULONG* pValue
  );
  VOID (* DrvPowerHandler)(
    DHPDEV dhpdev,
    BOOL bOff
  );
  BOOL (* DrvEndDoc )(
    IN SURFOBJ* pso,
    IN FLONG fl
  );
  BOOL (* DrvStartDoc )(
    IN SURFOBJ* pso,
    IN PWSTR pwszDocName,
    IN DWORD dwJobId
  );
  BOOL (* DrvStartPage )(
    IN SURFOBJ* pso
  );
  ULONG (* DrvEscape )(
    IN DHPDEV dhpdev,
    IN SURFOBJ* pso,
    IN ULONG iEsc,
    IN ULONG cjIn,
    IN PVOID pvIn,
    OUT ULONG cjOut,
    OUT PVOID pvOut
  );
  BOOL (* DrvGradientFill)(
    SURFOBJ* pso,
    CLIPOBJ* pco,
    XLATEOBJ* pxlo,
    TRIVERTEX* pVertex,
    ULONG nVertex,
    PVOID pMesh,
    ULONG nMesh,
    RECTL* prclExtents,
    POINTL* pptlDitherOrg,
    ULONG ulMode
  );
} DRVENABLEDATA,* PDRVENABLEDATA;

Members

  • DrvEnablePDEV
    Pointer to a function that returns a PDEV structure, which is a logical representation of a physical display device, to the GDI. For more information, see DrvEnablePDEV.
  • DrvDisablePDEV
    Pointer to a function that notifies the driver that the GDI no longer needs a particular display device. For more information, see DrvDisablePDEV.
  • DrvEnableSurface
    Pointer to a function that creates a drawing surface and associates it with a PDEV. For more information, see DrvEnableSurface.
  • DrvDisableSurface
    Pointer to a function that notifies the driver that the GDI no longer needs a particular drawing surface. For more information, see DrvDisableSurface.
  • DrvCreateDeviceBitmap
    Pointer to a function that creates and manages bitmaps. For more information, see DrvCreateDeviceBitmap.
  • DrvDeleteDeviceBitmap
    Pointer to a function that deletes a device bitmap. For more information, see DrvDeleteDeviceBitmap.
  • DrvRealizeBrush
    Pointer to a function that creates a brush with parameters that are specified by the GDI. For more information, see DrvRealizeBrush.
  • DrvStrokePath
    Pointer to a function that renders a drawing path. For more information, see DrvStrokePath.
  • DrvFillPath
    Pointer to a function that fills a drawing path with a brush. For more information, see DrvFillPath.
  • DrvPaint
    Pointer to a function that paints a specified region with a brush. For more information, see DrvPaint.
  • DrvBitBlt
    Pointer to a function that performs general bit-block transfer, with clipping and masking. For more information, see DrvBitBlt.
  • DrvCopyBits
    Pointer to a function that sends a GDI-created print band to a printer driver. For more information, see DrvCopyBits.
  • DrvAnyBlt
    Pointer to a function that performs bit-block transfer, with stretching or transparency. For more information, see DrvAnyBlt.
  • DrvTransparentBlt
    Pointer to a function that performs bit-block transfer, with transparency. For more information, see DrvTransparentBlt.
  • DrvSetPalette
    Pointer to a function that sets the display device's palette. For more information, see DrvSetPalette.
  • DrvSetPointerShape
    Pointer to a function that sets the pointer to a new shape and updates the display. For more information, see DrvSetPointerShape.
  • DrvMovePointer
    Pointer to a function that moves the pointer with a guarantee that the GDI will not interfere with the operation. For more information, see DrvMovePointer.
  • DrvGetModes
    Pointer to a function that lists the display modes that are supported by the display device. For more information, see DrvGetModes.
  • DrvRealizeColor
    Pointer to a function that maps an RGB color onto the closest available color that is supported by the device. For more information, see DrvRealizeColor.
  • DrvGetMasks
    Pointer to a function that gets the color masks for the display device's current mode. For more information, see DrvGetMasks.
  • DrvUnrealizeColor
    Pointer to a function that maps a color in the display device's format onto an RGB value. For more information, see DrvUnrealizeColor.
  • DrvContrastControl
    Pointer to a function that enables software adjustment of the display hardware's contrast.
  • DrvPowerHandler
    Pointer to a function that handles POWER_UP and POWER_DOWN notifications. For more information, see DrvPowerHandler.
  • DrvEndDoc
    Pointer to a function that sends any control information that is needed to finish printing a document. For more information, see DrvEndDoc.
  • DrvStartDoc
    Pointer to a function that sends any control information that is needed to start printing a document. For more information, see DrvStartDoc.
  • DrvStartPage
    Pointer to a function that sends any control information that is needed to start printing a new page. For more information, see DrvStartPage.
  • DrvEscape
    Pointer to a function that retrieves information from a device that is not available in a device-independent DDI. This function is the same as Windows-based desktop platforms, except that Windows Embedded Compact does not support the DrvDrawEscape function. For more information, see DrvEscape.
  • DrvGradientFill
    Pointer to a function that fills a rectangular region with a background color that is interpolated from color values specified at the vertices. For more information, see DrvGradientFill.

Requirements

Header

winddi.h

See Also

Reference

Display Driver Structures
DrvEnableDriver
GPEEnableDriver