Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

29 lines
1.1 KiB

/******************************Module*Header*******************************\
* Module Name: sync.c *
* *
* This module contains the DrvSynchronize routine. *
* *
* Copyright (c) 1991-1992 Microsoft Corporation *
\**************************************************************************/
#include "driver.h"
#include "hw.h"
/******************************Public*Routine******************************\
* DrvSynchronize
*
* This routine gets called when GDI needs to synchronize with the
* driver. That's when GDI wants to read or write into the framebuffer.
* This routine waits for the accelerator to be idle before returning.
*
\**************************************************************************/
VOID DrvSynchronize (
DHPDEV dhpdev,
RECTL *prcl )
{
WAIT_BLT_COMPLETE(); // wait for BITBLT completion
}