• Pierre Mageau's avatar
    Implementation of OleConvert routines. · 89aa8616
    Pierre Mageau authored
    Thuy Nguyen <thuy@macadamian.com>
    Don't allow to resize stream open in read only mode
    Allow write access for stream/storage open with STGM_READWRITE.
    StgOpenStorage return values are now more detailed.
    Don't rely on STGM_CREATE flag in the Storage constructor.
    Preventing to write out of date property.
    
    Owen Wang <owenw@corel.ca>
    Allow both positive & negative 32-bit integers as with MFC assumption.
    This patch improves the 32bit limit on IStream::*_Seek operations.
    
    John Li <johnl@corel.ca>
    When WP opens a linked file, the malloc function in
    OLECONVERT_LoadOLE10(...) returns a NULL. This causes a later Wine
    crash. The actual problem is the function reading a large data length.
    89aa8616
stg_stream.c 21.4 KB