Commit Graph

30 Commits

Author SHA1 Message Date
Rob Shearman
f91d3bbeb1 ole32: Include ole2.h in ole32_main.c to type-check the function signature of OleMetafilePictFromIconAndLabel. 2008-06-23 12:48:31 +02:00
Bang Jun-young
9f3b5ae89c ole32: Include wine/port.h for snprintf(). 2007-10-17 13:44:05 +02:00
Andrew Talbot
4ea954df42 ole32: Exclude unused headers. 2007-05-16 11:55:51 +02:00
Rob Shearman
3b87fe97df ole32: Set the mapping mode to anisotropic in OleMetafilePictFromIconAndLabel. 2006-12-04 12:22:09 +01:00
Rob Shearman
d7d3309e0a ole32: The width of the metafile drawn should be 3 times the icon width in OleMetafilePictFromIconAndLabel. 2006-12-04 12:22:03 +01:00
Rob Shearman
cdb86c6c90 ole32: Fill in the xExt and yExt fields in OleMetafilePictFromIconAndLabel. 2006-12-04 12:21:55 +01:00
Rob Shearman
2fa7cadf07 ole32: Use the default icon title font when writing the caption text out in OleMetafilePictFromIconAndLabel. 2006-12-04 12:21:48 +01:00
Rob Shearman
f0e2ea54e0 ole32: The METAFILEPICT created by OleMetafilePictFromIconAndLabel should have its mapping mode be anisotropic, not isotropic. 2006-12-04 12:21:38 +01:00
Rob Shearman
09376ea1f5 ole32: Call SetWindowOrgEx and SetWindowExtEx in OleMetafilePictFromIconAndLabel so that the created metafile scales correctly.
Centre the icon and the label.
2006-12-04 12:21:31 +01:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Marcus Meissner
f3d99b2697 Move the Dll init function to compobj.c to avoid having global
variables. Remove need of ole32_main.h.
2005-05-16 14:12:53 +00:00
Robert Shearman
f8a2edb805 - Split up apartment creation so that the long code paths that don't
need locking no longer have locking.
- Add special cases for the threads that join apartments but can't
  increase the refcount of the apartment.
- Free TLS storage on thread destruction (including releasing the
  apartment the thread is in, if any, and so making another test
  pass).
2005-02-08 13:42:15 +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
Dave Miller
47fb938d54 Removed ordinals from comments. 2003-09-11 03:06:25 +00:00
Francois Gouget
ae50013017 Fix the case of product and company names. 2003-09-08 19:38:45 +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
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
Mike McCormack
1048ebb37e Semi-correct implementation of OleMetafilePictFromIconAndLabel. 2003-05-19 18:50:36 +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
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
Alexandre Julliard
8710a79d54 Compile ole32 with -DSTRICT. 2002-11-22 04:43:02 +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
Juergen Schmied
c1f9d386eb - Implemented IMallocSpy hooks in IMalloc.
- Moved memory related functions into ifs.c.
- Implemented stubs for the MallocSpy.
2002-07-29 23:30:20 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Hidenori Takeshima
aad36bcd59 Synchronize access to the s_COMLockCount, firstRegisteredClass,
openDllList in compobj.
2001-09-11 00:26:12 +00:00
Patrik Stridvall
3ca9823941 Documentation ordinal fixes. 2001-06-20 23:03:14 +00:00
Alexandre Julliard
0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
Patrik Stridvall
be0d06541a Fixed some issues found by winapi_check. 2000-11-26 04:03:10 +00:00
Marcus Meissner
7521295fba Added OLE32.DllRegisterServer stub. 2000-11-25 01:22:42 +00:00
Huw D M Davies
96569102d9 Added DnD cursors as ole32 resources. 2000-11-05 20:16:15 +00:00