INFO: Querying Device Support for MaskBlt (108929)



The information in this article applies to:

  • Microsoft Win32 Application Programming Interface (API), when used with:
    • Microsoft Windows NT Server 3.1
    • Microsoft Windows NT Server 3.5
    • Microsoft Windows NT Server 3.51
    • Microsoft Windows NT Workstation 3.1
    • Microsoft Windows NT Workstation 3.5
    • Microsoft Windows NT Workstation 3.51

This article was previously published under Q108929
3.10 3.50 3.51 WINDOWS NT kbgraphic

SUMMARY

The Win32 documentation for MaskBlt() states:
   Not all devices support the MaskBlt function. An application should call
   the GetDeviceCaps function to determine whether a device supports this
   function.
				
To query support for MaskBlt(), an application should query the device for BitBlt support by passing RC_BITBLT constant to GetDeviceCaps().

MaskBlt() implements transparent blts in Windows NT.

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

89375 Transparent Blts in Windows NT

GDI implements this application programming interface (API) by calling BitBlt(). Because BitBlt() is implemented at the driver level, applications that calls MaskBlt() should check for BitBlt() support on the device.

Modification Type:MinorLast Reviewed:3/7/2005
Keywords:kbinfo KB108929