Commit Graph

26480 Commits

Author SHA1 Message Date
Robert Reif
a76023f02a winecfg: Add default dsound sample rate and bits per sample. 2006-04-08 15:49:10 +02:00
Robert Reif
44b7760e6a dsound: Set default primary buffer sample rate and bits per sample.
Programs that are written specifically for 2000 and xp don't bother to
set the primary buffer format because it's a noop.  However wine is
patterned after win9x and DirectX 7 or earlier which has a real
primary buffer and expects the program to change the primary buffer
format if necessary.
2006-04-08 15:48:59 +02:00
Alexandre Julliard
2eb46bb464 explorer: Don't use ExitWindows on shutdown.
ExitWindows kills all current processes and that creates a race with
newly started processes. Instead, simply exit and let the new process
create a new explorer.
2006-04-07 20:26:47 +02:00
Mike Hearn
ddd0e03e91 kernel: Don't crash on NULL arg in GetShortPathNameW. 2006-04-07 20:05:33 +02:00
Mike Hearn
1740fe0fe6 comctl32: Add OOM codepath in imagelist control. 2006-04-07 20:04:19 +02:00
Mike Hearn
8122173abf gdi: Protect GetEnhMetaFilePaletteEntries against bad handles. 2006-04-07 20:01:55 +02:00
Mike Hearn
679df54b6c kernel: Correct SearchPathA argument validation. 2006-04-07 20:01:48 +02:00
Robert Reif
ba62608996 dsound: Fix capture test.
Remove bogus release of NULL pointer code found by Coverity.
2006-04-07 20:01:40 +02:00
Mike Hearn
d46e68da1e uxtheme: Fix GetThemeSysInt.
TMT_FIRSTINT and TMT_LASTINT are the same value here, so the error
path would always be taken. Fix to check only that the values are
outside the possible range.
2006-04-07 20:01:31 +02:00
Paul Vriens
a233d55dbd netapi32: Move NetShareEnum from browsr.c to share.c. 2006-04-07 20:01:12 +02:00
James Hawkins
d7199a4836 advpack: Add a few more tests for SetPerUserSecValues. 2006-04-07 20:01:04 +02:00
Gerald Pfeifer
ac6d4f7e94 gdi: Also initialize a variable in the failure case. 2006-04-07 20:00:59 +02:00
Mike McCormack
819815d66c msi: Use a debug channel to turn on transform debugging. 2006-04-07 20:00:45 +02:00
Alexandre Julliard
cb70931f67 server: Moved read/write_process_memory and get_selector_entry to ptrace.c. 2006-04-07 19:52:12 +02:00
Alexandre Julliard
0b492c708f server: Hide assumptions about alignment inside the read_process_memory function. 2006-04-07 19:43:44 +02:00
Alexandre Julliard
959bbf8b75 server: Get rid of alignment requirements in write_process_memory request.
All the alignment handling is now done in the write_process_memory
function inside the server.
2006-04-07 18:41:58 +02:00
Stefan Dösinger
0c5a0f244d wined3d: Allow the inclusion of the wined3d headers when the ddraw headers are included. 2006-04-07 14:57:55 +02:00
Stefan Dösinger
cf4b91f074 wined3d: Add WINED3DBOX to wined3d_types.h. 2006-04-07 14:55:50 +02:00
Stefan Dösinger
9d67b4287e wined3d: Rename return values from D3D* to WINED3D*. 2006-04-07 14:54:04 +02:00
Robert Shearman
bff74c1763 ole32: Fix typo in FileMonikerImpl_BindToObject.
Fix apparent typo in FileMonikerImpl_BindToObject, where ppf was
incorrectly passed into IClassFactory_CreateInstance instead of &ppf
(found by Coverity).
2006-04-07 13:10:18 +02:00
Robert Shearman
3a2e18c99c ole32: Check for pcbSize parameter of CompositeMonikerImpl_GetSizeMax being NULL, rather than non-NULL. 2006-04-07 13:10:03 +02:00
Robert Shearman
ff5efc2779 ole32: Check for pcbSize in AntiMonikerImpl_GetSizeMax being for NULL, not for non-NULL. 2006-04-07 13:09:57 +02:00
Robert Shearman
582e2f1ff8 ole32: Fix DefaultHandler_EnumAdvises.
As per MSDN, if the object has no connections then
IOleObject::EnumAdvises should return a NULL enumerator and S_OK. This
is the case when This->oleAdviseHolder is NULL, so do this and avert a
potential NULL dereference of This->oleAdviseHolder (found by
Coverity).
2006-04-07 13:09:36 +02:00
Robert Shearman
cca69647a3 oleaut32: Fix typo in LPSAFEARRAY_Unmarshal.
Fix typo in LPSAFEARRAY_Unmarshal where the check for the failure of
the SafeArrayCreateEx call was missing a dereference operator (found
by Coverity).
2006-04-07 13:09:23 +02:00
Robert Shearman
f74dfe3182 oleaut32: Remove deadcode in SafeArrayPutElement.
Remove deadcode in SafeArrayPutElement, as lpBstr cannot be NULL
because of the check at the top of the function on pvData (found by
Coverity).
2006-04-07 13:09:08 +02:00
Robert Shearman
7a3df4d097 server: Free ptr in console_input_append_hist.
Free ptr in console_input_append_hist before returning, otherwise it
will be leaked (found by Coverity).
Remove the setting of last error on mem_alloc failure, as it is already
done in mem_alloc.
2006-04-07 13:08:49 +02:00
Robert Shearman
0bf1c22cad server: Handle failure of mem_alloc in duplicate_token. 2006-04-07 13:08:33 +02:00
Robert Shearman
9e0d0563c1 server: Handle possible mem_alloc failure in create_token. 2006-04-07 13:07:54 +02:00
Robert Shearman
d8058fbe8c server: Should use release_object on an object instead of free. 2006-04-07 13:07:47 +02:00
Mike McCormack
604cdff911 msi: Remove broken volume management code. 2006-04-07 12:57:52 +02:00
Mike McCormack
5d0873a74c shdocvw: Implement IEWinMain using a simple window frame. 2006-04-07 12:57:47 +02:00
Mike McCormack
11132d2cdf x11drv: Cursors index used with WTI_DEVICES is zero based. 2006-04-07 12:57:11 +02:00
Huw Davies
26dbcc0aee fonts: Add the Won sign in place of the backslash for Korean fonts. 2006-04-07 12:57:01 +02:00
James Hawkins
12a9ed0ade advpack: Forward DelNodeRunDLL32A to its Unicode counterpart. 2006-04-07 12:56:49 +02:00
James Hawkins
cc4b01a0f1 advpack: Rewrite get_parameter to be able to handle an empty parameter. 2006-04-07 12:56:36 +02:00
Stefan Dösinger
e0898f5e0e wined3d: Add WINED3DPRESENT_INTERVAL_* definitions. 2006-04-07 11:47:00 +02:00
Stefan Dösinger
51067e1e8b wined3d: Add WINED3DPRESENTRATE_DEFAULT. 2006-04-07 11:46:46 +02:00
Stefan Dösinger
e71468c786 wined3d: Add WINED3DLOCKED_BOX to wined3d_types.h. 2006-04-07 11:46:36 +02:00
James Hawkins
14faf12845 ntdll: Return error if the signal index equals the size of the array. 2006-04-07 11:46:12 +02:00
Mike McCormack
e0276035a4 oleaut32: Remove unnecessary check for NULL. 2006-04-07 11:46:04 +02:00
Mike McCormack
14278b4299 server: Avoid comparison of -1 with an unsigned variable. 2006-04-07 11:45:58 +02:00
Mike McCormack
f7679b4594 libwine: Fix a memory leak. 2006-04-07 11:45:53 +02:00
Mike McCormack
ccdd0869a1 msi: Fix a logic error. 2006-04-07 11:45:47 +02:00
Mike McCormack
ed580a1d85 msi: Avoid accessing a null pointer. 2006-04-07 11:45:41 +02:00
Mike McCormack
ed9745b94f msi: Check the correct pointer after allocating memory. 2006-04-07 11:45:34 +02:00
Mike McCormack
85e8d3adf8 msi: Fix possible free of uninitialized pointer. 2006-04-07 11:45:29 +02:00
Alexandre Julliard
fcb771d9c0 kernel: Fixed set_process_name for the winevdm case. 2006-04-07 11:45:22 +02:00
Stefan Dösinger
bbe490abcc wined3d: Add WINED3DLOCKED_RECT to wined3d_types.h. 2006-04-06 22:23:31 +02:00
Stefan Dösinger
63fd9a7a98 wined3d: Add WINED3DTEXTUREFILTERTYPE to wined3d_types.h. 2006-04-06 22:22:35 +02:00
Paul Vriens
e29dd373b2 netapi32: Add (stubbed) NetSessionEnum. 2006-04-06 22:22:29 +02:00