Changeset 47836 in vbox
- Timestamp:
- Aug 19, 2013 9:16:40 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 88106
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/GuestFileImpl.h
r47817 r47836 59 59 * @{ */ 60 60 STDMETHOD(COMGETTER(CreationMode))(ULONG *aCreationMode); 61 STDMETHOD(COMGETTER(Disposition))( ULONG*aDisposition);61 STDMETHOD(COMGETTER(Disposition))(BSTR *aDisposition); 62 62 STDMETHOD(COMGETTER(EventSource))(IEventSource ** aEventSource); 63 63 STDMETHOD(COMGETTER(FileName))(BSTR *aFileName); 64 64 STDMETHOD(COMGETTER(InitialSize))(LONG64 *aInitialSize); 65 65 STDMETHOD(COMGETTER(Offset))(LONG64 *aOffset); 66 STDMETHOD(COMGETTER(OpenMode))( ULONG*aOpenMode);66 STDMETHOD(COMGETTER(OpenMode))(BSTR *aOpenMode); 67 67 STDMETHOD(COMGETTER(Status))(FileStatus_T *aStatus); 68 68 -
trunk/src/VBox/Main/src-client/GuestFileImpl.cpp
r47817 r47836 263 263 } 264 264 265 /** @todo For 4.3: Change ULONG* to BSTR* ?*/ 266 STDMETHODIMP GuestFile::COMGETTER(Disposition)(ULONG *aDisposition) 265 STDMETHODIMP GuestFile::COMGETTER(Disposition)(BSTR *aDisposition) 267 266 { 268 267 #ifndef VBOX_WITH_GUEST_CONTROL … … 276 275 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 277 276 278 uint32_t uDisposition = 0; 279 /** @todo Fix me! */ 280 *aDisposition = uDisposition; 277 mData.mOpenInfo.mDisposition.cloneTo(aDisposition); 281 278 282 279 return S_OK; … … 294 291 if (FAILED(autoCaller.rc())) return autoCaller.rc(); 295 292 296 / / no need to lock - lifetime constant293 /* No need to lock - lifetime constant. */ 297 294 mEventSource.queryInterfaceTo(aEventSource); 298 295 … … 355 352 } 356 353 357 /** @todo For 4.3: Change ULONG* to BSTR* ?*/ 358 STDMETHODIMP GuestFile::COMGETTER(OpenMode)(ULONG *aOpenMode) 354 STDMETHODIMP GuestFile::COMGETTER(OpenMode)(BSTR *aOpenMode) 359 355 { 360 356 #ifndef VBOX_WITH_GUEST_CONTROL … … 368 364 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 369 365 370 uint32_t uOpenMode = 0; 371 /** @todo Fix me! */ 372 *aOpenMode = uOpenMode; 366 mData.mOpenInfo.mOpenMode.cloneTo(aOpenMode); 373 367 374 368 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.