Changeset 39383 in vbox
- Timestamp:
- Nov 21, 2011 1:35:31 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/stream.cpp
r39382 r39383 437 437 AssertPtrReturn(pStream, VERR_INVALID_HANDLE); 438 438 AssertReturn(pStream->u32Magic == RTSTREAM_MAGIC, VERR_INVALID_HANDLE); 439 AssertReturn( fBinary == 1 /* true */ || fBinary == 0 /* false */ || fBinary == -1, VERR_INVALID_PARAMETER);440 AssertReturn( fCurrentCodeSet == 1 /* true */ || fCurrentCodeSet == 0 /* false */ || fCurrentCodeSet == -1, VERR_INVALID_PARAMETER);439 AssertReturn((unsigned)(fBinary + 1) <= 2, VERR_INVALID_PARAMETER); 440 AssertReturn((unsigned)(fCurrentCodeSet + 1) <= 2, VERR_INVALID_PARAMETER); 441 441 442 442 rtStrmLock(pStream);
Note:
See TracChangeset
for help on using the changeset viewer.