Changeset 42124 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp
- Timestamp:
- Jul 12, 2012 10:19:00 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPMisc.cpp
r42081 r42124 680 680 { 681 681 KEY_VALUE_PARTIAL_INFORMATION Info; 682 UCHAR Buf[sizeof ( L"VBoxVideoWddm")]; /* should be enough */682 UCHAR Buf[sizeof (VBOX_WDDM_DRIVERNAME)]; /* should be enough */ 683 683 } KeyData; 684 684 ULONG cbResult; … … 696 696 if (KeyData.Info.Type == REG_SZ) 697 697 { 698 if (KeyData.Info.DataLength == sizeof ( L"VBoxVideoWddm"))698 if (KeyData.Info.DataLength == sizeof (VBOX_WDDM_DRIVERNAME)) 699 699 { 700 if (!wcscmp( L"VBoxVideoWddm", (PWCHAR)KeyData.Info.Data))700 if (!wcscmp(VBOX_WDDM_DRIVERNAME, (PWCHAR)KeyData.Info.Data)) 701 701 { 702 702 bFound = TRUE; … … 810 810 Assert(tmpStatus == STATUS_SUCCESS); 811 811 } 812 812 813 return Status; 813 814 }
Note:
See TracChangeset
for help on using the changeset viewer.