Commit Graph

1488 Commits

Author SHA1 Message Date
Huw Davies fc78f552a0 ole32: AddRef does not return an HRESULT. Have the constructor create the object with one reference. 2009-03-30 16:42:12 +02:00
Huw Davies 25f1b058a8 ole32: Change the enum formatetc constructor to return HRESULT. 2009-03-30 16:42:08 +02:00
Huw Davies 1cc023c53a ole32: Don't hold a reference on the parent IDataObject. 2009-03-30 16:42:03 +02:00
Huw Davies 1213964330 ole32: Rename a variable. 2009-03-30 16:41:56 +02:00
Huw Davies d93688a721 ole32: Use a helper function to access the enum format implementation. 2009-03-30 16:41:51 +02:00
Huw Davies 690202440e ole32: Set the 'Ole Private Data' clipboard format. 2009-03-26 16:11:24 +01:00
Huw Davies b7a2e83ddb ole32: OleFlushClipboard shouldn't call EmptyClipboard. 2009-03-26 16:11:21 +01:00
Huw Davies b75caee2ab ole32/tests: Tests for the 'Ole Private Data' clipboard format. 2009-03-25 15:43:36 +01:00
Huw Davies 3383db6107 ole32: Move the code to set the clipboard formats to a separate function. 2009-03-25 15:43:27 +01:00
Huw Davies ef4b6b8749 ole32: Store the ole clipboard window's HWND in the DataObject clipboard format. 2009-03-23 15:52:18 +01:00
Huw Davies e77ab142e4 ole32: Register DataObject clipboard format. 2009-03-23 15:52:18 +01:00
Huw Davies c0fbbe7d91 ole32: Use IsEqualIID rather than memcmp. 2009-03-23 15:52:18 +01:00
Huw Davies 319d0ddca6 ole32: Simplify QueryInterface. 2009-03-23 15:52:18 +01:00
Huw Davies d72181381e ole32: pFmt isn't exposed to the client, so simplify its allocation. 2009-03-23 15:52:18 +01:00
Huw Davies 8beb83866f ole32: Rearrange functions to eliminate forward declarations. 2009-03-23 15:52:18 +01:00
Huw Davies 96bd8c5a7d ole32: Add a helper function to retrieve the implementation ptr. 2009-03-23 15:52:18 +01:00
Huw Davies e7ffa2aeb5 ole32: Don't allocate the ole clipboard object in global memory - we're not going to directly expose it to other processes. 2009-03-23 15:52:18 +01:00
Huw Davies e6eeb3aa17 ole32: Remove unused static variable. 2009-03-23 15:52:18 +01:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Alexandre Julliard 7b6dd2c9f8 ole32: Get rid of WINE_StringFromCLSID and A->W conversions. 2009-03-12 13:09:52 +01:00
Alexandre Julliard 6b40f64e18 ole32: Make compobj.dll into a stand-alone 16-bit module. 2009-03-12 13:09:31 +01:00
Alexandre Julliard 2e1b309fba ole32: Make ole2.dll into a stand-alone 16-bit module. 2009-03-11 17:05:20 +01:00
Alexandre Julliard f7fe2edadd ole32: Make storage.dll into a stand-alone 16-bit module. 2009-03-11 17:03:10 +01:00
Alexandre Julliard 7511d67447 ole32: Make ole2nls.dll into a stand-alone 16-bit module. 2009-03-11 16:53:06 +01:00
Alexandre Julliard dc81065d44 ole32: Make ole2thk.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard b4bbe0c4a0 ole32: Make ole2prox.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Alexandre Julliard ea6382623e ole32: Make ole2conv.dll into a stand-alone 16-bit module. 2009-03-11 16:51:09 +01:00
Rob Shearman d974922698 ole32: Fix a memory leak in an error path in COMPOBJ_DllList_Add. 2009-03-09 12:04:35 +01:00
Paul Vriens e31df3616a ole32/tests: Remove an unused function declaration. 2009-03-06 15:39:30 +01:00
Huw Davies 561df2f1c6 ole32: Add support for VT_DECIMAL. 2009-03-06 15:39:02 +01:00
Huw Davies 5e0d4c774c ole32/tests: win9x and winnt don't include the trailing '\0'. 2009-02-26 15:13:26 +01:00
Alexandre Julliard b55f6dfed5 ole32/tests: Don't hang forever in the child process. 2009-02-17 14:58:45 +01:00
Rob Shearman 2803516d26 ole32: Round the extected size in the marshal and moniker tests using the results of sizing a global, not a heap pointer.
The rounding isn't the same on Win9x, and the size being compared to
is that of a global handle.
2009-02-17 12:47:53 +01:00
Rein Klazes 788add572b ole32: In PropVariantCopy() fix calculation size of array that contain pointers, not characters. 2009-02-16 15:35:15 +01:00
Michael Stefaniuc 0449701c31 ole32: Remove superfluous pointer casts. 2009-02-11 12:29:56 +01:00
Rob Shearman ad880ba057 ole32: Fix a test failure in the moniker tests on Win9x.
Also fix a crash in running the tests on Win95.
2009-02-11 11:42:21 +01:00
Rob Shearman 1e8ae571f5 ole32: Fix some test failures in the free threaded marshaller tests on Win9x & NT4.
These platforms only write 8 bytes into the stream so cope appropriately.
2009-02-11 11:42:17 +01:00
Michael Stefaniuc a90828aa60 ole32: Use GetWindowLongPtr/SetWindowLongPtr for pointers. 2009-02-10 12:33:00 +01:00
Rob Shearman b859d2052b ole32: Allow some optional methods to be called in the OleCreate tests.
Fixes failures in these tests on NT4.
2009-02-09 14:03:09 +01:00
Rob Shearman d26250fd08 ole32: Add framework in the ole2 tests for having optionally called methods. 2009-02-09 14:03:03 +01:00
Rob Shearman db851a1d2a ole32: Output the size that we didn't expect in the HGLOBAL marshalling tests. 2009-02-09 14:02:29 +01:00
Rob Shearman f2b17029aa ole32: Fix some test failures in the HGLOBAL marshalling tests on 64-bit Windows. 2009-02-09 13:58:07 +01:00
Rob Shearman 2eca96af67 ole32: Fix CLIPFORMAT marshalling on 64-bit platforms by not using the wireCLIPFORMAT type.
The wireCLIPFORMAT represents the memory equivalent format of the wire
format and not the wire format itself.

Also update the tests to do the same.
2009-02-09 13:58:04 +01:00
Rob Shearman 40660894c8 ole32: Fix an ole2 test failure on Win9x and NT4.
The combination of CF_BITMAP and TYMED_GLOBAL isn't accepted on newer
versions of Windows, so mark it as broken.
2009-02-06 13:03:16 +01:00
Andrew Talbot 772a9b3540 ole32: Remove superfluous shadow variables. 2009-02-03 12:39:35 +01:00
Rob Shearman 712e33e669 ole32: Initialise more of the context passed into user marshaling functions in the tests for these functions. 2009-02-02 11:55:29 +01:00
Rob Shearman d3085abc08 Change parameter type from size_t to SIZE_T for MIDL_user_allocate. 2009-02-02 11:55:21 +01:00
Ge van Geldorp 4b27dfec93 ole32/tests: Write to HKCR instead of HKCU/Software/Classes for the benefit of older Windows versions. 2009-01-29 15:59:39 +01:00
Rob Shearman 0025bdf607 ole32: Fix a missing CoUninitialize in test_CoFreeUnusedLibraries. 2009-01-28 14:15:48 +01:00
Rob Shearman 9353dff5b3 ole32: Fix some tests that fail on NT4 and Win9x.
Round the expected sizes up to the alignment used by HeapSize, which
is 4 on Win9x and NT4 but 1 in more recent versions.

Additionally fix an IGlobalInterfaceTable test which erroneously
succeeds on these older OSs.
2009-01-28 14:15:42 +01:00