USBInstall.cpp revision 59190ecd61435d19ba3515b876272aee7bd12298
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * VBox host drivers - USB drivers - Filter & driver installation
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Installation code
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Copyright (C) 2006-2009 Oracle Corporation
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * Oracle Corporation confidential
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync * All rights reserved
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync/*******************************************************************************
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync* Header Files *
14ea49401f3c8c61422aefbda43809e275f60c6cvboxsync*******************************************************************************/
/* Copy INF file to Windows\INF, so Windows will automatically install it when our USB device is detected */
if (b == FALSE)
return rc;
if (hSMgrCreate)
AssertMsg(hService, ("OpenService failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath));
NULL,
NULL,
NULL,
NULL,
NULL,
NULL))
AssertMsg(hService, ("ChangeServiceConfig failed! LastError=%Rwa, pszDriver=%s\n", dwLastError, pszDriverPath));
return rc;
int usblibOsCreateService(void)
if (hSMgrCreate)
AssertMsg(hService, ("CreateService failed! LastError=%Rwa, szDriver=%s\n", dwLastError, szDriver));
return rc;