- Timestamp:
- Oct 12, 2015 1:48:53 PM (9 years ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/VBoxMPCr.h
r58181 r58184 24 24 typedef struct VBOXMP_CRCTLCON 25 25 { 26 HVBOXCRCTLhCrCtl;26 VBGLCRCTLHANDLE hCrCtl; 27 27 uint32_t cCrCtlRefs; 28 28 } VBOXMP_CRCTLCON, *PVBOXMP_CRCTLCON; -
trunk/src/VBox/Additions/common/VBoxControl/testcase/tstVBoxControl.cpp
r57358 r58184 40 40 } 41 41 42 VBGLR3DECL(int) VbglR3GuestPropConnect( uint32_t *pu32ClientId)43 { 44 AssertPtrReturn(p u32ClientId, VERR_INVALID_POINTER);42 VBGLR3DECL(int) VbglR3GuestPropConnect(HGCMCLIENTID *pidClient) 43 { 44 AssertPtrReturn(pidClient, VERR_INVALID_POINTER); 45 45 RTPrintf("Connect to guest property service...\n"); 46 *p u32ClientId= 1;47 return VINF_SUCCESS; 48 } 49 50 VBGLR3DECL(int) VbglR3GuestPropDisconnect( uint32_t u32ClientId)51 { 52 RTPrintf("Disconnect client %d from guest property service...\n", u32ClientId);53 return VINF_SUCCESS; 54 } 55 56 VBGLR3DECL(int) VbglR3GuestPropWrite( uint32_t u32ClientId,46 *pidClient = 1; 47 return VINF_SUCCESS; 48 } 49 50 VBGLR3DECL(int) VbglR3GuestPropDisconnect(HGCMCLIENTID idClient) 51 { 52 RTPrintf("Disconnect client %d from guest property service...\n", idClient); 53 return VINF_SUCCESS; 54 } 55 56 VBGLR3DECL(int) VbglR3GuestPropWrite(HGCMCLIENTID idClient, 57 57 const char *pszName, 58 58 const char *pszValue, … … 60 60 { 61 61 RTPrintf("Called SET_PROP, client %d, name %s, value %s, flags %s...\n", 62 u32ClientId, pszName, pszValue, pszFlags);63 return VINF_SUCCESS; 64 } 65 66 VBGLR3DECL(int) VbglR3GuestPropWriteValue( uint32_t u32ClientId,62 idClient, pszName, pszValue, pszFlags); 63 return VINF_SUCCESS; 64 } 65 66 VBGLR3DECL(int) VbglR3GuestPropWriteValue(HGCMCLIENTID idClient, 67 67 const char *pszName, 68 68 const char *pszValue) 69 69 { 70 70 RTPrintf("Called SET_PROP_VALUE, client %d, name %s, value %s...\n", 71 u32ClientId, pszName, pszValue);71 idClient, pszName, pszValue); 72 72 return VINF_SUCCESS; 73 73 } 74 74 75 75 #ifdef VBOX_WITH_GUEST_PROPS 76 VBGLR3DECL(int) VbglR3GuestPropRead( uint32_t u32ClientId,76 VBGLR3DECL(int) VbglR3GuestPropRead(HGCMCLIENTID idClient, 77 77 const char *pszName, 78 78 void *pvBuf, … … 84 84 { 85 85 RTPrintf("Called GET_PROP, client %d, name %s...\n", 86 u32ClientId, pszName);86 idClient, pszName); 87 87 static char szValue[] = "Value"; 88 88 static char szFlags[] = "TRANSIENT"; … … 98 98 } 99 99 100 VBGLR3DECL(int) VbglR3GuestPropDelete( uint32_t u32ClientId,100 VBGLR3DECL(int) VbglR3GuestPropDelete(HGCMCLIENTID idClient, 101 101 const char *pszName) 102 102 { 103 103 RTPrintf("Called DEL_PROP, client %d, name %s...\n", 104 u32ClientId, pszName);104 idClient, pszName); 105 105 return VINF_SUCCESS; 106 106 } … … 111 111 }; 112 112 113 VBGLR3DECL(int) VbglR3GuestPropEnum( uint32_t u32ClientId,113 VBGLR3DECL(int) VbglR3GuestPropEnum(HGCMCLIENTID idClient, 114 114 char const * const *ppaszPatterns, 115 115 uint32_t cPatterns, … … 120 120 char const **ppszFlags) 121 121 { 122 RTPrintf("Called ENUM_PROPS, client %d...\n", u32ClientId);122 RTPrintf("Called ENUM_PROPS, client %d...\n", idClient); 123 123 AssertPtrReturn(ppHandle, VERR_INVALID_POINTER); 124 124 static VBGLR3GUESTPROPENUM Handle = { 0 }; … … 163 163 } 164 164 165 VBGLR3DECL(int) VbglR3GuestPropWait( uint32_t u32ClientId,165 VBGLR3DECL(int) VbglR3GuestPropWait(HGCMCLIENTID idClient, 166 166 const char *pszPatterns, 167 167 void *pvBuf, … … 178 178 RTPrintf("Called GET_NOTIFICATION, client %d, patterns %s, timestamp %llu,\n" 179 179 " timeout RT_INDEFINITE_WAIT...\n", 180 u32ClientId, pszPatterns, u64Timestamp);180 idClient, pszPatterns, u64Timestamp); 181 181 else 182 182 RTPrintf("Called GET_NOTIFICATION, client %d, patterns %s, timestamp %llu,\n" 183 183 " timeout %u...\n", 184 u32ClientId, pszPatterns, u64Timestamp, u32Timeout);184 idClient, pszPatterns, u64Timestamp, u32Timeout); 185 185 static char szName[] = "Name"; 186 186 static char szValue[] = "Value"; -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR0LibCrOgl.cpp
r58183 r58184 35 35 36 36 37 DECLVBGL(int) VbglR0CrCtlCreate( HVBOXCRCTL*phCtl)37 DECLVBGL(int) VbglR0CrCtlCreate(VBGLCRCTLHANDLE *phCtl) 38 38 { 39 39 int rc; … … 66 66 } 67 67 68 DECLVBGL(int) VbglR0CrCtlDestroy( HVBOXCRCTLhCtl)68 DECLVBGL(int) VbglR0CrCtlDestroy(VBGLCRCTLHANDLE hCtl) 69 69 { 70 70 vbglDriverClose(&hCtl->driver); … … 75 75 } 76 76 77 DECLVBGL(int) VbglR0CrCtlConConnect( HVBOXCRCTLhCtl, HGCMCLIENTID *pidClient)77 DECLVBGL(int) VbglR0CrCtlConConnect(VBGLCRCTLHANDLE hCtl, HGCMCLIENTID *pidClient) 78 78 { 79 79 VBoxGuestHGCMConnectInfo info; … … 103 103 } 104 104 105 DECLVBGL(int) VbglR0CrCtlConDisconnect( HVBOXCRCTLhCtl, HGCMCLIENTID idClient)105 DECLVBGL(int) VbglR0CrCtlConDisconnect(VBGLCRCTLHANDLE hCtl, HGCMCLIENTID idClient) 106 106 { 107 107 VBoxGuestHGCMDisconnectInfo info; … … 111 111 } 112 112 113 DECLVBGL(int) VbglR0CrCtlConCall( HVBOXCRCTLhCtl, struct VBoxGuestHGCMCallInfo *pCallInfo, int cbCallInfo)113 DECLVBGL(int) VbglR0CrCtlConCall(VBGLCRCTLHANDLE hCtl, struct VBoxGuestHGCMCallInfo *pCallInfo, int cbCallInfo) 114 114 { 115 115 return vbglDriverIOCtl(&hCtl->driver, VBOXGUEST_IOCTL_HGCM_CALL(cbCallInfo), pCallInfo, cbCallInfo); 116 116 } 117 117 118 DECLVBGL(int) VbglR0CrCtlConCallUserData( HVBOXCRCTLhCtl, struct VBoxGuestHGCMCallInfo *pCallInfo, int cbCallInfo)118 DECLVBGL(int) VbglR0CrCtlConCallUserData(VBGLCRCTLHANDLE hCtl, struct VBoxGuestHGCMCallInfo *pCallInfo, int cbCallInfo) 119 119 { 120 120 return vbglDriverIOCtl(&hCtl->driver, VBOXGUEST_IOCTL_HGCM_CALL_USERDATA(cbCallInfo), pCallInfo, cbCallInfo);
Note:
See TracChangeset
for help on using the changeset viewer.