DDHAL_DDMISCELLANEOUS2CALLBACKS (Windows CE 5.0)

Send Feedback

To support alpha blitting, the DDHAL_DDMISCELLANEOUS2CALLBACKS structure must be filled out in response to a GUID_Miscellaneous2Callbacks request to the GetDriverInfo function of the driver.

typedef struct _DDHAL_DDMISCELLANEOUS2CALLBACKS {DWORDdwSize;DWORDdwFlags;LPDDHAL_ALPHABLTAlphaBlt;LPDDHAL_SETSPRITEDISPLAYLISTSetSpriteDisplayList;LPDDHAL_RESIZEResize;} DDHAL_DDMISCELLANEOUS2CALLBACKS, *LPDDHAL_DDMISCELLANEOUS2CALLBACKS;

Members

  • dwSize
    Size of the structure. This parameter must be initialized before the structure is used.

  • dwFlags
    Indicates whether the AlphaBlt callback function is implemented.

    The following table shows the possible flags.

    Flag Description
    DDHAL_MISC2CB32_ALPHABLT Indicates whether the AlphaBlt callback function is implemented.
    DDHAL_MISC2CB32_SETSPRITEDISPLAYLIST Indicates whether the SetSpriteDisplayList callback function is implemented.
    DDHAL_MISC2CB32_RESIZE Indicates whether the Resize callback function is implemented.
  • AlphaBlt
    Pointer to the driver's implementation of the AlphaBlt callback function.

  • SetSpriteDisplayList
    Pointer to the driver's implementation of the SetSpriteDisplayList callback function.

  • Resize
    Pointer to the driver's implementation of the Resize callback function.

Return Values

If AlphaBlt is not supported, DDERR_CURRENTLYNOTAVAIL might be returned in the IpInput->ddRVal for GetDriverInfo, or, it might return the structure with the size set, but all other members set to zero.

The following list shows the DDCAPS members related to support for alpha blitting support. Set the appropriate capability bits in these members to describe the capabilities of your driver.

  • dwAlphaBltConstBitDepths
  • dwAlphaBltPixelBitDepths
  • dwAlphaBltSurfaceBitDepths
  • dwAlphaCaps
  • dwSSBAlphaCaps
  • dwSVBAlphaCaps
  • dwVSBAlphaCaps

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddrawi.h.

See Also

DDHAL Callback Structures | DDCAPS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.