Changeset 70337 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Dec 24, 2017 2:38:58 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Mouse/NT4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Mouse/NT4/Makefile.kmk
r69111 r70337 30 30 VBoxPS2NT.rc 31 31 VBoxMouseNT_LIBS = \ 32 $(VBOX_LIB_IPRT_GUEST_R0_NT4) \ 33 $(VBOX_LIB_VBGL_R0) \ 34 $(if-expr defined(VBOX_WITH_NT3_ADDITIONS),$(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/int64.lib,) \ 32 35 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/exsup.lib \ 33 36 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/ntoskrnl.lib \ 34 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/hal.lib \ 35 $(VBOX_LIB_VBGL_R0) \ 36 $(VBOX_LIB_IPRT_GUEST_R0_NT4) 37 $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/hal.lib 37 38 VBoxMouseNT_CLEAN = \ 38 39 $(VBoxMouseNT_0_OUTDIR)/VBoxMouseNT.pdb 40 VBoxMouseNT_USES.win += vboximportchecker 41 ifndef VBOX_WITH_NT3_ADDITIONS 42 VBoxMouseNT_VBOX_IMPORT_CHECKER.win.x86 = nt4/r0 43 else 44 VBoxMouseNT_DEFS += RT_WITHOUT_NOCRT_WRAPPERS TARGET_NT3 45 VBoxMouseNT_SOURCES += \ 46 ../../../../Runtime/r0drv/nt/nt3fakes-r0drv-nt.cpp \ 47 ../../../../Runtime/r0drv/nt/nt3fakesA-r0drv-nt.asm \ 48 ../../../../Runtime/common/string/strcmp.asm \ 49 ../../../../Runtime/common/string/strchr.asm 50 VBoxMouseNT_VBOX_IMPORT_CHECKER.win.x86 = nt31/r0 #nt350/r0 51 VBoxMouseNT_LDFLAGS += 52 endif 53 39 54 40 55 include $(FILE_KBUILD_SUB_FOOTER) -
trunk/src/VBox/Additions/WINNT/Mouse/NT4/VBoxPS2NT.cpp
r69500 r70337 37 37 #undef ExFreePool 38 38 #undef ExAllocatePool 39 40 /* KeQueryTickCount is a macro accessing KeTickCount data export from NT 3.50+. */ 41 #if 0 //def TARGET_NT3 42 # undef KeQueryTickCount 43 extern "C" NTKERNELAPI VOID NTAPI KeQueryTickCount(PLARGE_INTEGER); 44 #endif 39 45 40 46 /* i8042 mouse status bits */ … … 1969 1975 if (pDevExt->HardwarePresent & KEYBOARD_HARDWARE_PRESENT) 1970 1976 { 1971 pDevExt->KbdExt.InputData = (PKEYBOARD_INPUT_DATA) 1972 ExAllocatePool(NonPagedPool, pDevExt->Cfg.KbdAttr.InputDataQueueLength); 1973 1977 pDevExt->KbdExt.InputData = (PKEYBOARD_INPUT_DATA)ExAllocatePool(NonPagedPool, pDevExt->Cfg.KbdAttr.InputDataQueueLength); 1974 1978 if (!pDevExt->KbdExt.InputData) 1975 1979 { … … 1990 1994 MouNameFull.MaximumLength = sizeof(L"\\Device\\") + MouNameBase.Length + DevNameSuff.MaximumLength; 1991 1995 MouNameFull.Buffer = (PWSTR)ExAllocatePool(PagedPool, MouNameFull.MaximumLength); 1992 1993 1996 if (!MouNameFull.Buffer) 1994 1997 { … … 2022 2025 goto fail; 2023 2026 2024 pDevExt->MouExt.InputData = 2025 (PMOUSE_INPUT_DATA)ExAllocatePool(NonPagedPool, pDevExt->Cfg.MouAttr.InputDataQueueLength); 2027 pDevExt->MouExt.InputData = (PMOUSE_INPUT_DATA)ExAllocatePool(NonPagedPool, pDevExt->Cfg.MouAttr.InputDataQueueLength); 2026 2028 if (!pDevExt->MouExt.InputData) 2027 2029 { … … 2706 2708 if (NT_SUCCESS(status)) 2707 2709 { 2708 aQuery = (PRTL_QUERY_REGISTRY_TABLE) 2709 ExAllocatePool(PagedPool, sizeof(RTL_QUERY_REGISTRY_TABLE) * (queries + 1)); 2710 aQuery = (PRTL_QUERY_REGISTRY_TABLE)ExAllocatePool(PagedPool, sizeof(RTL_QUERY_REGISTRY_TABLE) * (queries + 1)); 2710 2711 if (!aQuery) 2711 2712 status = STATUS_UNSUCCESSFUL;
Note:
See TracChangeset
for help on using the changeset viewer.