mirror of
https://github.com/reactos/reactos.git
synced 2024-07-29 23:58:44 +00:00
- Added VideoPortQueryPerformanceCounter and VideoPortQueryServices to the import library definition file.
- Fixed minor memory overrun in VideoPortInitialize for older video drivers (< Win NT 5.1). svn path=/trunk/; revision=9893
This commit is contained in:
parent
c12eca029d
commit
20ac14caf5
|
@ -18,7 +18,7 @@
|
|||
* If not, write to the Free Software Foundation,
|
||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* $Id: videoprt.c,v 1.24 2004/03/19 20:58:32 navaraf Exp $
|
||||
* $Id: videoprt.c,v 1.25 2004/06/26 22:30:34 navaraf Exp $
|
||||
*/
|
||||
|
||||
#include "videoprt.h"
|
||||
|
@ -534,7 +534,8 @@ VideoPortInitialize(
|
|||
RtlCopyMemory(
|
||||
&DriverExtension->InitializationData,
|
||||
HwInitializationData,
|
||||
sizeof(VIDEO_HW_INITIALIZATION_DATA));
|
||||
min(sizeof(VIDEO_HW_INITIALIZATION_DATA),
|
||||
HwInitializationData->HwInitDataSize));
|
||||
DriverExtension->HwContext = HwContext;
|
||||
|
||||
RtlCopyMemory(&DriverExtension->RegistryPath, RegistryPath, sizeof(UNICODE_STRING));
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: videoprt.def,v 1.7 2004/03/08 20:27:33 dwelch Exp $
|
||||
; $Id: videoprt.def,v 1.8 2004/06/26 22:30:34 navaraf Exp $
|
||||
;
|
||||
; vidport.def - export definition file for ReactOS
|
||||
;
|
||||
|
@ -39,6 +39,8 @@ VideoPortMapMemory@24
|
|||
VideoPortMoveMemory@12
|
||||
VideoPortPutDmaAdapter@8
|
||||
VideoPortQueueDpc@12
|
||||
VideoPortQueryPerformanceCounter@8
|
||||
VideoPortQueryServices@12
|
||||
VideoPortReadPortUchar@4
|
||||
VideoPortReadPortUshort@4
|
||||
VideoPortReadPortUlong@4
|
||||
|
|
Loading…
Reference in a new issue