mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 20:18:28 +00:00
829fe323e4
Sat Jul 25 19:45:45 1998 Juergen Schmied <juergen.schmied@metronet.de> * [include/shlobj.h][misc/shell.c][misc/shellord.c][ole/folders.c] [shell32.spec] Added SHFILEOPSTRUCT32[A|W] and constants, prototypes. Implemented SHGetSpecialFolderLocation, SHGetPathFromIDList32[A]. Many IShellFolder, pidl, shell -related changes. SHChangeNotifyRegister, SHChangeNotifyDeregister, SHShellFolderView_Message, SHMapPIDLToSystemImageListIndex, SHAddToRecentDocs32, SHFileOperation, SHChangeNotify, SHCreateShellFolderViewEx stubs. Sat Jul 25 17:16:25 1998 Huw D M Davies <daviesh@abacus.physics.ox.ac.uk> * [files/profile.c] Fix return value of PROFILE_GetSection(). Fri Jul 24 22:45:19 1998 Ove Kaaven <ovek@isflak.arcticnet.no> * [controls/edit.c] Killed the modified flag on WM_SETTEXT. Eudora should no longer bother asking whether you want to save an unchanged message. Fri Jul 24 21:21:35 1998 Andreas Mohr <100.30936@germany.net> * [controls/menu.c] Fixed bug in GetMenuState32. Doesn't fix Free Agent 32 :(( * [documentation/debugging] Hints added. * [files/dos_fs.c] [include/msdos.h] [msdos/int21.c] Enhanced DOS device support. * [if1632/Makefile.in] [if1632/builtin.c] [if1632/rasapi16.spec] [relay32/Makefile.in] [relay32/builtin32.c] [relay32/rasapi32.spec] Added RASAPI16/32.DLL. * [misc/aspi.c] [relay32/wnaspi32.spec] Implemented GetASPI32SupportInfo. * [multimedia/mmsystem.c] Implemented mmTaskCreate. Fri Jul 24 20:55:31 1998 Eric Kohl <ekohl@abo.rhein-zeitung.de> * [controls/toolbar.c] Fixed some bugs and added new features. * [controls/tooltips.c][include/tooltips.h] Added more messages and started display code. * [misc/shell.c][misc/shellord.c][relay32/shell.spec] Fixed StrToOleStrN (SHELL32_79) and added OleStrToStrN (SHELL32_78). Added some new stubs. * [objects/cursoricon.c][misc/imagelist.c][include/windows.h] Fixed GetIconInfo and removed the GetIconInfo hack from the image list code. * [controls/pager.c][include/pager.h][controls/treeview.c] [include/treeview.h] Added some messages. * [misc/tweak.c][winows/nonclient.c][documentation/win95look] Removed unused tweak variables. * [documentation/common_controls] Updated. Fri Jul 24 18:36:32 1998 James Moody <013263m@dragon.acadiau.ca> * [objects/font.c] Fixed a bug in GetTextFace. Fri Jul 24 17:09:33 1998 Marcus Meissner <marcus@jet.franken.de> * [misc/commdlg.c] Fixed stacksmashing bug due to invalid specified function pointers. * [files/dos_fs.c] Small change in case handling... be able to create files with uppercase in them (like Program Files/). * [graphics/ddraw.c] XF86DGA support made threadsafe, added more Xlib dependent stuff (create Window using CreateWindow(), draw into it). xlib support is not satisfying. * [scheduler/critsection.c] Don't recurse on HeapLock with semaphore id 0. * [win32/user32.c][windows/message.c][windows/event.c] Moved win32 *Message functions where they belong. Removed some potential races between XPending and XNextEvent by a bit more locking. Fri Jul 24 13:58:19 1998 Alexandre Julliard <julliard@lrc.epfl.ch> * [loader/pe_image.c] [loader/ne/segment.c] Use bogus pointer value instead of NULL for unresolved externals. * [memory/selector.c] Clear saved_fs on selector free. * [msdos/cdrom.c] [configure.in] Added check for linux/ucdrom.h. * [scheduler/client.c] [server/socket.c] Fix for missing struct cmsghdr. Attempt to support msg_accrights fd passing (completely untested). * [windows/event.c] Do not grab the pointer in SetCapture (Win32 behavior). Tue Jul 21 22:28:13 1998 James Juran <jrj120@psu.edu> * [Make.rules.in] Changed $(MKDIR) macro to use -p option (make parent directories if they don't already exist. This fixes an error in 'make install' if /usr/local/include doesn't already exist. Tue Jul 21 13:37:04 Rein Klazes <rklazes@casema.net> * [include/heap.h] Replaced macro SEGPTR_GET by inline function to avoid *lots* of wrong use of this macro. * [relay32/comdlg32.spec] Corrected GetSaveFileNameW entry. * [relay32/advapi32.spec] [win32/advapi.c] [relay32/ole32.spec] [ ole/moniker.c] Added stubs for SetFileSecurity[AW] and CreateFileMoniker32 * [graphics/x11drv/graphics.c] Finished implementation of bezier drawing code. Tue Jul 21 11:00:51 1998 Claus Fischer <cfischer@td2cad.intel.com> * [files/drive.c] Remove label trailing blanks in GetVolumeInformation32A. * [documentation/cdrom-labels] Added documentation on how to find out a CD-ROM label. Sun Jul 19 23:16:41 1998 Pascal Cuoq <pcuoq@ens-lyon.fr> * [include/windows.h] Added some DM_* and DISP_CHANGE_* flags. * [relay32/user32.spec] [windows/user.c] Added stub for ChangeDisplaySettingA. * [ole/ole2nls.c] is_punctuation: reuse information from another table. Sun Jul 19 22:04:46 1998 Douglas Ridgway <ridgway@winehq.com> * [Make.rules.in] Updated automatic documentation rules. * [graphics/path.c] [misc/aspi.c] [misc/ntdll.c] [misc/winsock_dns.c] [ole/ole2dsp.c] [relay32/user32.spec] Comment format futzing to keep c2man happy. * [documentation/README.documentation] Updated description of automatic documentation. Wed Jul 15 19:10:09 1998 Andrew M. Bishop <amb@gedanken.demon.co.uk> * [files/profile.c] Cache the 10 most recently used .ini files. Tue May 20 19:20:23 1997 Pablo Saratxaga <srtxg@chanae.alphanet.ch> * [misc/commdlg.c] Makes PrintDlg32A() return TRUE even if it is an empty stub, so most programs are happy and run anyway instead of aborting at startup. * [graphics/x11drv/xfont.c] Increased the maximum font families as (X11) font aliases eated up a lot of families causing wine to stop reading fonts.
360 lines
9.2 KiB
C
360 lines
9.2 KiB
C
/*
|
|
* Thread safe wrappers around Xutil calls.
|
|
* This file was generated automatically by tools/make_X11wrappers
|
|
* DO NOT EDIT!
|
|
*/
|
|
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xresource.h>
|
|
#include <X11/Xutil.h>
|
|
#include "x11drv.h"
|
|
#include "debug.h"
|
|
|
|
XClassHint * TSXAllocClassHint(void)
|
|
{
|
|
XClassHint * r;
|
|
TRACE(x11, "Call XAllocClassHint\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XAllocClassHint();
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XAllocClassHint\n");
|
|
return r;
|
|
}
|
|
|
|
XSizeHints * TSXAllocSizeHints(void)
|
|
{
|
|
XSizeHints * r;
|
|
TRACE(x11, "Call XAllocSizeHints\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XAllocSizeHints();
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XAllocSizeHints\n");
|
|
return r;
|
|
}
|
|
|
|
XWMHints * TSXAllocWMHints(void)
|
|
{
|
|
XWMHints * r;
|
|
TRACE(x11, "Call XAllocWMHints\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XAllocWMHints();
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XAllocWMHints\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXClipBox(Region a0, XRectangle* a1)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XClipBox\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XClipBox(a0, a1);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XClipBox\n");
|
|
return r;
|
|
}
|
|
|
|
Region TSXCreateRegion(void)
|
|
{
|
|
Region r;
|
|
TRACE(x11, "Call XCreateRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XCreateRegion();
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XCreateRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXDeleteContext(Display* a0, XID a1, XContext a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XDeleteContext\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XDeleteContext(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XDeleteContext\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXDestroyRegion(Region a0)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XDestroyRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XDestroyRegion(a0);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XDestroyRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXEmptyRegion(Region a0)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XEmptyRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XEmptyRegion(a0);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XEmptyRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXEqualRegion(Region a0, Region a1)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XEqualRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XEqualRegion(a0, a1);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XEqualRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXFindContext(Display* a0, XID a1, XContext a2, XPointer* a3)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XFindContext\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XFindContext(a0, a1, a2, a3);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XFindContext\n");
|
|
return r;
|
|
}
|
|
|
|
XVisualInfo * TSXGetVisualInfo(Display* a0, long a1, XVisualInfo* a2, int* a3)
|
|
{
|
|
XVisualInfo * r;
|
|
TRACE(x11, "Call XGetVisualInfo\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XGetVisualInfo(a0, a1, a2, a3);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XGetVisualInfo\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXGetWMSizeHints(Display* a0, Window a1, XSizeHints* a2, long* a3, Atom a4)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XGetWMSizeHints\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XGetWMSizeHints(a0, a1, a2, a3, a4);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XGetWMSizeHints\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXIntersectRegion(Region a0, Region a1, Region a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XIntersectRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XIntersectRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XIntersectRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXLookupString(XKeyEvent* a0, char* a1, int a2, KeySym* a3, XComposeStatus* a4)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XLookupString\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XLookupString(a0, a1, a2, a3, a4);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XLookupString\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXOffsetRegion(Region a0, int a1, int a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XOffsetRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XOffsetRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XOffsetRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXPointInRegion(Region a0, int a1, int a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XPointInRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XPointInRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XPointInRegion\n");
|
|
return r;
|
|
}
|
|
|
|
Region TSXPolygonRegion(XPoint* a0, int a1, int a2)
|
|
{
|
|
Region r;
|
|
TRACE(x11, "Call XPolygonRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XPolygonRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XPolygonRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXRectInRegion(Region a0, int a1, int a2, unsigned int a3, unsigned int a4)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XRectInRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XRectInRegion(a0, a1, a2, a3, a4);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XRectInRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXSaveContext(Display* a0, XID a1, XContext a2, const char* a3)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XSaveContext\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XSaveContext(a0, a1, a2, a3);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XSaveContext\n");
|
|
return r;
|
|
}
|
|
|
|
void TSXSetWMProperties(Display* a0, Window a1, XTextProperty* a2, XTextProperty* a3, char** a4, int a5, XSizeHints* a6, XWMHints* a7, XClassHint* a8)
|
|
{
|
|
TRACE(x11, "Call XSetWMProperties\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
XSetWMProperties(a0, a1, a2, a3, a4, a5, a6, a7, a8);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XSetWMProperties\n");
|
|
}
|
|
|
|
void TSXSetWMSizeHints(Display* a0, Window a1, XSizeHints* a2, Atom a3)
|
|
{
|
|
TRACE(x11, "Call XSetWMSizeHints\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
XSetWMSizeHints(a0, a1, a2, a3);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XSetWMSizeHints\n");
|
|
}
|
|
|
|
int TSXSetRegion(Display* a0, GC a1, Region a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XSetRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XSetRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XSetRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXShrinkRegion(Region a0, int a1, int a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XShrinkRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XShrinkRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XShrinkRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXStringListToTextProperty(char** a0, int a1, XTextProperty* a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XStringListToTextProperty\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XStringListToTextProperty(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XStringListToTextProperty\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXSubtractRegion(Region a0, Region a1, Region a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XSubtractRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XSubtractRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XSubtractRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXUnionRectWithRegion(XRectangle* a0, Region a1, Region a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XUnionRectWithRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XUnionRectWithRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XUnionRectWithRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXUnionRegion(Region a0, Region a1, Region a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XUnionRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XUnionRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XUnionRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXXorRegion(Region a0, Region a1, Region a2)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XXorRegion\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XXorRegion(a0, a1, a2);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XXorRegion\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXDestroyImage(struct _XImage *a0)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XDestroyImage\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XDestroyImage(a0);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XDestroyImage\n");
|
|
return r;
|
|
}
|
|
|
|
struct _XImage * TSXSubImage(struct _XImage *a0, int a1, int a2, unsigned int a3, unsigned int a4)
|
|
{
|
|
struct _XImage * r;
|
|
TRACE(x11, "Call XSubImage\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XSubImage(a0, a1, a2, a3, a4);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XSubImage\n");
|
|
return r;
|
|
}
|
|
|
|
int TSXAddPixel(struct _XImage *a0, long a1)
|
|
{
|
|
int r;
|
|
TRACE(x11, "Call XAddPixel\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XAddPixel(a0, a1);
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XAddPixel\n");
|
|
return r;
|
|
}
|
|
|
|
XContext TSXUniqueContext(void)
|
|
{
|
|
XContext r;
|
|
TRACE(x11, "Call XUniqueContext\n");
|
|
EnterCriticalSection( &X11DRV_CritSection );
|
|
r = XUniqueContext();
|
|
LeaveCriticalSection( &X11DRV_CritSection );
|
|
TRACE(x11, "Ret XUniqueContext\n");
|
|
return r;
|
|
}
|
|
|