Changeset 71593 in vbox
- Timestamp:
- Mar 31, 2018 7:52:28 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPIOCTL.cpp
r69500 r71593 306 306 BOOLEAN VBoxMPSetPointerAttr(PVBOXMP_DEVEXT pExt, PVIDEO_POINTER_ATTRIBUTES pPointerAttrs, uint32_t cbLen, PSTATUS_BLOCK pStatus) 307 307 { 308 BOOLEAN bRC;308 BOOLEAN fRc; 309 309 310 310 LOGF_ENTER(); … … 312 312 if (VBoxQueryHostWantsAbsolute()) 313 313 { 314 bRC= VBoxMPCmnUpdatePointerShape(VBoxCommonFromDeviceExt(pExt), pPointerAttrs, cbLen);314 fRc = VBoxMPCmnUpdatePointerShape(VBoxCommonFromDeviceExt(pExt), pPointerAttrs, cbLen); 315 315 } 316 316 else 317 317 { 318 318 LOG(("Fallback to sw pointer.")); 319 bRC= FALSE;320 } 321 322 if (! bRC)323 { 324 pStatus->Status = ERROR_INVALID_FUNCTION; 325 } 326 327 LOGF_LEAVE(); 328 return bRC;319 fRc = FALSE; 320 } 321 322 if (!fRc) 323 { 324 pStatus->Status = ERROR_INVALID_FUNCTION; 325 } 326 327 LOGF_LEAVE(); 328 return fRc; 329 329 } 330 330 … … 336 336 BOOLEAN VBoxMPEnablePointer(PVBOXMP_DEVEXT pExt, BOOLEAN bEnable, PSTATUS_BLOCK pStatus) 337 337 { 338 BOOLEAN bRC= TRUE;338 BOOLEAN fRc = TRUE; 339 339 LOGF_ENTER(); 340 340 … … 353 353 354 354 /* Pass info to the host. */ 355 bRC= VBoxMPCmnUpdatePointerShape(VBoxCommonFromDeviceExt(pExt), &attrs, sizeof(attrs));356 357 if ( bRC)355 fRc = VBoxMPCmnUpdatePointerShape(VBoxCommonFromDeviceExt(pExt), &attrs, sizeof(attrs)); 356 357 if (fRc) 358 358 { 359 359 /* Update device state. */ … … 364 364 else 365 365 { 366 bRC= FALSE;367 } 368 369 if (! bRC)370 { 371 pStatus->Status = ERROR_INVALID_FUNCTION; 372 } 373 374 LOGF_LEAVE(); 375 return bRC;366 fRc = FALSE; 367 } 368 369 if (!fRc) 370 { 371 pStatus->Status = ERROR_INVALID_FUNCTION; 372 } 373 374 LOGF_LEAVE(); 375 return fRc; 376 376 } 377 377 … … 382 382 { 383 383 uint16_t PosX, PosY; 384 BOOLEAN bRC= TRUE;384 BOOLEAN fRc = TRUE; 385 385 LOGF_ENTER(); 386 386 … … 397 397 { 398 398 pStatus->Status = ERROR_INVALID_FUNCTION; 399 bRC= FALSE;400 } 401 402 LOGF_LEAVE(); 403 return bRC;399 fRc = FALSE; 400 } 401 402 LOGF_LEAVE(); 403 return fRc; 404 404 } 405 405 … … 435 435 { 436 436 int rc; 437 BOOLEAN bRC= TRUE;437 BOOLEAN fRc = TRUE; 438 438 LOGF_ENTER(); 439 439 … … 447 447 { 448 448 pStatus->Status = ERROR_INVALID_FUNCTION; 449 bRC= FALSE;450 } 451 452 LOGF_LEAVE(); 453 return bRC;449 fRc = FALSE; 450 } 451 452 LOGF_LEAVE(); 453 return fRc; 454 454 } 455 455 … … 460 460 { 461 461 int rc; 462 BOOLEAN bRC= FALSE;462 BOOLEAN fRc = FALSE; 463 463 LOGF_ENTER(); 464 464 … … 475 475 if (RT_SUCCESS(rc)) 476 476 { 477 bRC=TRUE;477 fRc=TRUE; 478 478 } 479 479 … … 485 485 } 486 486 487 if (! bRC)488 { 489 pStatus->Status = ERROR_INVALID_FUNCTION; 490 } 491 492 LOGF_LEAVE(); 493 return bRC;487 if (!fRc) 488 { 489 pStatus->Status = ERROR_INVALID_FUNCTION; 490 } 491 492 LOGF_LEAVE(); 493 return fRc; 494 494 } 495 495 … … 499 499 BOOLEAN VBoxMPHGSMIQueryPortProcs(PVBOXMP_DEVEXT pExt, HGSMIQUERYCPORTPROCS *pProcs, PSTATUS_BLOCK pStatus) 500 500 { 501 BOOLEAN bRC= TRUE;501 BOOLEAN fRc = TRUE; 502 502 LOGF_ENTER(); 503 503 … … 512 512 { 513 513 pStatus->Status = ERROR_INVALID_FUNCTION; 514 bRC=FALSE;515 } 516 517 LOGF_LEAVE(); 518 return bRC;514 fRc=FALSE; 515 } 516 517 LOGF_LEAVE(); 518 return fRc; 519 519 } 520 520 … … 524 524 BOOLEAN VBoxMPHGSMIQueryCallbacks(PVBOXMP_DEVEXT pExt, HGSMIQUERYCALLBACKS *pCallbacks, PSTATUS_BLOCK pStatus) 525 525 { 526 BOOLEAN bRC= TRUE;526 BOOLEAN fRc = TRUE; 527 527 LOGF_ENTER(); 528 528 … … 538 538 { 539 539 pStatus->Status = ERROR_INVALID_FUNCTION; 540 bRC=FALSE;541 } 542 543 544 LOGF_LEAVE(); 545 return bRC;540 fRc=FALSE; 541 } 542 543 544 LOGF_LEAVE(); 545 return fRc; 546 546 } 547 547 … … 551 551 BOOLEAN VBoxMPQueryHgsmiInfo(PVBOXMP_DEVEXT pExt, QUERYHGSMIRESULT *pResult, PSTATUS_BLOCK pStatus) 552 552 { 553 BOOLEAN bRC= TRUE;553 BOOLEAN fRc = TRUE; 554 554 LOGF_ENTER(); 555 555 … … 568 568 { 569 569 pStatus->Status = ERROR_INVALID_FUNCTION; 570 bRC=FALSE;571 } 572 573 LOGF_LEAVE(); 574 return bRC;570 fRc=FALSE; 571 } 572 573 LOGF_LEAVE(); 574 return fRc; 575 575 } 576 576 … … 580 580 BOOLEAN VBoxMPHgsmiHandlerEnable(PVBOXMP_DEVEXT pExt, HGSMIHANDLERENABLE *pChannel, PSTATUS_BLOCK pStatus) 581 581 { 582 BOOLEAN bRC= TRUE;582 BOOLEAN fRc = TRUE; 583 583 LOGF_ENTER(); 584 584 … … 589 589 { 590 590 pStatus->Status = ERROR_INVALID_NAME; 591 bRC=FALSE;591 fRc=FALSE; 592 592 } 593 593 } … … 595 595 { 596 596 pStatus->Status = ERROR_INVALID_FUNCTION; 597 bRC=FALSE;598 } 599 600 LOGF_LEAVE(); 601 return bRC;597 fRc=FALSE; 598 } 599 600 LOGF_LEAVE(); 601 return fRc; 602 602 } 603 603 … … 608 608 BOOLEAN VBoxMPVhwaQueryInfo(PVBOXMP_DEVEXT pExt, VHWAQUERYINFO *pInfo, PSTATUS_BLOCK pStatus) 609 609 { 610 BOOLEAN bRC= TRUE;610 BOOLEAN fRc = TRUE; 611 611 LOGF_ENTER(); 612 612 … … 620 620 { 621 621 pStatus->Status = ERROR_INVALID_FUNCTION; 622 bRC=FALSE;623 } 624 625 LOGF_LEAVE(); 626 return bRC;622 fRc=FALSE; 623 } 624 625 LOGF_LEAVE(); 626 return fRc; 627 627 } 628 628 #endif … … 630 630 BOOLEAN VBoxMPQueryRegistryFlags(PVBOXMP_DEVEXT pExt, ULONG *pulFlags, PSTATUS_BLOCK pStatus) 631 631 { 632 BOOLEAN bRC= TRUE;632 BOOLEAN fRc = TRUE; 633 633 LOGF_ENTER(); 634 634 … … 657 657 658 658 LOGF_LEAVE(); 659 return bRC;660 } 659 return fRc; 660 }
Note:
See TracChangeset
for help on using the changeset viewer.