Commit Graph

3687 Commits

Author SHA1 Message Date
Dmitry Timoshkov
cff42a8d71 Add GetProcessHeaps() prototype. 2004-02-10 20:08:10 +00:00
Alexandre Julliard
f0b082b354 Dynamically retrieve the metrics that depend on the screen size (based
on a patch by Alex Pasadyn).
Get rid of the no longer used SM_WINE_BPP metric.
2004-02-10 02:25:23 +00:00
Jon Griffiths
d015d3b98a Add some missing prototypes, fix AssocIsDangerous.
Implement StrRetToBSTR, delay-import oleaut32.
2004-02-10 02:22:17 +00:00
Juan Lang
6bcde773e7 Declare some SetupDi functions and related constants. 2004-02-09 20:57:40 +00:00
Juan Lang
bd337a8665 #ifdef guard the declaration of type IID to be compatible with
midl-generated stubs.
2004-02-09 20:48:57 +00:00
Alexandre Julliard
5fdc57ef5c Added memchrW and memrchrW to the exported Unicode functions. 2004-02-07 02:24:15 +00:00
Alexandre Julliard
f19c9e7cdd Get pointer to CreateFileW earlier on during startup.
Make sure we don't crash when loading a dll before the modref for the
main exe has been created.
2004-02-07 01:11:54 +00:00
Alexandre Julliard
163396b955 Revert the thread exit race fix for now, it doesn't work right on
pthreads.
2004-02-05 17:45:31 +00:00
Alexandre Julliard
4fac95df3d Fixed a couple of race conditions in the wine_pthread routines at
thread startup and exit.
2004-02-05 02:01:35 +00:00
Eric Pouech
53fa0d5433 - Fixed broken winedbg compilation on BSD.
- Fixed some corner case handling in ELF list walking (reported by
  Robert Shearman).
2004-02-05 01:27:38 +00:00
Kevin Koltzau
f5fc26fe3b Add define MAKEROP4. 2004-02-03 21:29:22 +00:00
Juan Lang
c9053d7480 Declare SHGetFolderPath and related constants. 2004-02-03 21:26:41 +00:00
Eric Pouech
2fba6872ad Added ListView_GetHeader macro. 2004-02-02 23:09:42 +00:00
Alexandre Julliard
55d72b792f lpCreateParams should be a SEGPTR in 16-bit code. 2004-01-28 21:41:56 +00:00
Kevin Koltzau
92b84cf926 Add missing DTBG_* defines. 2004-01-27 20:07:23 +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
Rolf Kalbermatter
7af8b13f11 Implement PathGetShortPathA/W and change its prototype to match the
documentation on MSDN.
2004-01-21 23:51:57 +00:00
Mike Hearn
eca464b679 Implemented RpcIsProtSeqValid. 2004-01-20 23:36:50 +00:00
Rein Klazes
f20ce3b816 Fix MultiByteToWideChar and WideCharToMultiByte when called with code
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Alexandre Julliard
32b1e67ae5 Moved msacmdrv.h to include directory to avoid inter-dll header
dependencies.
2004-01-20 21:55:28 +00:00
Dmitry Timoshkov
dc70553cae Merge the MDI and common window creation code. Change the way MDI
children are managed in MDIClient.
Add support for MDICREATESTRUCT A<->W conversions.
Add support for WM_MDIREFRESHMENU.
2004-01-20 04:29:20 +00:00
Alexandre Julliard
d841a735c7 Removed useless warning. 2004-01-20 00:24:22 +00:00
Rok Mandeljc
0382ea1d8a - updated resources to DX9
- completely rewritten headers (DX9 compat.; look much nicer now ;=)
- removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack
  (which are removed from DX9; weren't implemented in DX8 anyway)
- combined/simplified IDirectMusicSomething / IDirectMusicObject /
  IPersistStream for objects that support loading
- implemented IDirectMusicObject on all such objects; via generic
  functions
- combined IDirectMusicTrack(8)/IPersistStream on all tracks
- fully implemented IDirectMusicContainer (at least 90% if there are
  no private interfaces)
- implemented IDirectMusicCollection (99% work & MS compliant
  behaviour; except for instruments)
- tried to implement IDirectMusicInstrument (unfortunately uses some
  dirty private interfaces... :(
- added dswave.dll; DirectMusic Wave
- some changes in style
- many, many more ;)
2004-01-20 00:21:40 +00:00
Rolf Kalbermatter
ed32535931 Implemented PathFileExistsAndAttributesA/W function. 2004-01-19 21:46:14 +00:00
Alexandre Julliard
32f1ac3a66 Use the exported FONTENUMPROCW as parameter in the EnumDeviceFonts
driver function instead of defining a private function type.
2004-01-18 23:35:12 +00:00
Alexandre Julliard
b89525fb06 Removed the bitsPerPixel field in the generic DC structure, and leave
it up to the graphics driver to define it if necessary.
2004-01-18 22:20:17 +00:00
Mike McCormack
4c979ea522 Added SystemTimeToTzSpecificLocalTime definition. 2004-01-16 21:22:13 +00:00
Francois Gouget
f01275cdbd Add a couple of missing definitions to urlmon.h. 2004-01-16 21:21:54 +00:00
Alexandre Julliard
7342390852 Get rid of the global INTERNAL_[XY]WSTODS macros. 2004-01-15 06:19:35 +00:00
Alexandre Julliard
6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Ivan Leo Murray-Smith
07c0653b7d Updated copyright information. 2004-01-14 05:10:45 +00:00
Alexandre Julliard
53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Marcus Meissner
219731197a Added stub for EnumICMProfilesA/W. 2004-01-13 05:20:17 +00:00
Vincent Béron
431a96f43a Get rid of a W->A crosscall (ResetDCA->ResetDCW). 2004-01-13 01:06:44 +00:00
Alexandre Julliard
a51bb8151d ScrollDC doesn't need to be in the graphics driver. 2004-01-12 21:15:16 +00:00
Eric Pouech
d6771b1333 Implemented Toolhelp32ReadProcessMemory. 2004-01-12 21:05:53 +00:00
Alexandre Julliard
e8283089cb Get rid of no longer needed WINE_PACKED define. 2004-01-09 22:18:49 +00:00
Robert Reif
7dd637467a Added some missing defines and a struct.
Fixed some const * arguments.
2004-01-09 22:06:54 +00:00
Ulrich Czekalla
e24d3fec2d Added header dbt.h. 2004-01-09 00:57:08 +00:00
Aric Stewart
2eebf3c78e Enable Tablet support with both Tilt and Pressure. 2004-01-09 00:03:00 +00:00
Alexandre Julliard
4e4460eaef There's no need for DUMMYUNIONNAME in private headers. 2004-01-08 05:27:23 +00:00
Kevin Koltzau
201da3378d Define OPENFILENAME_SIZE_VERSION_400. 2004-01-08 05:16:23 +00:00
Alexandre Julliard
e293074100 Added configure check for readlink. 2004-01-08 05:07:05 +00:00
Alexandre Julliard
3604824262 If supported by the linker, prevent the ELF loader from calling the
dll constructors at load time and call them from the dll entry point
instead.
2004-01-08 03:36:53 +00:00
Mike McCormack
e5a1134469 Add icm.h for colour management. 2004-01-08 00:40:22 +00:00
Kevin Koltzau
3accd8dfc4 Define structs FILEDESCRIPTOR and FILEGROUPDESCRIPTOR used with the
clipboard format CF_FILEGROUPDESCRIPTOR.
2004-01-08 00:39:21 +00:00
Francois Gouget
640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Martin Fuchs
9d7bcf8fdd Define IShellExecuteHook interface. 2004-01-06 21:38:55 +00:00
Alexandre Julliard
72ecbb0675 SHCoCreateInstance is now documented (spotted by Francois Gouget).
Its first argument should be a Unicode string.
2004-01-06 20:42:47 +00:00
Eric Pouech
5bf3a2669b Made wine_get_unix_file_name take a Unicode string pointer. 2004-01-05 23:42:09 +00:00
Martin Fuchs
c0a5a27c15 Correct return type of SHFileOperationA/W. 2004-01-05 21:13:37 +00:00
Steven Edwards
6518b5ca27 MSVC porting fixes. 2004-01-05 21:12:21 +00:00
Mike Hearn
43cb03be3a Implemented RegFlushKey and NtFlushKey. 2004-01-03 00:38:30 +00:00
Alexandre Julliard
7984ded712 Added wine_dll_get_owner function that retrieves the 32-bit dll
containing a given 16-bit dll by reading the symlink, so that we don't
need to dlopen it.
2004-01-02 21:08:05 +00:00
Steven Edwards
d8f9c1c076 Fix compiling netapi32 on MSVC with PSDK headers. 2004-01-02 20:15:05 +00:00
Alexandre Julliard
875927f67e Updated configure with autoconf 2.58. Set the bug report address. 2004-01-02 01:55:29 +00:00
Dmitry Timoshkov
cd61ce8529 Add support for many MCIWNDM_ messages and some MCI_ commands in the
MCIWndClass implementation.
MCIWndRegisterClass() takes no parameters according to Platform SDK
headers.
2004-01-01 00:12:13 +00:00
Alexandre Julliard
446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Dmitry Timoshkov
9741589bdf Fix many function prototypes and data types according to Platform SDK
definitions.
2003-12-31 23:49:45 +00:00
Dmitry Timoshkov
be6d014f35 Add Unicode->ANSI MCI message mapping, implement mciSendCommandW, fix
a bug with a window creation belonging to another hInstance, add
support for MCI_WINDOW command in mciavi.drv, add support for MCI_PLAY
and MCI_STOP in the MCIWndClass implementation.
2003-12-31 19:00:03 +00:00
Rein Klazes
62fb1919f8 - Add a bitmap resource with the font icons: TrueType, printer,
OpenType and Type 1. Modify the code so that they will be used if or
  when the needed bits are passed to the FontEnumProc.
- Use EnumFontFamiliesEx instead of EnumFontFamilies.
- Fix the fixme in the WM_MEASUREITEM message handler.
2003-12-30 22:08:17 +00:00
Dmitry Timoshkov
06464999f1 Implement support for many MCIWndClass MCI_ and MCIWNDM_ messages.
Convert MCIWndClass implementation to unicode.
2003-12-15 20:17:11 +00:00
Aric Stewart
3dc71b65a7 Better handling of some service functions. 2003-12-13 03:25:37 +00:00
Kirill Smelkov
12b36ecb4a Added CreateAsyncBindCtx and IsAsyncMoniker stubs. 2003-12-13 00:03:30 +00:00
Ge van Geldorp
6ba2226f2c When building a PE DLL (MinGW), variables exported from a DLL must be
explicitly marked as dllimport when using them.
2003-12-13 00:02:31 +00:00
Jon Griffiths
ae0ca56453 Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error,
RtlGUIDFromString, RtlStringFromGUID.
2003-12-12 05:56:44 +00:00
Alexandre Julliard
bd13ab8d78 Store a pointer to the client-side class structure in the server and
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Kirill Smelkov
32f296b6d5 Added stub and prototype for WSAJoinLeaf. 2003-12-11 05:16:48 +00:00
Mike McCormack
f3eff5232e Implement CryptRegisterOIDFunction and CryptSIPAddProvider. 2003-12-11 04:26:05 +00:00
Alexandre Julliard
bfce151ae5 Added window classes in the server, and support for inter-process
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Alexandre Julliard
ebf1243ec1 Added support for inter-process GetWindowWord.
Do better range checking on the window extra bytes.
2003-12-10 01:34:51 +00:00
Jon Griffiths
31c50ccb27 Add a few soon-to-be-implemented functions. 2003-12-10 00:35:44 +00:00
Kevin Koltzau
cc09196356 Implemented GetTitleBarInfo. 2003-12-08 23:46:29 +00:00
Alexandre Julliard
631dba5069 Added CS_DROPSHADOW. 2003-12-08 22:02:33 +00:00
Dimitrie O. Paun
2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +00:00
Mike McCormack
8b0d2891bf Stub implementations for CertCreateCRLContext and CertCloseStore. 2003-12-08 21:51:40 +00:00
Juan Lang
216a0dfbe7 Partially implement NetWkstaGetInfo. 2003-12-08 21:45:44 +00:00
Dimitrie O. Paun
573b389053 Move include/bitmaps/*.xpm where they belong. 2003-12-08 21:44:24 +00:00
Alexandre Julliard
5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Dimitrie O. Paun
2f2c08db8c Add missing ListView_GetViewRect() macro. 2003-12-04 20:52:39 +00:00
Alexandre Julliard
e85491274d Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h.
Removed the C fallback code, do that in the callers instead.
2003-12-04 05:48:03 +00:00
Kirill Smelkov
64fb191cf6 IBindHost interface additions. 2003-12-03 04:01:57 +00:00
Kirill Smelkov
c4fc1abff7 Added IObjectWithSite interface. 2003-12-03 04:01:26 +00:00
Alexandre Julliard
04ecca54a1 Use wine_server_release_fd() instead of close() everywhere we use
wine_server_handle_to_fd().
A few minor winsock cleanups.
2003-12-02 04:19:56 +00:00
Mike McCormack
9b513ad686 Stub implementations for ChangeServiceConfigA/W.
Implement CreateServiceW and call it from CreateServiceA.
Partial implementation of QueryServiceConfigW.
2003-12-02 03:48:53 +00:00
Thomas Brix Larsen
16c1bf123d Added stub for CryptProtectData, so programs like Skype can start. 2003-12-02 03:47:44 +00:00
Alexandre Julliard
f3f435ffa1 Added wine_server_release_fd function to release the fd returned by
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Mike McCormack
d72bd7ec2e Declare some MSI functions. 2003-12-01 22:38:43 +00:00
Kirill Smelkov
c3c33a042f Added SetDCPenColor prototype. 2003-12-01 22:35:10 +00:00
Dmitry Timoshkov
2964888d05 A general cleanup of the version resources in Wine DLLs. 2003-11-30 05:59:29 +00:00
Stefan Leichter
ee33c001ac Changed the version resource to be created in the common way. 2003-11-30 01:42:26 +00:00
Juan Lang
e7fd6fd2a1 Implemented a lot of Netbios(). 2003-11-29 00:19:19 +00:00
Alexandre Julliard
0b19a6f7bc Better support for div and ldiv in Winelib apps. 2003-11-28 23:17:28 +00:00
Alexandre Julliard
402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Alexandre Julliard
97903d260b Added support for inter-process GetWindowLong on the window extra
bytes.
2003-11-26 22:15:41 +00:00
Alexandre Julliard
e267311e93 Fixed WINELIB_NAME_AW typo (thanks to Robert Shearman).
Removed extra BroadcastSystemMessage prototype.
2003-11-26 05:22:42 +00:00
Dimitrie O. Paun
4bb62422d9 Added a few missing TabCtrl_* macros. 2003-11-26 05:20:32 +00:00
Kevin Koltzau
358fff8142 Implement the TME_NONCLIENT flag in TrackMouseEvent to handle
nonclient hover/ leave events.
2003-11-26 05:06:59 +00:00
Alexandre Julliard
2fdc4dc5dd Added missing prototypes for some implemented functions. 2003-11-26 04:11:56 +00:00
Alexandre Julliard
b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Alexandre Julliard
29cff12d06 Moved the ShellExecuteEx definitions to shellapi.h where they belong. 2003-11-26 03:59:16 +00:00
Huw Davies
9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Alexandre Julliard
6281d82e87 Store the thread entry point in the startup info passed to the new
thread instead of the TEB.
2003-11-25 03:42:05 +00:00
Pierre d'Herbemont
794bf0fda0 Add Darwin/Mac OS X support to the build system. 2003-11-25 03:31:26 +00:00
Alexandre Julliard
9e73f55af3 Store the last error code at the TEB offset used by NT instead of the
Win9x one.
2003-11-25 01:53:23 +00:00
Eric Pouech
ff0365290b Got rid of DRIVE_OpenDevice, and replaced it with Win32 equivalents. 2003-11-25 01:51:07 +00:00
Alexandre Julliard
16b4411669 Removed MODULE_GetLoadOrderA. 2003-11-25 01:03:04 +00:00
Ulrich Czekalla
e3c9de666d Implemented DMORegister, DMOUnregister, DMOGetName, DMOEnum. 2003-11-25 00:55:57 +00:00
Alexandre Julliard
436eda3071 Removed task.h. 2003-11-25 00:42:26 +00:00
Mike McCormack
69357ebb04 Added some structures used by NetUserModalsGet. 2003-11-25 00:05:39 +00:00
Alexandre Julliard
c6d44be3e5 Create a huge array in bss to reserve the memory area we need for PE
binaries, to prevent exec shield from mapping system libraries there.
2003-11-22 00:08:26 +00:00
Dmitry Timoshkov
33f9dcb1f9 Move CompareString implementation to libwine_unicode, add a bunch of
CompareString tests.
2003-11-22 00:00:53 +00:00
Gregory M. Turner
add18f77e9 Implemented RpcObjectSetType. 2003-11-21 22:14:42 +00:00
Vincent Béron
7d41296bd7 Removed stale instance.h. 2003-11-20 04:17:58 +00:00
Rein Klazes
e617a9c528 Include ft2build.h before freetype/freetype.h. Libfreetype 2.1.7
requires this.
2003-11-19 02:18:13 +00:00
Robert Shearman
d6254fcb43 - AVI Splitter implementation.
- Add new debugging function wine_dbstr_longlong.
2003-11-18 20:47:48 +00:00
Francois Gouget
84540b4dc7 Assorted spelling fixes. 2003-11-18 20:41:24 +00:00
Alexandre Julliard
a7ce2abc9d Removed include/selectors.h. 2003-11-18 00:16:25 +00:00
Alexandre Julliard
d868549754 Moved toolhelp.h to dlls/kernel. 2003-11-17 20:49:45 +00:00
Alexandre Julliard
f9be2f3d21 Removed some unnecessary includes. 2003-11-17 20:31:29 +00:00
Alexandre Julliard
d3fb25cd0f Moved a few definitions used in only one source file out of module.h. 2003-11-17 20:16:38 +00:00
Alexandre Julliard
8fb98a41e0 Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Alexandre Julliard
e983652363 Moved a number of DOS definitions out of the global headers and into
winedos private files. Removed the msdos.h header.
2003-11-15 00:13:20 +00:00
Alexandre Julliard
4044372596 Moved winedos loading functionality to dlls/kernel/instr.c and get rid
of msdos/dpmi.c.
2003-11-14 21:08:39 +00:00
Jon Griffiths
2f558b53f1 Add some missing prototypes/defines.
OaBuildVersion() returns a ULONG, not UINT.
2003-11-14 21:01:15 +00:00
Eric Pouech
8ca6cadab1 - moved the remaining of int21 calls to dlls/winedos
- disabled drive enabling/disabling as well as disk serial number
  writing (for DLL separation issues)
- added volume management prototypes to include/winbase.h
- started DefineDosDevice (needed by first item in this list)
- removed int21 specific code from dlls/kernel
2003-11-14 04:54:39 +00:00
Raphael Junqueira
0196861349 Add the wined3d dll for beginning a cleaner d3d architecture that will
contain the shared openGL code needed for all wine direct3d
implementations.
2003-11-14 03:50:35 +00:00
Dmitry Timoshkov
b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Alexandre Julliard
55b51eabdf Removed instance.h and callback.h, moving their contents to
kernel_private.h.
2003-11-13 21:04:01 +00:00
Alexandre Julliard
821ab8636f Added configure check for pthread_getattr_np. 2003-11-12 22:44:56 +00:00
Alexandre Julliard
b2d937d5d9 Added sigsetjmp/siglongjmp and gettid to the portability library. 2003-11-12 03:16:00 +00:00
Alexandre Julliard
daeccba704 Moved the exec_wine_binary function to the wine library, and use it to
exec the wineserver too.
2003-11-11 22:21:29 +00:00
Ulrich Czekalla
fd5e811c4e Added stubs for AccessCheckByType, AddAuditAccessAce,
GetNamedSecurityInfoA, GetNamedSecurityInfoW.
Implemented ConvertStringSecurityDescriptorToSecurityDescriptorW,
DeleteAce, MakeAbsoluteSD, GetAclInformation, ConvertStringSidToSidW,
RtlDeleteAce, RtlQueryInformationAcl.
2003-11-11 22:03:24 +00:00
Alexandre Julliard
4d626b062b Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Huw Davies <huw@codeweavers.com>
Constify strings.
Fix args of [GS]etPrinterDataEx
2003-11-11 20:38:51 +00:00
Rolf Kalbermatter
1816f8c0e1 Add constants for DSA_InsertItem and DPA_InsertPtr according to newest
MSDN headers.
2003-11-11 00:29:31 +00:00
Alexandre Julliard
50fba7ffec Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
Let the pthread library allocate the stack itself.
2003-11-09 01:25:23 +00:00
Huw Davies
6e12807b55 Load any TrueType fonts that fontconfig knows about. 2003-11-09 00:30:13 +00:00
Robert Shearman
fc58ef8119 Added chevron support. 2003-11-09 00:28:24 +00:00
Alexandre Julliard
f45325e443 Create two separate wine binaries, one using libpthread and one using
kernel threading directly.
Get rid of the remaining HAVE_NPTL ifdefs.
Remove the scheduler directory.
2003-11-06 23:05:41 +00:00
Alexandre Julliard
00fdd9fc1b AVM Computersysteme Vertriebs GmbH
Implemented a CAPI20 wrapper library for CAPI4Linux access.

Marcus Meissner <marcus@jet.franken.de>
Cleaned up, autoconfed.
2003-11-06 00:26:43 +00:00
Alexandre Julliard
4dba172e55 Added server_abort_thread to replace SYSDEPS_AbortThread.
Removed no longer used SIGNAL_Block and SIGNAL_Reset.
Moved some internal ntdll definitions to ntdll_misc.h.
2003-11-06 00:08:05 +00:00
Alexandre Julliard
8574412e1e Added wine_pthread_create_thread and wine_pthread_exit_thread to the
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00
Mike McCormack
22f450fb95 Move and correct the MSIDBOPEN defines. 2003-11-05 01:50:30 +00:00
Ulrich Czekalla
16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Mike McCormack
d48f3b60fe Stub implementation for MsiVerifyPackage. 2003-11-05 01:42:02 +00:00
Ulrich Czekalla
af0d2afe20 Initial implementation of OleUIInsertObject. 2003-11-05 01:34:38 +00:00
Alexandre Julliard
03d9f0e47a Disable the asm inline functions when building ntdll to avoid trouble
when compiling without optimization.
The PPC inline functions are no longer needed now that kernel is
properly separated.
2003-11-04 04:52:54 +00:00
Alexandre Julliard
7924f421e9 Allocate the TEB and signal stack separately from the main stack.
Dynamically allocate the initial TEB too so that it is properly
page-aligned.
2003-11-04 04:50:18 +00:00
Alexandre Julliard
7370f60120 Implemented RtlCreateUserThread, and use it to move thread creation to
ntdll.
2003-10-31 00:16:20 +00:00
Mike McCormack
e40da9f17c Some stub implementations. 2003-10-30 22:47:42 +00:00
Alexandre Julliard
f0831227d0 Increase WINE_LDT_FIRST_ENTRY to leave room for glibc thread
selectors.
2003-10-28 21:48:41 +00:00
Alexandre Julliard
07931f2d70 Removed no longer needed SIGNAL_Unblock() function. 2003-10-28 21:46:46 +00:00
Francois Gouget
f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Alexandre Julliard
54b1d87daf Implemented Add/RemoveVectoredExceptionHandler. 2003-10-28 21:22:50 +00:00
Pierre d'Herbemont
d3ab533eb3 Fixed _wfullpath prototype. 2003-10-28 21:13:13 +00:00
Raphael Junqueira
493660a529 - Some fixes on DirectSound init (need SetCooperativeLevel as seen in
msdn) on IDirectMusicPerformance8::InitAudio.
- Some fixes in IDirectMusicPerformance8ImplCreateStandardAudioPath
  (not perfect yet, need to understand/fix the channel init/use).
- Fix typo on CreateDirectMusicContainer.
- Add missing define in dsound.h.
- Better traces on IDirectMusicLoader8::SetSearchDirectory.
2003-10-27 22:08:37 +00:00
Alexandre Julliard
2e4f0bc9ba Use sigsetjmp instead of setjmp in Wine internal exception handlers to
make sure the signal mask is restored properly.
2003-10-24 04:30:13 +00:00
Robert Shearman
367cf41471 Added amvideo.{idl,h} and aviriff.h. 2003-10-24 04:20:05 +00:00
Pavel Roskin
9661d05b4e MSVCRT_tmpnam(): complete rewrite. Use the same names as the native
version.  Use the caller-supplied buffer if possible.
2003-10-24 00:23:51 +00:00
Alexandre Julliard
8824c38e9e Simplified signal stack allocation a bit, and avoid allocating it on
non-i386 platforms.
2003-10-22 03:26:53 +00:00
Alexandre Julliard
eacfd3d928 Fixed naming of the A/W types. 2003-10-22 03:07:27 +00:00
Daniel Marmier
7832562ee6 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-21 23:57:25 +00:00
Steven Edwards
f508a78509 - Win16/32 cleanup.
- Fixes for building with the PSDK.
2003-10-21 23:45:43 +00:00
Daniel Marmier
c33e4c4723 RegCreateKeyEx{A,W}: state that class string is constant. 2003-10-21 23:44:37 +00:00
Jon Griffiths
bf1df18292 Added string folding support. 2003-10-15 20:52:28 +00:00
Alexandre Julliard
49a0224fb3 Get rid of the drive codepages and use CP_UNIXCP instead. 2003-10-15 03:47:53 +00:00
Daniel Marmier
f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Alex Pasadyn
8f174bc654 Check for Xrandr extension. 2003-10-15 03:28:04 +00:00
Alexandre Julliard
d004059538 Moved the 16-bit storage interfaces out of the exported headers. 2003-10-14 20:23:01 +00:00
Maxime Bellengé
5b99b3df29 - Implemented HEADER_SetBitmapMargin and HEADER_GetBitmapMargin.
- Get rid of some magic numbers in HEADER_DrawItem.
- Fixed the drawing of images from imagelist when the
  HDF_BITMAP_ON_RIGHT flag is set.
2003-10-14 20:13:42 +00:00
Dmitry Timoshkov
2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Alexandre Julliard
e55d5937ac Set or clear the BeingDebugged flag in the PEB when a debugger is
attached to or detached from a process.
Don't send exception events to the server unless a debugger is
present.
2003-10-14 01:30:42 +00:00
Alexandre Julliard
0b1a82aa5e Added check for pthread.h (reported by Steven Edwards).
Removed init_done check, the process heap is now created before kernel
is loaded anyway.
2003-10-14 01:27:31 +00:00
Alexandre Julliard
a6ed49ade3 Don't reference the environ global variable from kernel32, it may fail
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard
410e6b7b39 Changed the init code to make libwine load only ntdll and transfer
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00
Alexandre Julliard
5cb5aa6346 Use the Rtl bitmap functions to implement Tls allocation.
Get rid of the PDB structure.
2003-10-09 19:58:56 +00:00
Steven Edwards
ad4a2b9064 Bring imagehlp (mostly) inline with the PSDK and Mingw. 2003-10-09 19:45:07 +00:00
Alexandre Julliard
20e73d739a Moved the constructor for the initial TEB to ntdll so that it runs as
early as possible on startup.
2003-10-09 04:59:03 +00:00
Mike McCormack
8365577125 Don't share some protected mode interrupts in winedos. 2003-10-08 19:07:45 +00:00
Alexandre Julliard
953849f2fc Added hack to call CreateFileW through a pointer so that we don't need
to link to kernel functions.
Commented out SMB support in NtReadFile for now.
2003-10-08 03:51:31 +00:00
Warren Baird
7f77f0f15d Changed InternetSetStatusCallback declaration to
InternetSetStatusCallbackA/W.
2003-10-08 02:57:07 +00:00
Alexandre Julliard
87ae825bf8 Get rid of the argv0 and full_argv0 global variables. 2003-10-08 00:45:01 +00:00
Alexandre Julliard
5986e3a724 Added wine_get_argv0_path() to retrieve the path of the wine binary. 2003-10-08 00:36:09 +00:00
Alexandre Julliard
af192f83b6 Store a "removable" flag instead of the full drive type in the server
file object; this way we don't need to use GetDriveTypeW in the loader
code.
Make sure we always have a valid builtin_load_info pointer.
2003-10-08 00:25:32 +00:00
Warren Baird
1f5d1beb0d Added extern "C". 2003-10-07 22:52:20 +00:00
Steven Edwards
c48c16471c Remove a few unneeded include statements in internal headers.
Started bringing setupapi in line with PSDK.
2003-10-07 22:51:09 +00:00
Rein Klazes
c6c404dcd6 Added a check for <scsi/scsi.h> and include it in dlls/ntdll/cdrom.c. 2003-10-07 22:49:22 +00:00
Alexandre Julliard
8d174d3f47 Store the global shell, progman and taskman windows in the server
(based on a patch by Martin Fuchs).
2003-10-07 03:40:23 +00:00
Alexandre Julliard
632676b17e Moved the final process init and dependency loading to
dlls/ntdll/loader.c, (ab)using the LdrInitializeThunk entry point.
2003-10-06 21:18:51 +00:00
Kevin Koltzau
d658fa4688 Added missing defines and fixed a few typos. 2003-10-06 21:04:27 +00:00
Alexandre Julliard
841f898663 Converted process creation to Unicode. 2003-10-04 04:09:41 +00:00
Kevin Koltzau
0af4fb9e6d Initial implementation of uxtheme.dll, mostly stubbed out for now. 2003-10-04 03:48:11 +00:00
Alexandre Julliard
5e3549bf3b Implemented RtlCreateProcessParameters and related functions. 2003-10-04 03:11:57 +00:00
Dave Belanger
325f646fdc Implemented the SetArcDirection metarecord in EMF driver. 2003-10-04 03:08:25 +00:00
Pavel Roskin
6ce0569ada Added check for scsi/scsi_ioctl.h. 2003-10-03 04:31:49 +00:00
Kevin Koltzau
7ee18df7c0 Added tmschema.h and some other theme defines. 2003-10-03 03:33:15 +00:00
Pavel Roskin
d65071963e Added check for st_blocks in struct stat. 2003-10-03 03:28:40 +00:00
Alexandre Julliard
4137aecaa5 Changed LdrLoadDll to only search for the dll in the specified path,
using ntdll functions.
Moved LOAD_WITH_ALTERED_SEARCH_PATH functionality to LoadLibraryEx
where it belongs.
2003-10-02 04:58:49 +00:00
Rolf Kalbermatter
4202112e2d Moved definition of newly documented API SHRestricted() and the
according policy definitions to shlobj.h.
Replace the policy numeric values with the new official defines and
change SHRestricted() to match the new documented prototype.
2003-10-02 04:30:46 +00:00
Robert Reif
2f9302a738 Added some missing defines.
Moved Wine only defines to not conflict.
2003-10-02 04:24:58 +00:00
Alexandre Julliard
c30cefb2d5 Store module names in Unicode in the server. 2003-09-30 01:04:19 +00:00
Daniel Marmier
a613de2a22 Use #ifdef instead of #if for all feature tests.
Check that _MSC_VER is defined before using it.
2003-09-30 00:33:47 +00:00
Alexandre Julliard
f80b869939 Converted most of the loader code to Unicode. 2003-09-29 20:42:24 +00:00
Alexandre Julliard
1cb92bbeec Converted the load order code to use Unicode throughout. 2003-09-27 03:50:40 +00:00
Alexandre Julliard
30784603ee Added strspnW and strcspnW. 2003-09-27 03:48:40 +00:00
Dmitry Timoshkov
2999165c83 Implemented RealGetWindowClass. 2003-09-27 03:47:07 +00:00
Mike McCormack
f6125ad33e Added AW defines to msi.h and msiquery.h. 2003-09-27 02:19:48 +00:00
Alexandre Julliard
74c5efeb76 Moved WINE_MODREF definition to loader.c.
Removed short module name from WINE_MODREF, Windows doesn't have it.
Rewrote LdrGetDllHandle to only use Unicode.
2003-09-25 23:55:35 +00:00
Alexandre Julliard
2052538a47 Moved loadorder support to dlls/ntdll.
Removed the --dll option and replaced it by the WINEDLLOVERRIDES
environment variable.
2003-09-25 20:33:41 +00:00
Alexandre Julliard
16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Pavel Roskin
7add08a303 Added configure check for spawnvp(). 2003-09-24 18:54:40 +00:00
Alexandre Julliard
240b0a9b48 Moved the Windows version code to dlls/ntdll, and implemented
RtlGetVersion and RtlVerifyVersionInfo.
Moved the 16-bit and DOS version support to dlls/kernel.
2003-09-24 05:26:00 +00:00
Alexandre Julliard
3bff2b3c9c Authors: Juraj Hercek <juraj@syncad.com>, Eric Frias <efrias@syncad.com>
Implemented pthread conditions.
2003-09-23 22:59:44 +00:00
Juraj Hercek
9d481e32a0 Added SS_ENDELLIPSIS. 2003-09-23 22:57:20 +00:00
Jon Griffiths
fc049ecdd5 Added StrFormatKBSizeA/W. 2003-09-23 22:49:56 +00:00
Felix Nawothnig
25c0a1d5bb Added definitions for ListView_GetColumnWidth, ListView_SetColumnWidth
and ListView_RedrawItems.
2003-09-23 22:48:49 +00:00
Maxime Bellengé
4dc75a5d82 Added LVKF_* defines. 2003-09-22 19:47:42 +00:00
Rolf Kalbermatter
58c0561bad Added declarations for newly documented SHChangeNotify API and fixed
some prototypes.
2003-09-22 19:24:13 +00:00
Rolf Kalbermatter
f42bc61b86 Don't redefine declspec under MSVC. 2003-09-22 19:22:14 +00:00
Alexandre Julliard
a37e7608c7 Moved 32-bit relay and snoop support to dlls/ntdll. 2003-09-19 04:32:39 +00:00
Alexandre Julliard
97ad311e71 Moved the 32-bit builtin loader and the remaining bits of the PE
loader into dlls/ntdll/loader.c.
2003-09-19 04:04:57 +00:00
Eric Pouech
c3e6c095e1 Implemented kernel32.GetIoProcessCounters and stubbed
ntdll.NtQueryProcessInformation(ProcessIoCounters).
2003-09-19 00:06:45 +00:00
Alexandre Julliard
52f692fb9b Moved the wine server client-side support to dlls/ntdll. Removed a
couple of unnecessary functions.
2003-09-18 23:27:19 +00:00
Alexandre Julliard
bff860c4b1 Moved synchronization and syslevel routines to dlls/kernel. 2003-09-18 04:39:13 +00:00
Alexandre Julliard
8db8368ee7 Keep the file handle of 16-bit modules open while the module is
loaded. This makes it possible to remove the InstallShield hack in
OpenFile16.
Moved LoadLibrary32_16 to kernel.
2003-09-18 04:35:34 +00:00
Alexandre Julliard
9eb1d2c7fa Moved I/O port handling to dlls/winedos. 2003-09-17 22:45:46 +00:00
Alexandre Julliard
add0c5850b Use WOWCallback16Ex to switch to vm86 mode so that we can setup a
proper exception handler and handle instruction emulation.
2003-09-17 20:23:33 +00:00
Alexandre Julliard
f5cb3dde17 Moved undocumented functions out of the exported commctrl.h. 2003-09-17 20:15:21 +00:00
Alexandre Julliard
1084a8ba93 Moved out of windef.h a few definitions that don't belong there
(reported by Filip Navara).
2003-09-17 04:31:27 +00:00
Mike McCormack
2b2a6f31a9 Added mailslot defines. 2003-09-16 20:26:28 +00:00
Filip Navara
2773106058 Fixed definitions of TTTOOLINFOA/W_V1_SIZE and
REBARBANDINFOA/W_V3_SIZE.
2003-09-16 01:17:25 +00:00
Eric Pouech
9fd54b2838 - Implemented a few information classes in NtQuerySystemInformation.
- Added handle information to (wineserver) process snapshot.
2003-09-16 01:07:21 +00:00
Rolf Kalbermatter
6f9336dd31 Added IFileSystemBindData implementation. 2003-09-15 22:10:48 +00:00
Eric Pouech
78b50f23e3 - Moved Wine extension to get DSound interface from a wave device from
include/mmsystem.h to include/mmddk.h.
- Removed all dependencies on heap.h.
- Fixed a few prototypes (mmioRename[AW], mciSendStringW, *Message).
2003-09-15 20:13:30 +00:00
Mike McCormack
e66069d94e Declare mailslot functions. 2003-09-15 20:01:56 +00:00
Kevin Groeneveld
8be51c92e4 Add missing wReserved1 member to DCB structure definition.
Fix several bugs in BuildCommDCBAndTimeouts:
- make sure LPCSTR parameter is really treated as constant
- fix possible buffer overflow if passed in string is too long
- if the device control string is invalid, do not modify DCB
- do not clear entire DCB, only modify appropriate members
- fix parsing of stop bits parameter so it works for 1 and 1.5
- populate COMMTIMEOUTS when to=xxx parameter is specified
- added support for xon, odsr, octs, dtr, rts, and idsr parameters
- fix several other parsing errors
2003-09-12 00:26:15 +00:00
Eric Pouech
766ef669eb Moved some MM internal definition to internal include files. 2003-09-12 00:24:16 +00:00
Dimitrie O. Paun
41d7518a62 Remove checks from {pop,psh}pack[1248].h that were causing the
standalone processor to fail.
2003-09-11 23:08:58 +00:00
Alexandre Julliard
ef5f6c7fad Moved list.h to include/wine so that it can be used everywhere. 2003-09-11 20:45:17 +00:00
Dimitrie O. Paun
643b7c97ac The Get[RGB]Value() macros should return a BYTE, not the same type as
the one passed in.
2003-09-11 20:40:57 +00:00
Geoff Thorpe
23609d22d6 Added a stub for NetStatisticsGet. 2003-09-11 03:09:19 +00:00
Geoff Thorpe
7701dea1cd Added a stub for Heap32ListFirst. 2003-09-11 03:00:11 +00:00
Francois Gouget
68ea3623b8 Modify winetest_ok to only add a trailing '\n' if there is none.
Modify macros in the kernel, oleaut32 and user tests to print a '\n'.
2003-09-11 01:07:19 +00:00
Alexandre Julliard
cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Alexandre Julliard
20c169e0a4 Fixed a few more headers dependency issues. 2003-09-09 19:39:31 +00:00
Alexandre Julliard
69c90c2a9f Converted the rest of the obj_*.h headers to IDL into shobjidl.idl. 2003-09-09 19:32:36 +00:00
Alexandre Julliard
cc392b95cf Some STATUS_* defines have to be duplicated in winnt.h. 2003-09-09 19:26:40 +00:00
Alexandre Julliard
2eb5d8b9b1 On TlsFree, clear the released TLS index in all threads. 2003-09-08 19:02:01 +00:00