- Timestamp:
- Dec 3, 2008 11:07:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r14934 r14936 907 907 IMachine **aMachine) 908 908 { 909 /* null and empty strings are not allowed as path names */ 910 if (!aSettingsFile || !(*aSettingsFile)) 911 return E_INVALIDARG; 909 CheckComArgStrNotEmptyOrNull(aSettingsFile); 912 910 913 911 if (!aMachine) … … 1197 1195 IDVDImage2 **aDVDImage) 1198 1196 { 1199 /* null and empty strings are not allowed as path names */ 1200 if (!aLocation || !(*aLocation)) 1201 return E_INVALIDARG; 1197 CheckComArgStrNotEmptyOrNull(aLocation); 1202 1198 1203 1199 if (!aDVDImage) … … 1271 1267 IFloppyImage2 **aFloppyImage) 1272 1268 { 1273 /* null and empty strings are not allowed as path names */ 1274 if (!aLocation || !(*aLocation)) 1275 return E_INVALIDARG; 1269 CheckComArgStrNotEmptyOrNull(aLocation); 1276 1270 1277 1271 if (!aFloppyImage) … … 2003 1997 2004 1998 /** 2005 * Helper method t o that starts a worker thread that:1999 * Helper method that starts a worker thread that: 2006 2000 * - creates a pipe communication channel using SVCHlpClient; 2007 * - starts a SVC Helper process that will inherit this channel;2001 * - starts an SVC Helper process that will inherit this channel; 2008 2002 * - executes the supplied function by passing it the created SVCHlpClient 2009 2003 * and opened instance to communicate to the Helper process and the given … … 2016 2010 * result code returned by the function. 2017 2011 * 2018 * Before the user function is star ed, the communication channel passed to in2019 * the \a aClient argument ,is fully set up, the function should start using2020 * it 's write() and read() methods directly.2012 * Before the user function is started, the communication channel passed to 2013 * the \a aClient argument is fully set up, the function should start using 2014 * its write() and read() methods directly. 2021 2015 * 2022 2016 * The \a aVrc parameter of the user function may be used to return an error … … 2025 2019 * message using this value will be reported to the caller. Note that the 2026 2020 * value of \a aVrc is inspected only if the user function itself returns 2027 * asuccess.2021 * success. 2028 2022 * 2029 2023 * If a failure happens anywhere before the user function would be normally
Note:
See TracChangeset
for help on using the changeset viewer.