Changeset 6793 in vbox for trunk/src/VBox
- Timestamp:
- Feb 4, 2008 5:37:29 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27889
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/HGCM.cpp
r6000 r6793 860 860 /* static */ int HGCMService::LoadService (const char *pszServiceLibrary, const char *pszServiceName) 861 861 { 862 LogFlowFunc((" name = %s, lib %s\n", pszServiceName, pszServiceLibrary));862 LogFlowFunc(("lib %s, name = %s\n", pszServiceLibrary, pszServiceName)); 863 863 864 864 /* Look at already loaded services to avoid double loading. */ … … 1684 1684 pMsg->pszServiceName, pMsg->pszServiceLibrary)); 1685 1685 1686 rc = HGCMService::LoadService (pMsg->pszService Name, pMsg->pszServiceLibrary);1686 rc = HGCMService::LoadService (pMsg->pszServiceLibrary, pMsg->pszServiceName); 1687 1687 } break; 1688 1688 … … 1832 1832 * Assign the specified name to the service. 1833 1833 * 1834 * @param pszServiceLibrary The library to be loaded. 1834 1835 * @param pszServiceName The name to be assigned to the service. 1835 * @param pszServiceLibrary The library to be loaded.1836 1836 * @return VBox rc. 1837 1837 */ 1838 int HGCMHostLoad (const char *pszService Name,1839 const char *pszService Library)1840 { 1841 LogFlowFunc((" name = %s, lib = %s\n", pszServiceName, pszServiceLibrary));1842 1843 if (!pszService Name || !pszServiceLibrary)1838 int HGCMHostLoad (const char *pszServiceLibrary, 1839 const char *pszServiceName) 1840 { 1841 LogFlowFunc(("lib = %s, name = %s\n", pszServiceLibrary, pszServiceName)); 1842 1843 if (!pszServiceLibrary || !pszServiceName) 1844 1844 { 1845 1845 return VERR_INVALID_PARAMETER; … … 1857 1857 AssertRelease(pMsg); 1858 1858 1859 pMsg->pszServiceLibrary = pszServiceLibrary; 1859 1860 pMsg->pszServiceName = pszServiceName; 1860 pMsg->pszServiceLibrary = pszServiceLibrary;1861 1861 1862 1862 hgcmObjDereference (pMsg); -
trunk/src/VBox/Frontends/VBoxBFE/HGCM.h
r6000 r6793 39 39 int HGCMHostReset (void); 40 40 41 int HGCMHostLoad (const char *pszService Name, const char *pszServiceLibrary);41 int HGCMHostLoad (const char *pszServiceLibrary, const char *pszServiceName); 42 42 43 43 int HGCMHostRegisterServiceExtension (HGCMSVCEXTHANDLE *pHandle, const char *pszServiceName, PFNHGCMSVCEXT pfnExtension, void *pvExtension); -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r5999 r6793 320 320 } 321 321 322 int VMMDev::hgcmLoadService (const char *pszService Name, const char *pszServiceLibrary)323 { 324 return HGCMHostLoad (pszService Name, pszServiceLibrary);322 int VMMDev::hgcmLoadService (const char *pszServiceLibrary, const char *pszServiceName) 323 { 324 return HGCMHostLoad (pszServiceLibrary, pszServiceName); 325 325 } 326 326 -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.h
r5999 r6793 44 44 int SetAbsoluteMouse(uint32_t mouseXAbs, uint32_t mouseYAbs); 45 45 46 int hgcmLoadService (const char *pszService Name, const char *pszServiceLibrary);46 int hgcmLoadService (const char *pszServiceLibrary, const char *pszServiceName); 47 47 int hgcmHostCall (const char *pszServiceName, uint32_t u32Function, uint32_t cParms, PVBOXHGCMSVCPARM paParms); 48 48
Note:
See TracChangeset
for help on using the changeset viewer.