Alexandre Julliard
20b4585e3c
Only link against libdxguid where necessary.
2004-01-27 00:11:16 +00:00
Alexandre Julliard
d07c1004e3
Moved a few remaining 16-bit definitions out of the standard headers.
2004-01-23 22:51:41 +00:00
Ge van Geldorp
100e11309b
Fix various function prototypes to conform to PSDK.
2004-01-23 20:57:26 +00:00
Ge van Geldorp
399901e054
Rename LARGE_INTEGER and ULARGE_INTEGER members "s" to "u" to conform
...
with PSDK.
2004-01-23 01:51:33 +00:00
Ge van Geldorp
1d0598b0aa
Swap arguments of LocalAlloc and only update Malloc32 block on
...
successful allocation.
2004-01-19 23:42:34 +00:00
Mike McCormack
2cee7ac6d9
Don't use CreateFileMapping on a zero length file.
2004-01-19 21:44:02 +00:00
Francois Gouget
17112eaa4d
Assorted spelling fixes.
2004-01-16 21:26:08 +00:00
Huw Davies
49906feb23
Trace the high part of the Seek offset.
2004-01-16 21:22:41 +00:00
Francois Gouget
640cc3f3e1
Assorted spelling fixes.
2004-01-06 22:08:33 +00:00
Robert Shearman
8aef340cbd
- Fix IMemAlloc_Free when IMemAlloc_Alloc hasn't yet been called and
...
debugging is on.
- Fix OleMetafilePictFromIconAndLabel (fixes attachments in Outlook2k).
- Implement OleTranslateAccelerator.
- Move OleCreate and a load of PropVariant functions out of stubs file.
- Change OleCreate to a semi-stub.
2003-12-08 22:46:08 +00:00
Dimitrie O. Paun
3e54350dc2
{Global,Local}ReAlloc() does not allocate memory.
2003-11-26 05:04:15 +00:00
Dimitrie O. Paun
a1cee57ce9
Fix mem leak when GlobalReAlloc() fails.
2003-11-26 03:36:18 +00:00
Dimitrie O. Paun
d8aa853596
Fix the IMalloc::ReAlloc() to follow the documented behavior.
2003-11-26 03:34:51 +00:00
Alexandre Julliard
d004059538
Moved the 16-bit storage interfaces out of the exported headers.
2003-10-14 20:23:01 +00:00
Oleg Prokhorov
de12a97041
Another portion of HeapReAlloc fixes.
2003-10-14 05:24:20 +00:00
Dimitrie O. Paun
fbdfd910c1
Remove SYMBOLFILE and LDDLLFLAGS from Makefiles.
2003-10-11 01:09:15 +00:00
Alexandre Julliard
593dec5d66
Authors: Warren Baird <warren.baird@cimmetry.com>, Dave Belanger <dave.belanger@cimmetry.com>
...
Moved code out of assert statements so you can safely compile with
-DNDEBUG.
2003-10-08 19:08:23 +00:00
Daniel Marmier
0348649853
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-06 21:03:32 +00:00
Dimitrie O. Paun
54e6b0d938
Extract binary resources to files, to fit the standard.
2003-10-03 05:01:33 +00:00
Michael Stefaniuc
082e0bfe93
Fix missing mem freeing on error path.
2003-10-01 03:14:29 +00:00
Michael Stefaniuc
ab64e3f095
Fixes for memory leaks on error path.
...
One fix for use of previous released pointer.
2003-09-30 00:24:08 +00:00
Dimitrie O. Paun
8b255842ec
Remove the obsolete pascal16 (replaced by pascal -ret16).
2003-09-26 04:32:19 +00:00
Mike McCormack
ac57fc20b6
Change erroneous malloc to HeapAlloc.
2003-09-22 19:46:13 +00:00
Dave Miller
47fb938d54
Removed ordinals from comments.
2003-09-11 03:06:25 +00:00
Dave Miller
13e05147bc
Remove all the ordinals and use @ instead.
2003-09-11 03:05:00 +00:00
Alexandre Julliard
20c169e0a4
Fixed a few more headers dependency issues.
2003-09-09 19:39:31 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Alexandre Julliard
d6bffb2c45
Regenerated with the latest widl.
2003-09-06 02:25:53 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard
802ebc1168
Converted oleidl.h to IDL.
2003-09-03 20:17:39 +00:00
Rolf Kalbermatter
919bd7855f
Make sure the passed in object pointer is only addrefed on success.
2003-08-29 22:10:01 +00:00
Alexandre Julliard
7df1b9e03a
Start using the exported TEB structure from winternl.h where
...
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard
02f2813968
Renamed a few TEB fields to use the "official" names.
2003-08-27 23:14:29 +00:00
Mike Hearn
266e19ebc0
In the global interface table:
...
- Print warnings when things go wrong.
- Alter the way we do refcounting.
- Don't release the stream on retrieval, just rewind it instead.
- Implement thread safety.
2003-08-23 00:45:49 +00:00
Jon Griffiths
ad86c25a8a
Remove redundant wine specific #include.
2003-08-18 19:48:38 +00:00
Alexandre Julliard
19b6a49845
Allocate DebugInfo field for all critical sections (based on a patch
...
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Patrik Stridvall
ba78aac406
Fixed some issues found by winapi_check.
2003-08-08 21:07:23 +00:00
Alexandre Julliard
20698b22df
Make the DllRegisterServer, DllRegisterServerEx, DllUnregisterServer,
...
DllGetClassObject and DllCanUnloadNow functions private (suggested by
Jon Griffiths).
2003-07-30 03:48:55 +00:00
Mike Hearn
6a8ac17c64
- GIT should not dereference ppv when unmarshalling interface.
...
- Correctly eliminate refcounting in the GIT.
- Add warning when given riid does not match.
2003-07-22 01:01:25 +00:00
Mike Hearn
cb7db104dd
IMallocSpy cannot cause an allocation failure when cb == 0.
2003-07-22 01:01:06 +00:00
Mike McCormack
97ac282fa7
Created stub for CreateClassMoniker.
2003-07-18 22:59:58 +00:00
Jon Griffiths
839131f600
Remove FIXMEs and prototypes for now-implemented functions.
2003-07-18 22:54:01 +00:00
Steven Edwards
32d27dc77b
- Create new file ole2_16.c for ole2 16bit only functions.
...
- Move CLSIDFromProgID16 so it can be used internally.
- Compile out more Win16 sources.
2003-07-09 19:49:12 +00:00
Francois Gouget
56aaea2f43
Spelling fixes.
2003-07-09 02:52:57 +00:00
Francois Gouget
14a5d168e9
Fixed some common spelling errors.
2003-07-02 04:37:26 +00:00
Dmitry Timoshkov
4e1ef0c114
For all DLLs with defined DllMain and which do not require
...
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Troy Rollo
72659c998f
Implemented OleDraw.
2003-06-27 04:03:40 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Francois Gouget
c5f775a9c7
Typos/spelling fixes.
2003-06-18 03:30:39 +00:00
Mike Hearn
739ccae798
Implement a class factory for the Global Interface Table.
2003-06-17 03:57:18 +00:00
Ove Kaaven
ef57c4d905
Preliminary support for COM apartments.
2003-06-04 20:11:34 +00:00
Ove Kaaven
95f7c6c8d9
DCOM IDL file based on the DCOM specification.
2003-05-22 03:36:26 +00:00
Mike McCormack
1048ebb37e
Semi-correct implementation of OleMetafilePictFromIconAndLabel.
2003-05-19 18:50:36 +00:00
Steven Edwards
6c5e872240
Separate Win16 and Win32 implementations in memlockbytes.
2003-05-15 22:55:37 +00:00
Mike McCormack
cf983e9a7f
Added stub for OleDoAutoConvert.
2003-05-13 22:14:30 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Robert Shearman
98747abd75
- Implement a few more cases in PropVariantClear.
...
- Partially implement PropVariantCopy.
- Implement FreePropVariantArray.
2003-05-13 00:32:43 +00:00
Mike McCormack
936d1059e2
Implemented WriteFmtUserTypeStg and ReadFmtUserTypeStg.
2003-05-11 02:40:29 +00:00
Andreas Mohr
51c38cc729
Fix blatantly wrong SetFilePointer() calls.
2003-04-14 21:33:49 +00:00
Alexandre Julliard
2d5519f15c
The com_interface attribute is not needed on derived classes.
...
Removed the ICOM_CTHIS* macros.
2003-04-12 00:09:14 +00:00
Alexandre Julliard
aae3cb61cd
Simplified COM interface declarations, removing the need to define
...
both an xxx_METHODS and an xxx_IMETHODS macro.
2003-04-11 00:31:02 +00:00
Alexandre Julliard
c2ebe1ff93
Removed uses of the non standard ICOM_VTBL macro.
2003-04-10 18:17:34 +00:00
Alexandre Julliard
f00c46f030
Use a more compatible technique to declare COM interfaces methods,
...
using Microsoft's STDMETHOD macros instead of the Wine-specific
ICOM_METHOD ones.
2003-04-10 00:19:24 +00:00
Alberto Massari
fc47be5735
- The bindcontext object was leaking strings.
...
- Removed unused variable.
2003-04-05 05:10:37 +00:00
John K. Hohm
bbc25aaa11
Implement DllRegisterServer and DllUnregisterServer for ole32.dll, and
...
add OleSelfRegister version string.
2003-03-28 19:33:04 +00:00
Alexandre Julliard
e048adab83
List 16-bit spec files explicitly to avoid problems with some versions
...
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Mike Hearn
f181303246
Fixed copyright date.
2003-03-20 01:31:16 +00:00
Alexandre Julliard
a9c51cb60b
Replaced forwards by normal function declarations.
2003-03-17 00:17:00 +00:00
Mike Hearn
cb816d2c3f
Implemented the global interface table object using a simple linked
...
list.
2003-03-11 01:45:38 +00:00
Dan Kegel
743af54541
Roll loop back up to avoid code duplication.
2003-02-14 23:30:50 +00:00
Michael Stefaniuc
3dcd451bf6
Remove dead code after return or properly comment it out.
2003-02-12 01:23:17 +00:00
Juergen Schmied
34f89b23c6
Fix DoDragDrop in case of child windows.
2003-01-28 01:06:20 +00:00
Gerald Pfeifer
9e40570812
Avoid compiler warning in STORAGE_get_free_pps_entry().
2003-01-28 00:24:23 +00:00
Francois Gouget
9b0b1e078a
Remove (POINTER)NULL casts.
2003-01-14 23:43:41 +00:00
Alberto Massari
04ee55e994
- Align the cleanup phase of ReleaseStgMedium to the native API.
...
- When the data is a bitmap or an enhanced metafile, use the correct
data member.
2003-01-14 19:32:14 +00:00
Robert Shearman
37d9b486f9
Support a few trivial cases in PropVariantClear.
2003-01-13 20:37:39 +00:00
Marcus Meissner
27627d977e
Implemented CoGetTreatAsClass.
2003-01-11 20:58:10 +00:00
Dimitrie O. Paun
297f3d898d
Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them.
2003-01-07 20:36:20 +00:00
Dimitrie O. Paun
f53ddb2618
Stubs for DllGetClassObject, Ole[GS]etClipboard in ole2.
2003-01-07 19:42:43 +00:00
Marcus Meissner
274e72672b
ole2nls.c is a 16bit only.
...
No need to define ICOM macros for 16bit iface IMalloc16.
Define and implement HGLOBAL_LockBytes16.
Started on StgOpenStorageOnILockBytes.
2003-01-05 01:04:34 +00:00
Dimitrie O. Paun
cef5961d2b
Eliminate lots of __WINE__ conditionals from the headers.
2003-01-03 19:12:55 +00:00
Alberto Massari
bb7e49a4e2
IBindCtx::RegisterObjectParam is supposed to replace the old value if
...
the key is already registered.
2003-01-02 17:51:34 +00:00
Alexandre Julliard
d2c034a8dc
Removed some remaining references to wine/obj_base.h.
2002-12-23 01:39:35 +00:00
Alexandre Julliard
87fa2d586d
Fixed a few problems caused by the new objidl.idl.
2002-12-19 22:16:35 +00:00
Ove Kaaven
a93a5e9ce0
Moved some definitions from include/wine/obj_moniker.h to
...
dlls/ole32/moniker.h.
2002-12-19 01:09:40 +00:00
Ove Kaaven
dcb9240a92
Removed a few more inclusions of deprecated wine/obj_*.h headers.
2002-12-18 20:48:05 +00:00
Alexandre Julliard
dbf8b78acd
Added .spec.def files.
2002-12-12 22:04:04 +00:00
Robert Shearman
26781acb87
Implemented BindMoniker function.
2002-12-12 02:17:39 +00:00
Ove Kaaven
1f5315c80f
Make sure that no files except unknwn.h include wine/obj_base.h
...
directly.
2002-12-05 20:33:07 +00:00
Francois Gouget
d2667a4ce3
Removed unnecessary HANDLE typecasts.
2002-12-02 18:10:57 +00:00
Alexandre Julliard
8710a79d54
Compile ole32 with -DSTRICT.
2002-11-22 04:43:02 +00:00
Ryan Cumming
42867265ca
- Move StgIsStorageFile16's implementation to StgIsStorageFile; port
...
it to Win32.
- Move StgIsStorageFile from storage.c to storage32.c.
- StgIsStorageFile only returns S_OK, STG_E_FILENOTFOUND, and S_FALSE.
- StgIsStorageFile doesn't check if a file is large enough to be a
storage file, it only checks for the presence of the 8-byte magic.
2002-11-18 19:43:58 +00:00
Alberto Massari
544efc84f1
Implemented body of HGLOBALStreamImpl::Clone.
2002-11-12 02:13:49 +00:00
Alexandre Julliard
1e1313d54c
Made the dll entry point default to DllMain and removed most of the
...
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Marcus Meissner
8712174c0d
Handle errors in std marshaller better, do not crash.
...
Added another error message if some program tries to marshal
IOleObject.
OleCreate() should be able to use Local Servers too (it can't as of
now, just for debugging).
2002-11-04 22:38:26 +00:00
Alexandre Julliard
23bb3715f7
Added support for building certain dlls with -DSTRICT.
...
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard
9a8de13d77
Split out some 16-bit GDI code.
2002-10-18 04:06:47 +00:00
Alexandre Julliard
0ca051e555
Fixed wownt32.h to make it usable from inside Wine, and use it to
...
avoid some duplication of the handle conversion macros.
2002-10-17 16:43:42 +00:00
Michael Stefaniuc
bc54d78532
- change the internal functions in windows/cursoricon.c to use 32bit
...
handles
- move the implementation of ExtractAssociatedIcon16 to
ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
doing the above
2002-10-10 21:22:09 +00:00