vbox的更動 62853 路徑 trunk/src/VBox/Additions
- 時間撮記:
- 2016-8-1 下午10:30:03 (8 年 以前)
- 位置:
- trunk/src/VBox/Additions/common/VBoxGuest
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win-pnp.cpp
r62521 r62853 55 55 static NTSTATUS vgdrvNtPnpIrpComplete(PDEVICE_OBJECT pDevObj, PIRP pIrp, PKEVENT pEvent) 56 56 { 57 RT_NOREF2(pDevObj, pIrp); 57 58 KeSetEvent(pEvent, 0, FALSE); 58 59 return STATUS_MORE_PROCESSING_REQUIRED; … … 393 394 { 394 395 #ifdef VBOX_STRICT 396 RT_NOREF1(pDevObj); 395 397 PVBOXGUESTDEVEXTWIN pDevExt = (PVBOXGUESTDEVEXTWIN)pContext; 396 398 PIO_STACK_LOCATION pIrpSp = IoGetCurrentIrpStackLocation(pIrp); … … 413 415 case PowerDeviceD0: 414 416 break; 417 default: /* Shut up MSC */ break; 415 418 } 416 419 break; 420 default: /* Shut up MSC */ break; 417 421 } 418 422 break; … … 420 424 } 421 425 } 426 #else 427 RT_NOREF3(pDevObj, pIrp, pContext); 422 428 #endif 423 429 … … 532 538 Log(("vgdrvNtPower: Power action hibernate!\n")); 533 539 break; 540 541 case PowerActionWarmEject: 542 Log(("vgdrvNtPower: PowerActionWarmEject!\n")); 543 break; 544 545 default: 546 Log(("vgdrvNtPower: %d\n", enmPowerAction)); 547 break; 534 548 } 535 549 -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-win.cpp
r62521 r62853 102 102 ULONG DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath) 103 103 { 104 RT_NOREF1(pRegPath); 104 105 NTSTATUS rc = STATUS_SUCCESS; 105 106 … … 628 629 * IRP_MN_REMOVE_DEVICE (where we already did the cleanup), 629 630 * so don't do anything here (yet). */ 631 RT_NOREF1(pDrvObj); 630 632 #endif /* !TARGET_NT4 */ 631 633 … … 913 915 { 914 916 PVBOXGUESTDEVEXTWIN pDevExt = (PVBOXGUESTDEVEXTWIN)pDevObj->DeviceExtension; 915 916 917 LogFlowFuncEnter(); 917 918 … … 927 928 } 928 929 930 /* just in case, since we shouldn't normally get here. */ 931 pIrp->IoStatus.Information = 0; 932 pIrp->IoStatus.Status = STATUS_SUCCESS; 933 IoCompleteRequest(pIrp, IO_NO_INCREMENT); 929 934 return STATUS_SUCCESS; 930 935 } … … 940 945 static NTSTATUS vgdrvNtNotSupportedStub(PDEVICE_OBJECT pDevObj, PIRP pIrp) 941 946 { 947 RT_NOREF1(pDevObj); 942 948 LogFlowFuncEnter(); 943 949 … … 960 966 static void vgdrvNtDpcHandler(PKDPC pDPC, PDEVICE_OBJECT pDevObj, PIRP pIrp, PVOID pContext) 961 967 { 968 RT_NOREF3(pDPC, pIrp, pContext); 962 969 PVBOXGUESTDEVEXTWIN pDevExt = (PVBOXGUESTDEVEXTWIN)pDevObj->DeviceExtension; 963 970 Log3Func(("pDevExt=0x%p\n", pDevExt)); … … 992 999 static BOOLEAN vgdrvNtIsrHandler(PKINTERRUPT pInterrupt, PVOID pServiceContext) 993 1000 { 1001 RT_NOREF1(pInterrupt); 994 1002 PVBOXGUESTDEVEXTWIN pDevExt = (PVBOXGUESTDEVEXTWIN)pServiceContext; 995 1003 if (pDevExt == NULL) -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest.cpp
r62679 r62853 617 617 { 618 618 VMMDevChangeMemBalloon *pReq; 619 PRTR0MEMOBJ pMemObj = NULL; 619 620 int rc = VINF_SUCCESS; 620 621 uint32_t i; 621 PRTR0MEMOBJ pMemObj = NULL;622 RT_NOREF1(pSession); 622 623 623 624 if (fInflate) … … 919 920 Log(("VGDrvCommonReinitDevExtAfterHibernation: could not report guest information to host, rc=%Rrc\n", rc)); 920 921 LogFlow(("VGDrvCommonReinitDevExtAfterHibernation: returned with rc=%Rrc\n", rc)); 922 RT_NOREF1(pDevExt); 921 923 return rc; 922 924 } … … 1783 1785 kLevel_Invalid, kLevel_NoOne, kLevel_OnlyVBoxGuest, kLevel_OnlyKernel, kLevel_TrustedUsers, kLevel_AllUsers 1784 1786 } enmRequired; 1787 RT_NOREF1(pDevExt); 1788 1785 1789 switch (enmType) 1786 1790 { … … 2432 2436 int rc; 2433 2437 LogFlow(("VBOXGUEST_IOCTL_WRITE_CORE_DUMP\n")); 2438 RT_NOREF1(pDevExt); 2434 2439 2435 2440 rc = VbglGRAlloc((VMMDevRequestHeader **)&pReq, sizeof(*pReq), VMMDevReq_WriteCoreDump); … … 2601 2606 VbglGRFree(&pReq->header); 2602 2607 } 2608 RT_NOREF1(pDevExt); 2603 2609 return rc; 2604 2610 } … … 2750 2756 VbglGRFree(&pReq->header); 2751 2757 } 2758 RT_NOREF1(pDevExt); 2752 2759 return rc; 2753 2760 } … … 2947 2954 VbglGRFree(&pReq->header); 2948 2955 } 2956 RT_NOREF1(pDevExt); 2949 2957 return rc; 2950 2958 }
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器