Commit Graph

66874 Commits

Author SHA1 Message Date
Justin Chevrier 94820ff0a4 gdiplus/tests: Expand GdipImageGetFrameCount test coverage. 2010-03-16 12:29:09 +01:00
Michael Stefaniuc 0bbce793c3 iphlpapi: Don't crash when enumerating PtP interfaces. 2010-03-16 11:49:27 +01:00
Piotr Caban 914472ab81 oleaut32: Set parameter to NULL in GetMops stub. 2010-03-16 11:48:55 +01:00
Piotr Caban 2184674779 oleaut32: Improve ICreateTypeInfo_LayOut implementation. 2010-03-16 11:48:51 +01:00
Piotr Caban aecd956b7e oleaut32: Improved ICreateTypeInfo AddFuncDesc implementation. 2010-03-16 11:48:48 +01:00
Piotr Caban d2f24ed885 oleaut32: Use QueryPathOfRegTypeLib in ICreateTypeInfo2_AddRefTypeInfo. 2010-03-16 11:48:38 +01:00
Piotr Caban d62534d199 oleaut32: Remove incorrect memid validation.
This code was trying to block negative values of memid (incorrectly).
I have run more tests and found that it's possible to set some negative
values (e.g. on TKIND_INTERFACE: -1, -4..-8, -500..?). Unless we know
what values are allowed it's probably better to not check memid.
2010-03-16 11:48:32 +01:00
Piotr Caban b7c50c7dbf oleaut32: Fix importinfo flags. 2010-03-16 11:48:26 +01:00
Piotr Caban e119aceb7c oleaut32: Fix some reference leaks. 2010-03-16 11:48:22 +01:00
Piotr Caban 3c747fec50 oleaut32: Added ICreateTypeInfo2_SetFuncHelpContext implementation. 2010-03-16 11:48:16 +01:00
Piotr Caban eb15921ff5 oleaut32: Improve dual interfaces creation in typelib. 2010-03-16 11:48:10 +01:00
Piotr Caban d9fd33e3a9 oleaut32: Improve TypeInfos with changed TypeKind handling. 2010-03-16 11:48:04 +01:00
Piotr Caban 6b035d25a8 oleaut32: Simplify ICreateTypeInfo2_SetTypeFlags implementation. 2010-03-16 11:47:58 +01:00
Henri Verbeet 78166b0b23 wined3d: Implement SetDestWindowOverride() by simply making the context current on a different window. 2010-03-16 11:45:15 +01:00
Henri Verbeet cd9a8b74b9 wined3d: Store the device window in the swapchain.
The swapchain's current window might be changed by SetDestWindowOverride().
2010-03-16 11:45:11 +01:00
Henri Verbeet aa819fe888 wined3d: Simplify a comparison in IWineD3DDeviceImpl_Reset(). 2010-03-16 11:45:06 +01:00
Henri Verbeet d6bbe90b85 wined3d: The swapchain should always have a window handle. 2010-03-16 11:45:01 +01:00
Henri Verbeet 0ae49c35fb wined3d: Use the context's window handle in IWineD3DSurfaceImpl_BltOverride(). 2010-03-16 11:44:55 +01:00
Henri Verbeet 7b0b16fafe wined3d: Use the context's window handle in stretch_rect_fbo(). 2010-03-16 11:44:50 +01:00
Henri Verbeet 18ec2525a4 wined3d: Store the swapchain instead of the surface in the context. 2010-03-16 11:44:44 +01:00
Henri Verbeet b281f23efe wined3d: Add a separate function to set the pixel format in context_create(). 2010-03-16 11:44:38 +01:00
Henri Verbeet 4133a0a4ff wined3d: Use "gl_info" in some more places in context_create(). 2010-03-16 11:44:32 +01:00
Rob Shearman 088c0857c9 rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers. 2010-03-16 11:42:09 +01:00
Rob Shearman eb4100e91c widl: Remove a FIXME comment in write_function_stubs.
Clean valgrind runs of tested types and comparison with MIDL-generated
code suggests that the existing code written in the finally block for
client code is sufficient.
2010-03-16 11:41:30 +01:00
Rob Shearman fd96c54641 widl: Simplify write_parameter_conf_or_var_exprs by making use of typegen_detect_type.
Remove the difficult manual walking of the alias tree and make the
code easier to read and less likely to break if a new type is added.
2010-03-16 11:41:21 +01:00
Rob Shearman 82ab9443b8 widl: Clean up array case in write_remoting_arg.
Use a switch statement instead of multiple if statements and
explicitly write out the fixed array cases.
2010-03-16 11:41:14 +01:00
Rob Shearman 0e6ad1fa85 widl: Remove some FIXME comments and replace them with comments explaining why the current behaviour is correct. 2010-03-16 11:40:20 +01:00
Rob Shearman 9aad144755 widl: Fix the writing of expressions in un-typedef'd structures by using write_type_left to write out the type, which adds the "struct ..." if necessary.
Also improve the type comparison code to not crash on unnamed
structures (although further changes need to be made to fix the output
in this case) and make it more efficient by first doing a comparison
on the values of the type pointers.
2010-03-16 11:40:10 +01:00
Rob Shearman df853f8ed2 widl: error_status_t isn't an allowed conformance type.
The FC code requires more than 4 bits to represent it and the
correlation descriptor and union formats only allow 4 bits to
represent the type referred to.
2010-03-16 11:36:41 +01:00
Rob Shearman 5b533c1845 widl: Pass current_structure into write_conf_or_var_desc in write_ip_tfs.
This allows write_conf_or_var_desc to have the context enabling it to
write out an appropriate correlation descriptor when iid_is is used
from within a structure.
2010-03-16 11:36:36 +01:00
Rob Shearman 1d1d49b6ab widl: Use typegen_detect_type to determine which types should be written for the pointer description in write_struct_tfs.
Otherwise extra pointers for user types could be written.
2010-03-16 11:36:12 +01:00
Rob Shearman 06e7eb5c98 widl: Merge write_typeformatstring_var and write_embedded_types into one function, write_type_tfs. 2010-03-16 11:36:05 +01:00
Rob Shearman 2fd6be54be widl: Don't use the return value of write_embedded_types to determine whether a type contains pointers or not.
It isn't correct in all situations, so type_has_pointer has to be used
anyway so using the return value of write_embedded_types just clutters
the code.
2010-03-16 11:35:36 +01:00
Rob Shearman 484fe1cff3 widl: Write pointers in write_typeformatstring_var using write_pointer_tfs.
Avoid duplicating the pointer writing code.
2010-03-16 11:33:12 +01:00
Rob Shearman 7a69fcabac widl: Simplify write_typeformatstring_var.
The check for whether a pointer is the last one is redundant since
typegen_detect_type does a stricter check on the ref type. Replace one
other instance of last_ptr with a more readable equivalent.
2010-03-16 11:33:04 +01:00
Rob Shearman 08126d7483 widl: Make write_pointer_tfs more readable.
Change write_pointer_tfs to rely on the detected type of the type to
determine when to write a simple pointer rather than relying on
typestring_offset not being set anywhere else.
2010-03-16 11:32:58 +01:00
Rob Shearman 5d985a8028 widl: Remove some unused functions, definitions and types. 2010-03-16 11:32:53 +01:00
Juan Lang 51ab77a90a crypt32: Add support for the anyPolicy certificate policy. 2010-03-16 11:30:12 +01:00
Juan Lang ffba84b161 crypt32: Switch to use the AES provider by default. 2010-03-16 11:29:53 +01:00
Juan Lang a729e10a18 crypt32: Add constants to support SHA-256, SHA-384, and SHA-512. 2010-03-16 11:29:48 +01:00
Juan Lang 89b8adb262 rsaenh: Add signature support for SHA-256, SHA-384, and SHA-512 hashes. 2010-03-16 11:29:40 +01:00
Juan Lang 311d839dec rsaenh: Add support for SHA-256, SHA-384, and SHA-512. 2010-03-16 11:29:32 +01:00
Maarten Lankhorst 693c991626 mmdevapi: Pass a property bag to IBaseFilter in IMMDevice::Activate. 2010-03-15 17:47:01 +01:00
Maarten Lankhorst 55b48ff662 mmdevapi: Implement IMMDeviceEnumerator::GetDevice. 2010-03-15 17:46:54 +01:00
Maarten Lankhorst d53dc08ec5 mmdevapi: Implement MMDeviceCollection methods. 2010-03-15 17:46:50 +01:00
Maarten Lankhorst 9371fd5f95 mmdevapi: Implement some methods in IMMDevice. 2010-03-15 17:46:45 +01:00
Maarten Lankhorst 99f3ee3804 mmdevapi: Add IMMEndpoint to IMMDevice. 2010-03-15 17:46:38 +01:00
Maarten Lankhorst 90c30b3ad1 mmdevapi: Implement property store. 2010-03-15 17:46:25 +01:00
Detlef Riekenberg c8195ebdb9 msvcr90: Add msvcr90.dll with forwards to msvcrt.dll. 2010-03-15 17:25:41 +01:00
Detlef Riekenberg a949a700d2 msvcr80: Add msvcr80.dll with forwards to msvcrt.dll. 2010-03-15 17:24:47 +01:00