Changeset 49010 in vbox
- Timestamp:
- Oct 9, 2013 3:23:27 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp
r48979 r49010 37 37 PCVBOXDISPIF pIf; 38 38 VBOXDISPKMT_ADAPTER Adapter; 39 #ifdef VBOX_DISPIF_WITH_OPCONTEXT40 39 VBOXDISPKMT_DEVICE Device; 41 40 VBOXDISPKMT_CONTEXT Context; 42 #endif43 41 } VBOXDISPIF_OP; 44 42 … … 512 510 if (SUCCEEDED(hr)) 513 511 { 514 #ifdef VBOX_DISPIF_WITH_OPCONTEXT515 512 hr = vboxDispKmtCreateDevice(&pOp->Adapter, &pOp->Device); 516 513 if (SUCCEEDED(hr)) … … 519 516 0, 0, NULL, 0ULL); 520 517 if (SUCCEEDED(hr)) 521 #endif522 518 return ERROR_SUCCESS; 523 #ifdef VBOX_DISPIF_WITH_OPCONTEXT524 519 else 525 520 WARN(("VBoxTray: vboxDispKmtCreateContext failed hr 0x%x", hr)); … … 531 526 532 527 vboxDispKmtCloseAdapter(&pOp->Adapter); 533 #endif534 528 } 535 529 … … 539 533 static VOID vboxDispIfOpEnd(VBOXDISPIF_OP *pOp) 540 534 { 541 #ifdef VBOX_DISPIF_WITH_OPCONTEXT542 535 vboxDispKmtDestroyContext(&pOp->Context); 543 536 vboxDispKmtDestroyDevice(&pOp->Device); 544 #endif545 537 vboxDispKmtCloseAdapter(&pOp->Adapter); 546 538 }
Note:
See TracChangeset
for help on using the changeset viewer.