Surface Allocation

Display drivers allocate surfaces at initialization time for the video frame buffer, and possibly the cursor, when the GDI calls the DrvCreateDeviceBitmap function. GPE::AllocSurface, a required method, implements surface allocation within the driver.