Changeset 63065 in vbox
- Timestamp:
- Aug 5, 2016 9:38:38 PM (8 years ago)
- Location:
- trunk/src/VBox/Additions/common
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win-legacy.cpp
r62521 r63065 56 56 * 57 57 * @param pDrvObj The driver object. 58 * @param pDevObj Unused. NULL. Dunno why it's here, makes no sense.59 58 * @param pRegPath The driver registry path. 60 59 */ 61 NTSTATUS vgdrvNt4CreateDevice(PDRIVER_OBJECT pDrvObj, P DEVICE_OBJECT pDevObj, PUNICODE_STRING pRegPath)60 NTSTATUS vgdrvNt4CreateDevice(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath) 62 61 { 63 62 Log(("vgdrvNt4CreateDevice: pDrvObj=%p, pDevObj=%p, pRegPath=%p\n", pDrvObj, pDevObj, pRegPath)); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r62853 r63065 209 209 pDrvObj->MajorFunction[IRP_MJ_WRITE] = vgdrvNtNotSupportedStub; 210 210 #ifdef TARGET_NT4 211 rc = vgdrvNt4CreateDevice(pDrvObj, NULL /* pDevObj */,pRegPath);211 rc = vgdrvNt4CreateDevice(pDrvObj, pRegPath); 212 212 #else 213 213 pDrvObj->MajorFunction[IRP_MJ_PNP] = vgdrvNtPnP; … … 468 468 IoInitializeDpcRequest(pDevExt->pDeviceObject, vgdrvNtDpcHandler); 469 469 #ifdef TARGET_NT4 470 ULONG uInterruptVector ;471 KIRQL irqLevel ;470 ULONG uInterruptVector = UINT32_MAX; 471 KIRQL irqLevel = UINT8_MAX; 472 472 /* Get an interrupt vector. */ 473 473 /* Only proceed if the device provides an interrupt. */ … … 622 622 UNICODE_STRING DosName; 623 623 RtlInitUnicodeString(&DosName, VBOXGUEST_DEVICE_NAME_DOS); 624 NTSTATUS rc =IoDeleteSymbolicLink(&DosName);624 IoDeleteSymbolicLink(&DosName); 625 625 626 626 IoDeleteDevice(pDrvObj->DeviceObject); -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.h
r62683 r63065 148 148 149 149 #ifdef TARGET_NT4 150 NTSTATUS vgdrvNt4CreateDevice(PDRIVER_OBJECT pDrvObj, P DEVICE_OBJECT pDevObj, PUNICODE_STRING pRegPath);150 NTSTATUS vgdrvNt4CreateDevice(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath); 151 151 #else 152 152 NTSTATUS vgdrvNtPnP(PDEVICE_OBJECT pDevObj, PIRP pIrp); -
trunk/src/VBox/Additions/common/VBoxService/VBoxService-win.cpp
r62851 r63065 197 197 return RTEXITCODE_FAILURE; 198 198 } 199 #else 200 RT_NOREF(hService); 199 201 #endif 200 202 return RTEXITCODE_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.