wine
15 years agoregedit: Use W version of TreeView_GetItem.
Lei Zhang [Thu, 2 Oct 2008 08:30:22 +0000 (01:30 -0700)] 
regedit: Use W version of TreeView_GetItem.

15 years agohhctrl.ocx: Always set WS_OVERLAPPEDWINDOW.
Jeff Zaroyko [Thu, 2 Oct 2008 05:10:27 +0000 (15:10 +1000)] 
hhctrl.ocx: Always set WS_OVERLAPPEDWINDOW.

15 years agowintrust: Implement OpenPersonalTrustDBDialog.
Juan Lang [Thu, 2 Oct 2008 04:46:47 +0000 (21:46 -0700)] 
wintrust: Implement OpenPersonalTrustDBDialog.

15 years agogdi32: Do not skip the font metrics update after the DC transform change.
Dmitry Timoshkov [Wed, 1 Oct 2008 21:16:26 +0000 (06:16 +0900)] 
gdi32: Do not skip the font metrics update after the DC transform change.

15 years agowine.inf: Correct the Pacific SA Standard Time entry.
Dmitry Timoshkov [Wed, 1 Oct 2008 19:48:44 +0000 (04:48 +0900)] 
wine.inf: Correct the Pacific SA Standard Time entry.

15 years agorpcrt4: Actually set an unmarshalled object ptr to NULL when a NULL pointer id is...
Huw Davies [Wed, 1 Oct 2008 18:43:37 +0000 (13:43 -0500)] 
rpcrt4: Actually set an unmarshalled object ptr to NULL when a NULL pointer id is received.

15 years agomlang/tests: windows 2008's version of mlang E_FAILs when you pass in a rgelt in...
Aric Stewart [Sun, 28 Sep 2008 19:48:40 +0000 (14:48 -0500)] 
mlang/tests: windows 2008's version of mlang E_FAILs when you pass in a rgelt in IEnumCodePage::Next.

15 years agomlang/tests: Skip testing a codepage returning the buggy, legacy unicodeFEFF charset...
Aric Stewart [Sun, 28 Sep 2008 19:48:29 +0000 (14:48 -0500)] 
mlang/tests: Skip testing a codepage returning the buggy, legacy unicodeFEFF charset (only appears to exist on windows 2008).

15 years agomlang/tests: GetLastError may not be set if Japanese conversions fail with S_FAIL...
Aric Stewart [Sun, 28 Sep 2008 15:52:20 +0000 (10:52 -0500)] 
mlang/tests: GetLastError may not be set if Japanese conversions fail with S_FAIL so do not require that to skip the Japanese tests.

15 years agomlang/tests: Some versions of native mlang return E_FAIL when source string is NULL...
Aric Stewart [Sun, 28 Sep 2008 14:03:03 +0000 (09:03 -0500)] 
mlang/tests: Some versions of native mlang return E_FAIL when source string is NULL and a source length is supplied.

15 years agomlang/tests: IMultiLanguage2_GetRfc1766FromLcid can return S_FALSE on partial name...
Aric Stewart [Sat, 27 Sep 2008 21:10:51 +0000 (16:10 -0500)] 
mlang/tests: IMultiLanguage2_GetRfc1766FromLcid can return S_FALSE on partial name matching so deal with this properly.

15 years agoimm32: ImmConfigureIME should return 0 when the type is IME_CONFIG_REGISTERWORD and...
Aric Stewart [Sat, 27 Sep 2008 18:30:43 +0000 (13:30 -0500)] 
imm32: ImmConfigureIME should return 0 when the type is IME_CONFIG_REGISTERWORD and the data is NULL.

15 years agoinclude: Generate error codes with correct type in urlmon.idl.
Rob Shearman [Wed, 1 Oct 2008 10:19:58 +0000 (11:19 +0100)] 
include: Generate error codes with correct type in urlmon.idl.

Use the _HRESULT_TYPEDEF_ macro to ensure that the error codes get the
correct type.

15 years agowininet: Make WININET_AllocHandle 64-bit safe by using the correct type in the sizeof...
Rob Shearman [Wed, 1 Oct 2008 10:20:03 +0000 (11:20 +0100)] 
wininet: Make WININET_AllocHandle 64-bit safe by using the correct type in the sizeof expression.

15 years agoquartz: Fix placement of WINAPI attribute in fnFoundSeek typedef.
Rob Shearman [Wed, 1 Oct 2008 10:21:11 +0000 (11:21 +0100)] 
quartz: Fix placement of WINAPI attribute in fnFoundSeek typedef.

MSVC requires that calling conventions appear inside the brackets.

15 years agoquartz: Don't use strlenW in array size declaration.
Rob Shearman [Wed, 1 Oct 2008 10:21:04 +0000 (11:21 +0100)] 
quartz: Don't use strlenW in array size declaration.

Use ARRAYSIZE() on the constant string arrays instead.

15 years agowinedos: Compare HRESULT value explicitly against S_OK instead of using an implicit...
Rob Shearman [Wed, 1 Oct 2008 10:20:53 +0000 (11:20 +0100)] 
winedos: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.

15 years agowininet: Compare HRESULT values explicitly against S_OK instead of using an implicit...
Rob Shearman [Wed, 1 Oct 2008 10:20:49 +0000 (11:20 +0100)] 
wininet: Compare HRESULT values explicitly against S_OK instead of using an implicit != 0 comparison.

15 years agourlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit...
Rob Shearman [Wed, 1 Oct 2008 10:20:43 +0000 (11:20 +0100)] 
urlmon: Compare HRESULT value explicitly against S_OK instead of using an implicit != 0 comparison.

15 years agowinhttp: Fix compilation with MinGW/MSVC.
Rob Shearman [Wed, 1 Oct 2008 10:20:31 +0000 (11:20 +0100)] 
winhttp: Fix compilation with MinGW/MSVC.

15 years agoinclude: Wrap uses of u_* types in ws2tcpip.h with WS() macro.
Rob Shearman [Wed, 1 Oct 2008 10:20:09 +0000 (11:20 +0100)] 
include: Wrap uses of u_* types in ws2tcpip.h with WS() macro.

15 years agoinclude: Define DD_OK to S_OK instead of 0.
Rob Shearman [Wed, 1 Oct 2008 10:19:53 +0000 (11:19 +0100)] 
include: Define DD_OK to S_OK instead of 0.

Add define for DD_FALSE.

15 years agocabinet: Check buffer size before copying in NONEfdi_decomp.
Rob Shearman [Wed, 1 Oct 2008 10:19:31 +0000 (11:19 +0100)] 
cabinet: Check buffer size before copying in NONEfdi_decomp.

Check that the data will fit into the fixed sized buffer CAB(outbuf)
and return an error if not before copying.

15 years agomsxml3: Correct cast.
Alistair Leslie-Hughes [Wed, 1 Oct 2008 04:23:05 +0000 (14:23 +1000)] 
msxml3: Correct cast.

15 years agocomctl32: Only log system messages.
James Hawkins [Wed, 1 Oct 2008 01:57:27 +0000 (20:57 -0500)] 
comctl32: Only log system messages.

15 years agocomctl32: Fix several test failures in win2k.
James Hawkins [Wed, 1 Oct 2008 01:57:09 +0000 (20:57 -0500)] 
comctl32: Fix several test failures in win2k.

15 years agocomctl32: Only log system messages.
James Hawkins [Wed, 1 Oct 2008 01:56:45 +0000 (20:56 -0500)] 
comctl32: Only log system messages.

15 years agomsi: Fix a test that fails in win95.
James Hawkins [Wed, 1 Oct 2008 01:56:34 +0000 (20:56 -0500)] 
msi: Fix a test that fails in win95.

15 years agomsi: Forward MsiDatabaseMergeA to MsiDatabaseMergeW.
James Hawkins [Wed, 1 Oct 2008 01:56:27 +0000 (20:56 -0500)] 
msi: Forward MsiDatabaseMergeA to MsiDatabaseMergeW.

15 years agomsi: Add a stub implementation of MsiDatabaseMerge.
James Hawkins [Wed, 1 Oct 2008 01:55:55 +0000 (20:55 -0500)] 
msi: Add a stub implementation of MsiDatabaseMerge.

15 years agorichedit: Made sure table row gap/offset is copied on append row.
Dylan Smith [Tue, 30 Sep 2008 21:42:21 +0000 (17:42 -0400)] 
richedit: Made sure table row gap/offset is copied on append row.

15 years agorichedit: Fixed a bug preventing streaming out nested table properties.
Dylan Smith [Tue, 30 Sep 2008 21:11:36 +0000 (17:11 -0400)] 
richedit: Fixed a bug preventing streaming out nested table properties.

15 years agorichedit: Added code to stream out table border properties.
Dylan Smith [Tue, 30 Sep 2008 21:11:49 +0000 (17:11 -0400)] 
richedit: Added code to stream out table border properties.

This code was simply missing, since the table border properties are
already stored and displayed.

15 years agorichedit: Prevent assertion failure when streaming out nested tables.
Dylan Smith [Tue, 30 Sep 2008 21:11:41 +0000 (17:11 -0400)] 
richedit: Prevent assertion failure when streaming out nested tables.

The table properties are streamed out at the start of the table for
non-nested tables, and at the end of the table for nested tables.  The
assertion caught the fact that I didn't get the start of the table row
for nested tables before trying to stream out the properties.

The call to ME_GetTableRowStart will handle both of these cases by
getting the table row start paragraph and asserting that it is found.
This call was also the reason for removing the const qualifier on one
of the parameters.

15 years agorichedit: Prevent font or colour buffer overflow on stream out.
Dylan Smith [Tue, 30 Sep 2008 21:11:29 +0000 (17:11 -0400)] 
richedit: Prevent font or colour buffer overflow on stream out.

Static sized buffers are used for storing the colours and fonts, so
there needs to be a check to prevent these buffer from overflowing.

15 years agorichedit: Make sure border properties are saved for undo/redo.
Dylan Smith [Tue, 30 Sep 2008 21:11:19 +0000 (17:11 -0400)] 
richedit: Make sure border properties are saved for undo/redo.

Previously the paragraph and cell border properties were lost when
deleting the text, then undoing the deletion. This would cause tables
to lose the colour and width of the table border.

15 years agojscript: Added delete expression for EXPRVAL_IDREF implementation.
Jacek Caban [Tue, 30 Sep 2008 15:48:45 +0000 (17:48 +0200)] 
jscript: Added delete expression for EXPRVAL_IDREF implementation.

15 years agojscript: Added IDispatchEx::GeleteMemberByDispID implementation.
Jacek Caban [Tue, 30 Sep 2008 15:48:36 +0000 (17:48 +0200)] 
jscript: Added IDispatchEx::GeleteMemberByDispID implementation.

15 years agojscript: Added Date constructor object implementation.
Jacek Caban [Tue, 30 Sep 2008 15:48:18 +0000 (17:48 +0200)] 
jscript: Added Date constructor object implementation.

15 years agojscript: Don't clear uninitialized variable.
Jacek Caban [Tue, 30 Sep 2008 15:47:55 +0000 (17:47 +0200)] 
jscript: Don't clear uninitialized variable.

15 years agojscript: Allocate variables when entering execution context.
Jacek Caban [Tue, 30 Sep 2008 15:47:40 +0000 (17:47 +0200)] 
jscript: Allocate variables when entering execution context.

15 years agojscript: Optimize GetDispID usage.
Jacek Caban [Tue, 30 Sep 2008 15:47:24 +0000 (17:47 +0200)] 
jscript: Optimize GetDispID usage.

15 years agomshtml: Ignore IDispatchJS in QueryInterface.
Jacek Caban [Tue, 30 Sep 2008 15:46:30 +0000 (17:46 +0200)] 
mshtml: Ignore IDispatchJS in QueryInterface.

15 years agomshtml: Added IHTMLTableRow::get_cells implementation.
Jacek Caban [Tue, 30 Sep 2008 15:46:02 +0000 (17:46 +0200)] 
mshtml: Added IHTMLTableRow::get_cells implementation.

15 years agomshtml: Added IHTMLTable::get_rows implementation.
Jacek Caban [Tue, 30 Sep 2008 15:45:48 +0000 (17:45 +0200)] 
mshtml: Added IHTMLTable::get_rows implementation.

15 years agomshtml: Store nsIDOMHTMLTableElement in HTMLTable.
Jacek Caban [Tue, 30 Sep 2008 15:45:25 +0000 (17:45 +0200)] 
mshtml: Store nsIDOMHTMLTableElement in HTMLTable.

15 years agomshtml: Use create_all_collection in IHTMLElement::get_all implementation.
Jacek Caban [Tue, 30 Sep 2008 15:45:08 +0000 (17:45 +0200)] 
mshtml: Use create_all_collection in IHTMLElement::get_all implementation.

15 years agomshtml: Use create_collection_from_nodelist in IHTMLElement::get_children implementation.
Jacek Caban [Tue, 30 Sep 2008 15:44:50 +0000 (17:44 +0200)] 
mshtml: Use create_collection_from_nodelist in IHTMLElement::get_children implementation.

15 years agomshtml: Move IHTMLElementCollection to separated file.
Jacek Caban [Tue, 30 Sep 2008 15:41:45 +0000 (17:41 +0200)] 
mshtml: Move IHTMLElementCollection to separated file.

15 years agomshtml: Don't use IHTMLControlElement in IDispatchEx implementations.
Jacek Caban [Tue, 30 Sep 2008 15:41:20 +0000 (17:41 +0200)] 
mshtml: Don't use IHTMLControlElement in IDispatchEx implementations.

15 years agomshtml: Added IDispatchEx support to IHTMLTable.
Jacek Caban [Tue, 30 Sep 2008 15:40:58 +0000 (17:40 +0200)] 
mshtml: Added IDispatchEx support to IHTMLTable.

15 years agomshtml: Added IDispatchEx support to HTMLTableRow.
Jacek Caban [Tue, 30 Sep 2008 15:42:34 +0000 (17:42 +0200)] 
mshtml: Added IDispatchEx support to HTMLTableRow.

15 years agomshtml: Added IHTMLTableRow stub implementation.
Jacek Caban [Tue, 30 Sep 2008 15:40:19 +0000 (17:40 +0200)] 
mshtml: Added IHTMLTableRow stub implementation.

15 years agodsound: Sign-compare warnings fix.
Andrew Talbot [Tue, 30 Sep 2008 19:41:08 +0000 (20:41 +0100)] 
dsound: Sign-compare warnings fix.

15 years agoddraw: Sign-compare warning fix.
Andrew Talbot [Tue, 30 Sep 2008 19:41:03 +0000 (20:41 +0100)] 
ddraw: Sign-compare warning fix.

15 years agogdi32: Make the PS_NULL test pass under Wine.
Dmitry Timoshkov [Tue, 30 Sep 2008 18:09:02 +0000 (03:09 +0900)] 
gdi32: Make the PS_NULL test pass under Wine.

15 years agowintrust: Implement WTHelperGetKnownUsages.
Juan Lang [Tue, 30 Sep 2008 17:11:30 +0000 (10:11 -0700)] 
wintrust: Implement WTHelperGetKnownUsages.

15 years agowintrust: Add tests for WTHelperGetKnownUsages.
Juan Lang [Tue, 30 Sep 2008 17:11:00 +0000 (10:11 -0700)] 
wintrust: Add tests for WTHelperGetKnownUsages.

15 years agowintrust: Add stub for WTHelperGetKnownUsages.
Juan Lang [Tue, 30 Sep 2008 17:10:35 +0000 (10:10 -0700)] 
wintrust: Add stub for WTHelperGetKnownUsages.

15 years agodbghelp: Add support for the newest line number information in pdb files.
Eric Pouech [Mon, 29 Sep 2008 19:32:38 +0000 (21:32 +0200)] 
dbghelp: Add support for the newest line number information in pdb files.

15 years agodbghelp: Rewrote the linetab access so that we don't need to allocate intermediate...
Eric Pouech [Mon, 29 Sep 2008 19:32:29 +0000 (21:32 +0200)] 
dbghelp: Rewrote the linetab access so that we don't need to allocate intermediate information.

15 years agowinedump: First stab at dumping the "new" line information out of pdb files.
Eric Pouech [Mon, 29 Sep 2008 19:32:21 +0000 (21:32 +0200)] 
winedump: First stab at dumping the "new" line information out of pdb files.

15 years agowinedump: Now dumping codeview source line information.
Eric Pouech [Mon, 29 Sep 2008 19:32:09 +0000 (21:32 +0200)] 
winedump: Now dumping codeview source line information.

15 years agodbghelp: Added support for real80 (aka long double) in inner codeview types.
Eric Pouech [Mon, 29 Sep 2008 19:32:00 +0000 (21:32 +0200)] 
dbghelp: Added support for real80 (aka long double) in inner codeview types.

15 years agodbghelp: Now fully reading the leafs as variant for constants.
Eric Pouech [Mon, 29 Sep 2008 19:31:53 +0000 (21:31 +0200)] 
dbghelp: Now fully reading the leafs as variant for constants.

Also added missing creation for V3 constants.

15 years agowinedump: Improved a bit the MS Tool V3 description.
Eric Pouech [Mon, 29 Sep 2008 19:31:47 +0000 (21:31 +0200)] 
winedump: Improved a bit the MS Tool V3 description.

15 years agodbghelp,winedump: Added support for symbol symbol.
Eric Pouech [Mon, 29 Sep 2008 19:31:41 +0000 (21:31 +0200)] 
dbghelp,winedump: Added support for symbol symbol.

15 years agodbghelp,winedump: Added support for symbol 0x113c.
Eric Pouech [Mon, 29 Sep 2008 19:31:35 +0000 (21:31 +0200)] 
dbghelp,winedump: Added support for symbol 0x113c.

15 years agodbghelp,winedump: Added support for 0x113d symbol.
Eric Pouech [Mon, 29 Sep 2008 19:31:29 +0000 (21:31 +0200)] 
dbghelp,winedump: Added support for 0x113d symbol.

15 years agodbghelp: Silence symbol 0x1139.
Eric Pouech [Mon, 29 Sep 2008 19:31:21 +0000 (21:31 +0200)] 
dbghelp: Silence symbol 0x1139.

15 years agowinedump: Add preliminary dumping of 0x1136 and 0x1137 symbols.
Eric Pouech [Mon, 29 Sep 2008 19:31:15 +0000 (21:31 +0200)] 
winedump: Add preliminary dumping of 0x1136 and 0x1137 symbols.

15 years agowinedump: Dump a bit more of information from procedures.
Eric Pouech [Mon, 29 Sep 2008 19:31:08 +0000 (21:31 +0200)] 
winedump: Dump a bit more of information from procedures.

15 years agowinedump: Added support for dumping long long constants.
Eric Pouech [Mon, 29 Sep 2008 19:31:01 +0000 (21:31 +0200)] 
winedump: Added support for dumping long long constants.

15 years agodbghelp,winedump: Added support for symbol 0x1012.
Eric Pouech [Mon, 29 Sep 2008 19:30:55 +0000 (21:30 +0200)] 
dbghelp,winedump: Added support for symbol 0x1012.

15 years agodbghelp,winedump: Added support for symbol 0x113a.
Eric Pouech [Mon, 29 Sep 2008 19:30:48 +0000 (21:30 +0200)] 
dbghelp,winedump: Added support for symbol 0x113a.

15 years agodbghelp: Added stub for SymSetScopeFromAddr.
Eric Pouech [Mon, 29 Sep 2008 19:30:42 +0000 (21:30 +0200)] 
dbghelp: Added stub for SymSetScopeFromAddr.

15 years agodbghelp: Added the latest stubs.
Eric Pouech [Mon, 29 Sep 2008 19:30:35 +0000 (21:30 +0200)] 
dbghelp: Added the latest stubs.

15 years agodbghelp: Added stubs for add symbol functions.
Eric Pouech [Mon, 29 Sep 2008 19:30:29 +0000 (21:30 +0200)] 
dbghelp: Added stubs for add symbol functions.

15 years agouser32: Fix a noisy FIXME.
Dimitrie O. Paun [Sun, 28 Sep 2008 18:47:07 +0000 (14:47 -0400)] 
user32: Fix a noisy FIXME.

15 years agomshtml.idl: Added DispHTMLTableRow declaration.
Jacek Caban [Mon, 29 Sep 2008 17:43:46 +0000 (19:43 +0200)] 
mshtml.idl: Added DispHTMLTableRow declaration.

15 years agomshtml.idl: Added DispHTMLTable declaration.
Jacek Caban [Mon, 29 Sep 2008 17:43:43 +0000 (19:43 +0200)] 
mshtml.idl: Added DispHTMLTable declaration.

15 years agomshtml.idl: Added IHTMLTableRow declaration.
Jacek Caban [Mon, 29 Sep 2008 17:43:30 +0000 (19:43 +0200)] 
mshtml.idl: Added IHTMLTableRow declaration.

15 years agomsi: Fix potential uninitialized use of substg.
Marcus Meissner [Sun, 28 Sep 2008 20:27:29 +0000 (22:27 +0200)] 
msi: Fix potential uninitialized use of substg.

15 years agokernel32: Be more verbose when reporting the sync test failures.
Reece Dunn [Sun, 28 Sep 2008 19:09:21 +0000 (20:09 +0100)] 
kernel32: Be more verbose when reporting the sync test failures.

15 years agoregedit: Ignore spaces in regedit files.
Andrey Turkin [Fri, 26 Sep 2008 05:31:24 +0000 (09:31 +0400)] 
regedit: Ignore spaces in regedit files.

15 years agoopengl32: Merge recent opengl extensions and prepare for opengl 3.0.
Roderick Colenbrander [Thu, 25 Sep 2008 17:57:52 +0000 (17:57 +0000)] 
opengl32: Merge recent opengl extensions and prepare for opengl 3.0.

15 years agoshell32: Revert c1f2824429286dd60fac723611b801e67eb745b1. It caused poor performance.
Ulrich Czekalla [Wed, 24 Sep 2008 18:21:47 +0000 (14:21 -0400)] 
shell32: Revert c1f2824429286dd60fac723611b801e67eb745b1. It caused poor performance.

Patch c1f2824429286dd60fac723611b801e67eb745b1 causes poor performance
when browsing a directory. In fact it has a side affect that when you
browse the root folder off of My Computer it will enumerate not only
the root's contents but each subfolder's contents as well in order to
get a more likely correct value for SFGAO_HASSUBFOLDER.

15 years agoinetcomm: Add a stub implementation of IIMAPTransport.
Hans Leidekker [Thu, 25 Sep 2008 11:56:09 +0000 (13:56 +0200)] 
inetcomm: Add a stub implementation of IIMAPTransport.

15 years agoinclude: Define IRangeList, IIMAPCallback and IIMAPTransport.
Hans Leidekker [Thu, 25 Sep 2008 11:55:37 +0000 (13:55 +0200)] 
include: Define IRangeList, IIMAPCallback and IIMAPTransport.

15 years agodinput: Sign-compare warnings fix.
Andrew Talbot [Mon, 29 Sep 2008 20:28:22 +0000 (21:28 +0100)] 
dinput: Sign-compare warnings fix.

15 years agoadvapi32: Output the last error when services tests fail.
Rob Shearman [Mon, 29 Sep 2008 21:30:29 +0000 (22:30 +0100)] 
advapi32: Output the last error when services tests fail.

15 years agocomctl32: Avoid a divide by zero in listview.
Lei Zhang [Mon, 29 Sep 2008 20:38:54 +0000 (13:38 -0700)] 
comctl32: Avoid a divide by zero in listview.

15 years agourlmon: Fixed potential null dereference.
Jacek Caban [Sun, 28 Sep 2008 15:44:56 +0000 (17:44 +0200)] 
urlmon: Fixed potential null dereference.

15 years agocomcat: Fix mixing of HRESULT and LSTATUS types in COMCAT_CLSID_IEnumGUID_Next, COMCA...
Rob Shearman [Tue, 30 Sep 2008 12:54:57 +0000 (13:54 +0100)] 
comcat: Fix mixing of HRESULT and LSTATUS types in COMCAT_CLSID_IEnumGUID_Next, COMCAT_IEnumCATEGORYINFO_Next and COMCAT_CATID_IEnumGUID_Next.

(Found by PreFast.)

15 years agod3d8: Fix incorrect ordering of brackets in IDirect3DVertexShader8Impl_GetDevice.
Rob Shearman [Tue, 30 Sep 2008 12:54:45 +0000 (13:54 +0100)] 
d3d8: Fix incorrect ordering of brackets in IDirect3DVertexShader8Impl_GetDevice.

The comparison should be (D3D_OK == hr && myDevice), not (D3D_OK == (hr && myDevice)).
(Found with PreFast.)

15 years agoavifil32: Fix treating the return values of mmio* functions as HRESULTs instead of...
Rob Shearman [Tue, 30 Sep 2008 12:55:35 +0000 (13:55 +0100)] 
avifil32: Fix treating the return values of mmio* functions as HRESULTs instead of MMRESULTs.

(Found by PreFast.)

15 years agooledlg: Fix the type of ret in UIINSERTOBJECTDLG_PopulateObjectTypes.
Rob Shearman [Tue, 30 Sep 2008 12:55:22 +0000 (13:55 +0100)] 
oledlg: Fix the type of ret in UIINSERTOBJECTDLG_PopulateObjectTypes.

It is only used for storing the result of RegEnumKeyW so it should be
LSTATUS instead of HRESULT.

15 years agoavifil32: Fix type of variable used to store the result of ICCompress in AVIFILE_Enco...
Rob Shearman [Tue, 30 Sep 2008 12:55:29 +0000 (13:55 +0100)] 
avifil32: Fix type of variable used to store the result of ICCompress in AVIFILE_EncodeFrame.

(Found by PreFast.)

15 years agod3d9: Fix incorrect ordering of brackets in IDirect3DVertexShader9Impl_GetDevice.
Rob Shearman [Tue, 30 Sep 2008 12:54:50 +0000 (13:54 +0100)] 
d3d9: Fix incorrect ordering of brackets in IDirect3DVertexShader9Impl_GetDevice.

The comparison should be (D3D_OK == hr && myDevice), not (D3D_OK == (hr && myDevice)).
(Found with PreFast.)

15 years agoshlwapi: Use an error code instead of -1 for signalling prefix not being found in...
Rob Shearman [Tue, 30 Sep 2008 12:55:13 +0000 (13:55 +0100)] 
shlwapi: Use an error code instead of -1 for signalling prefix not being found in URL_GuessScheme.