zeros. This prevents buffer overruns caused by accessing garbage data.
Some improvements to the NULL check patch.
Gautam Jain
EnumPrinters is not returning the number of printers found in case the
parameter dwLevel is 1.
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.
patch adds similar behaviour to Wine. It also adds some NULL checks.
<yuxi@corel.com>
Fix property sheet initialization bugs.
Matthew Robertson
The template was calling GetActiveIndex which was not being set in the
propsheet code, and the call was moved before we call SetActive -
because that's where we query for the Active Index.
Noomen Hamza
Resize property sheet to the largest dialog size.
Don Kelly
In the WM_INITDIALOG handler for the prop sheet, there is a call to
PROPSHEET_IsTooSmall() which, if it returns TRUE, calls
PROPSHEET_AdjustSize(). Contrary to its comment, .._AdjustSize() actually
aligns the sizes of the "largest" prop. sheet dialog template and the tab
control. The IsTooSmall() call doesn't properly catch this mismatch.
Modified the function to return TRUE if the sizes mismatch and renamed it to
PROPSHEET_SizeMismatch() to reflect its proper use.
Pierre Mageau
Don't update the combo box selection when closing the dialog only when
clicking on OK button. Adjust file dialog size when help button isn't
present.
Don Kelly.
Fixes problems with open dialog box filters.
Ulrich Czekalla
Prevents the help button from displaying on OpenFile dialogs unless
the proper flag is set in the OPENFILENAME struct.
Yuxi Zhang
Fixed memory leak.
Jean-Claude Batista
Add tooltips to the file Dialog toolbar.
Sylvain Bouchard, Bill Jin
Three new functions
EnumSelectedPidls, GetNumSelected, FILEDLG95_OnOpenUsingView: corrections
Instead of passing in a copy of ofn, passing in the pointer of ofn.
David Golding
A "!" was missing in a check against lpstrInitialDir.
Rick Mutzke
Fixed crash: if dialog has no filetypes appearing in the dropdown list.
Matt Robertson, Ulrich Czekalla
Fixed problems occurring with selection of files inside openfiledlg.