Commit graph

49068 commits

Author SHA1 Message Date
Michael Stefaniuc
3b8aeb913b advapi/tests: CreateFile returns INVALID_HANDLE_VALUE on error (Smatch). 2008-08-19 12:54:57 +02:00
Rob Shearman
739d89369b rpcrt4: Implement RpcBindingReset. 2008-08-19 12:54:31 +02:00
Rob Shearman
e98539520d rpcrt4: Don't get or create an association for bindings with incomplete endpoints.
It's inefficient since the association will have to be replaced before
the binding can be used to connect to a server.
2008-08-19 12:54:26 +02:00
Rob Shearman
6ed020d813 rpcrt4: Check for previous association being NULL in RPCRT4_ResolveBinding.
bind->Assoc could be NULL if the binding hasn't been resolved.
2008-08-19 12:54:21 +02:00
Rob Shearman
c5dd3f079c rpcrt4: Test the endpoint mapper for the ncalrpc protseq as well as the ncacn_np protseq. 2008-08-19 12:25:42 +02:00
Stefan Dösinger
e10302d952 ddraw: Implement IDirectDraw7::GetFourCCCodes. 2008-08-19 12:25:37 +02:00
Stefan Dösinger
c1bbab7c54 ddraw: Send the ddraw output to the clipper window, if any. 2008-08-19 12:25:31 +02:00
Stefan Dösinger
3d49e8cd5e wined3d: Add a swapchain method to set the dest override.
DDraw can draw to the front buffer only, thus there's never a Present
call which could pass this window. Due to that a drawing-independent
method is needed.
2008-08-19 12:25:20 +02:00
Stefan Dösinger
25c07dc86c wined3d: Remove the ddraw_window device member. 2008-08-19 12:25:05 +02:00
Stefan Dösinger
376944ebe4 wined3d: Remove the device-global fullscreen flag. 2008-08-19 12:24:57 +02:00
Stefan Dösinger
34b37fe241 d3d: Remove IWineD3DDevice::SetHwnd. 2008-08-19 12:22:05 +02:00
Stefan Dösinger
7f2b8f9bba wined3d: Support redirecting the primary context. 2008-08-19 12:21:49 +02:00
Stefan Dösinger
e178ddd9e1 wined3d: Use a swapchain for GDI surfaces.
This is a long-needed cleanup aimed at removing the ddraw_primary,
ddraw_window, ddraw_width and ddraw_height members from
IWineD3DDeviceImpl, which just do not belong there.  Destination
window and screen handling is supposed to be done by swapchains.
2008-08-19 12:21:32 +02:00
Stefan Dösinger
66738fbb87 wined3d: Remove unused enum entry. 2008-08-19 12:20:54 +02:00
Stefan Dösinger
e5de2fc82c wined3d: Move some swapchain code into a base class. 2008-08-19 12:20:47 +02:00
Juan Lang
1799ceb8c1 crypt32: Free memory using the correct function on failure. 2008-08-19 12:20:40 +02:00
Juan Lang
9423f836ac crypt32: Fix length calculation for decoding CRL_DIST_POINT_NAME. 2008-08-19 12:20:35 +02:00
Juan Lang
802770299d crypt32: Set *pcbStructInfo on more success paths. 2008-08-19 12:20:30 +02:00
Juan Lang
a1e14feeac crypt32: Implement CertFindCertificateInStore for CERT_FIND_SIGNATURE_HASH. 2008-08-19 12:20:23 +02:00
Juan Lang
e763923b07 crypt32: Implement CERT_SIGNATURE_HASH_PROP_ID. 2008-08-19 12:20:18 +02:00
Juan Lang
d8da3e83ff crypt32: Implement CryptHashToBeSigned. 2008-08-19 12:20:09 +02:00
Juan Lang
b18919bef7 crypt32: Add tests for CryptHashToBeSigned. 2008-08-19 12:20:04 +02:00
Juan Lang
f5eb6caf05 crypt32: Add stub for CryptHashToBeSigned. 2008-08-19 12:19:58 +02:00
Juan Lang
8f74b60f87 crypt32: Add stub for CryptMsgVerifyCountersignatureEncodedEx. 2008-08-19 12:19:50 +02:00
Christian Costa
9a82c8071d winealsa.drv: Improve midi port names. 2008-08-19 12:16:00 +02:00
Jacek Caban
984bff499e mshtml: Use heap_alloc_zero for HTMLWindow allocation.
It's needed by DispatchEx implementation.
2008-08-19 12:15:56 +02:00
Rob Shearman
e1e6caf81c kernel32: Fix a typo in the leadin check in WaitNamedPipeW. 2008-08-18 17:34:13 +02:00
Rob Shearman
23bb94c005 ole32: Remove dead code in StorageImpl_LoadFileHeader. 2008-08-18 17:34:13 +02:00
Rob Shearman
27ae234b04 rpcrt4: Remove unreachable code in EmbeddedComplexSize.
RPC_FC_ERROR_STATUS_T has a value of 0x10 and therefore isn't a
possible value of "flags_type & 0xf" in the switch statement.
2008-08-18 17:34:13 +02:00
Rob Shearman
a35431a194 quartz: Use memcmp instead of strncmp in MPEGSplitter_pre_connect.
header isn't a string and therefore using strncmp doesn't make sense.
2008-08-18 17:34:13 +02:00
Rob Shearman
89b479c8ec hhctrl.ocx: Nul-terminate url_indicator constant in NavigateToUrl. 2008-08-18 17:34:13 +02:00
Rob Shearman
b234173b1f oleaut32: Fix buffer length passed to VARIANT_DI_tostringW in VarBstrFromCy.
It's the number of elements, not the number of bytes.
2008-08-18 17:34:12 +02:00
Rob Shearman
3261814e08 shell32: Don't assign a result from a function that returns a BOOL to an HRESULT in shellex_get_dataobj.
Otherwise there could be confusion as to what type GetFullPathNameW is
returning.
2008-08-18 17:34:12 +02:00
Rob Shearman
5dd6d798a4 urlmon: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman
9dd75ea093 shlwapi: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman
03a25b487f quartz: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman
e57697a04b oleaut32: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman
064b6fce0c ole32: Fix testing of HRESULT types with not operator instead of comparing against S_OK.
This makes it more obvious what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman
cda469c890 msi: Fix handle leak in ITERATE_SelfRegModules. 2008-08-18 17:34:12 +02:00
Rob Shearman
88a97daa71 msrle32: Fix uses of arithmetic operators on Boolean types in MSRLE32_CompressRLE4Line and MSRLE32_CompressRLE8Line.
The "extra_byte" variable is used as though it contains an integer
rather than a TRUE/FALSE value so make it into an integer.
2008-08-18 17:34:12 +02:00
Rob Shearman
6181419b64 comctl32: Fix use of arithmetic operator on Boolean type in TREEVIEW_ComputeItemInternalMetrics.
Use a conditional operator to get the same result, but improving
readability of the code.
2008-08-18 17:34:12 +02:00
Rob Shearman
602b58ba73 hhctl.ocx: Fix reference count leak in InPlace_OnPosRectChange.
Also compare the result of IOleObject_QueryInterface with S_OK instead
of using not operator so it is more clear what the code is doing.
2008-08-18 17:34:12 +02:00
Rob Shearman
24c5df3dc1 include: Remove superfluous semi-colons from wine/wined3d_gl.h. 2008-08-18 17:34:12 +02:00
Nikolay Sivov
169e87d879 gdiplus: Implemented GdipResetWorldTransform. 2008-08-18 17:27:59 +02:00
Nikolay Sivov
ef889d94a3 gdiplus: Implemented GdipPathIterNextSubpathPath with tests. 2008-08-18 17:27:16 +02:00
Nikolay Sivov
09950e3ab5 gdiplus: Implemented GdipPathIterIsValid with tests. 2008-08-18 17:27:06 +02:00
Jeff Latimer
b7e81d3e54 user32: Check for invalid conversation and return the correct error. 2008-08-18 17:26:46 +02:00
Jeff Latimer
544c1e5cd1 user32/tests: Add tests for for invalid DDE conditions. 2008-08-18 17:26:39 +02:00
Jeff Latimer
70ebae341d user32: DdeClientTransaction should check that pData is not NULL for XTYP_REQUEST. 2008-08-18 17:26:19 +02:00
Jeff Latimer
04a59014f8 user32: DdeQueryString returns a NULL str if there is no handle. 2008-08-18 17:26:01 +02:00