Changeset 68550 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
- Timestamp:
- Aug 31, 2017 12:09:41 PM (7 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Video/mp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPCr.cpp
r68458 r68550 849 849 rc = VbglR0CrCtlConCall(pCrCtlCon->hCrCtl, &parms.hdr, sizeof (parms)); 850 850 if (RT_FAILURE(rc)) 851 { 852 WARN(("vboxCrCtlConCall failed, rc (%d)", rc)); 853 return rc; 854 } 855 856 if (RT_FAILURE(parms.hdr.result)) 857 { 858 WARN(("version validation failed, rc (%d)", parms.hdr.result)); 859 return parms.hdr.result; 860 } 861 return VINF_SUCCESS; 851 WARN(("vboxCrCtlConCall/SET_VERSION failed, rc = %Rrc", rc)); 852 return rc; 862 853 } 863 854 … … 877 868 if (RT_FAILURE(rc)) 878 869 { 879 WARN(("vboxCrCtlConCall failed, rc (%d)", rc));870 WARN(("vboxCrCtlConCall/GET_CAPS_LEAGCY failed, rc=%Rrc", rc)); 880 871 return rc; 881 }882 883 if (RT_FAILURE(parms.hdr.result))884 {885 WARN(("SHCRGL_GUEST_FN_GET_CAPS_LEGACY failed, rc (%d)", parms.hdr.result));886 return parms.hdr.result;887 872 } 888 873 … … 913 898 if (RT_FAILURE(rc)) 914 899 { 915 WARN(("vboxCrCtlConCall failed, rc (%d)", rc));900 WARN(("vboxCrCtlConCall/GET_CAPS_NEW failed, rc=%Rrc", rc)); 916 901 return rc; 917 }918 919 if (RT_FAILURE(parms.hdr.result))920 {921 WARN(("SHCRGL_GUEST_FN_GET_CAPS_NEW failed, rc (%d)", parms.hdr.result));922 return parms.hdr.result;923 902 } 924 903 … … 948 927 rc = VbglR0CrCtlConCall(pCrCtlCon->hCrCtl, &parms.hdr, sizeof (parms)); 949 928 if (RT_FAILURE(rc)) 950 { 951 WARN(("vboxCrCtlConCall failed, rc (%d)", rc)); 952 return rc; 953 } 954 955 if (RT_FAILURE(parms.hdr.result)) 956 { 957 WARN(("set PID failed, rc (%d)", parms.hdr.result)); 958 return parms.hdr.result; 959 } 960 return VINF_SUCCESS; 929 WARN(("vboxCrCtlConCall/SET_PIDfailed, rc=%Rrc", rc)); 930 return rc; 961 931 } 962 932 … … 1066 1036 } 1067 1037 1068 int VBoxMpCrCtlConCall(PVBOXMP_CRCTLCON pCrCtlCon, VBoxGuestHGCMCallInfo *pData, uint32_t cbData)1069 { 1070 int rc = VbglR0CrCtlConCall (pCrCtlCon->hCrCtl, pData, cbData);1038 int VBoxMpCrCtlConCall(PVBOXMP_CRCTLCON pCrCtlCon, PVBGLIOCHGCMCALL pData, uint32_t cbData) 1039 { 1040 int rc = VbglR0CrCtlConCallRaw(pCrCtlCon->hCrCtl, pData, cbData); 1071 1041 if (RT_SUCCESS(rc)) 1072 1042 return VINF_SUCCESS; … … 1076 1046 } 1077 1047 1078 int VBoxMpCrCtlConCallUserData(PVBOXMP_CRCTLCON pCrCtlCon, VBoxGuestHGCMCallInfo *pData, uint32_t cbData)1079 { 1080 int rc = VbglR0CrCtlConCallUserData (pCrCtlCon->hCrCtl, pData, cbData);1048 int VBoxMpCrCtlConCallUserData(PVBOXMP_CRCTLCON pCrCtlCon, PVBGLIOCHGCMCALL pData, uint32_t cbData) 1049 { 1050 int rc = VbglR0CrCtlConCallUserDataRaw(pCrCtlCon->hCrCtl, pData, cbData); 1081 1051 if (RT_SUCCESS(rc)) 1082 1052 return VINF_SUCCESS; -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPCr.h
r63039 r68550 37 37 uint32_t *pu32ClientID); 38 38 int VBoxMpCrCtlConDisconnect(PVBOXMP_DEVEXT pDevExt, PVBOXMP_CRCTLCON pCrCtlCon, uint32_t u32ClientID); 39 int VBoxMpCrCtlConCall(PVBOXMP_CRCTLCON pCrCtlCon, struct VB oxGuestHGCMCallInfo*pData, uint32_t cbData);40 int VBoxMpCrCtlConCallUserData(PVBOXMP_CRCTLCON pCrCtlCon, struct VB oxGuestHGCMCallInfo*pData, uint32_t cbData);39 int VBoxMpCrCtlConCall(PVBOXMP_CRCTLCON pCrCtlCon, struct VBGLIOCHGCMCALL *pData, uint32_t cbData); 40 int VBoxMpCrCtlConCallUserData(PVBOXMP_CRCTLCON pCrCtlCon, struct VBGLIOCHGCMCALL *pData, uint32_t cbData); 41 41 42 42 # include <cr_pack.h> -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPWddm.cpp
r67128 r68550 2132 2132 vboxVDbgBreakFv(); 2133 2133 2134 Vbgl Terminate();2134 VbglR0TerminateClient(); 2135 2135 2136 2136 #ifdef VBOX_WITH_CROGL … … 7608 7608 NTSTATUS Status = STATUS_SUCCESS; 7609 7609 /* Initialize VBoxGuest library, which is used for requests which go through VMMDev. */ 7610 int rc = Vbgl InitClient();7610 int rc = VbglR0InitClient(); 7611 7611 if (RT_SUCCESS(rc)) 7612 7612 { … … 7718 7718 LOGREL(("Aborting the video driver load due to 3D support missing")); 7719 7719 7720 Vbgl Terminate();7720 VbglR0TerminateClient(); 7721 7721 } 7722 7722 else 7723 7723 { 7724 WARN(("Vbgl InitClient failed, rc(%d)", rc));7724 WARN(("VbglR0InitClient failed, rc(%d)", rc)); 7725 7725 Status = STATUS_UNSUCCESSFUL; 7726 7726 } -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/xpdm/VBoxMPDriver.cpp
r66826 r68550 139 139 140 140 /* Initialize VBoxGuest library, which is used for requests which go through VMMDev. */ 141 rc = Vbgl InitClient();141 rc = VbglR0InitClient(); 142 142 VBOXMP_WARN_VPS(rc); 143 143 … … 669 669 } 670 670 671 Vbgl Terminate();671 VbglR0TerminateClient(); 672 672 673 673 VBoxFreeDisplaysHGSMI(VBoxCommonFromDeviceExt(pExt));
Note:
See TracChangeset
for help on using the changeset viewer.