Changeset 6792 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 4, 2008 5:22:28 PM (17 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VMMDevInterface.cpp
r6762 r6792 560 560 } 561 561 562 int VMMDev::hgcmLoadService (const char *pszService Name, const char *pszServiceLibrary)563 { 564 return HGCMHostLoad (pszService Name, pszServiceLibrary);562 int VMMDev::hgcmLoadService (const char *pszServiceLibrary, const char *pszServiceName) 563 { 564 return HGCMHostLoad (pszServiceLibrary, pszServiceName); 565 565 } 566 566 -
trunk/src/VBox/Main/hgcm/HGCM.cpp
r5999 r6792 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/Main/include/VMMDev.h
r5999 r6792 49 49 PPDMIVMMDEVPORT getVMMDevPort(); 50 50 51 int hgcmLoadService (const char *pszService Name, const char *pszServiceLibrary);51 int hgcmLoadService (const char *pszServiceLibrary, const char *pszServiceName); 52 52 int hgcmHostCall (const char *pszServiceName, uint32_t u32Function, uint32_t cParms, PVBOXHGCMSVCPARM paParms); 53 53 void hgcmShutdown (void); -
trunk/src/VBox/Main/include/hgcm/HGCM.h
r5999 r6792 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);
Note:
See TracChangeset
for help on using the changeset viewer.