DirectDraw HAL

The DirectDraw hardware-abstraction layer (HAL) is hardware-dependent and contains only hardware-specific code. The HAL can be implemented in 16 bits, 32 bits, or, on Windows 95, a combination of the two. The HAL is always implemented in 32 bits on Windows NT. The HAL can be an integral part of the display driver or a separate DLL that communicates with the display driver through a private interface defined by the driver's creator.

The DirectDraw HAL is implemented by the chip manufacturer, board producer, or original equipment manufacturer (OEM). The HAL implements only the device-dependent code and performs no emulation. If a function is not performed by the hardware, the HAL does not report it as a hardware capability. The HAL also does no parameter validation; parameters are validated by DirectDraw before the HAL is invoked.