Commit Graph

3730 Commits

Author SHA1 Message Date
Alexandre Julliard 72f87b8c06 Use pread/pwrite everywhere to avoid changing the file position while
the client is using it.
Get rid of the no longer used truncate_file request.
2004-05-01 02:50:06 +00:00
Chris Morgan 8aeb463d49 Stub cmc_query_configuration() and add xcmc.h header file. 2004-05-01 02:39:33 +00:00
Alexandre Julliard d4874d6406 Added a few more info classes in NtQueryInformationFile.
Use NT file names in CreateNamedPipeW.
Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime
using ntdll functions.
2004-04-30 21:03:09 +00:00
Francois Gouget 7a58c6ec53 Add a stub for StgCreateStorageEx(). Returns
STG_E_UNIMPLEMENTEDFUNCTION as per MSDN. Fixes an error saving files
in Word XP.
2004-04-30 18:32:20 +00:00
Alexandre Julliard ffcc67abf1 Added auto-detection of DOS drive devices based on finding the
corresponding mount point in /etc/mtab or /etc/fstab.
2004-04-29 20:04:48 +00:00
Mike McCormack c3b8a20e71 Added pstore.h and an IDL file to generate it. 2004-04-29 20:00:26 +00:00
Alexandre Julliard 553a75e16e Use symlinks in dosdevices/ for the drive devices too.
Store drive types in the registry instead of in the config file.
Added some more code to convert existing config to the new scheme.
2004-04-29 00:27:57 +00:00
Alexandre Julliard c349d7d297 Removed a number of internal file functions that are no longer used. 2004-04-28 03:53:19 +00:00
Alexandre Julliard 06c46d9aab Reimplemented Get/SetCurrentDirectoryW using the corresponding ntdll
functions.
2004-04-28 01:04:24 +00:00
Raphael Junqueira 18cdbf1351 - add some prototypes/typedefs to msi.h
- implements some A -> W calls (W calls must be implemented)
2004-04-28 00:29:25 +00:00
Francois Gouget 0345908a27 Assorted spelling fixes. 2004-04-28 00:24:44 +00:00
Alexandre Julliard cf67839bc4 Pass the creation disposition to wine_nt_to_unix_file_name so that it
can return the correct error code in all cases.
Changed MoveFileExW to use wine_nt_to_unix_file_name to avoid
computing the NT name twice.
Fixed crash in GetDriveTypeW with a NULL root.
2004-04-27 02:15:52 +00:00
Dimitrie O. Paun d701e6de1d Define _T[USX]?CHAR/_TINT/TCHAR types, for compatibility.
Do not depend on other files being included first.
Have the same include graph as the MS headers.
Protect against trying to use libc when not possible.
Cleanups.
2004-04-26 23:32:15 +00:00
Dimitrie O. Paun adb4cb3890 Fix the _WCTYPE_T_DEFINED sentry for compatibility. 2004-04-26 23:31:39 +00:00
Dmitry Timoshkov 85ef456512 Fix the DDE PFNCALLBACK prototype. 2004-04-26 23:29:44 +00:00
Jon Griffiths 11b26f05ad Update/Add MAPI headers. 2004-04-23 23:28:04 +00:00
Alexandre Julliard 9db147e5e4 Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Dmitry Timoshkov d996f60c0d Add some compatibility macros. 2004-04-22 23:45:47 +00:00
Mike McCormack e79ff70bf8 * add some values to the SYSTEM_INFORMATION_CLASS enumeration 2004-04-21 22:21:35 +00:00
Alexandre Julliard e4409325d2 Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Francois Gouget 66834324b1 Assorted spelling fixes.
Remove wszRegSeparator from devenum_private.h since it's neither
exported by createdevenum.c nor used by anyone else.
2004-04-20 04:03:42 +00:00
Robert Shearman e2490a0986 Stub and documentation for RtlFormatMessage. 2004-04-20 01:07:23 +00:00
Alexandre Julliard 174e2a6464 Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Alexandre Julliard 73d9e1a62f Fixed/updated the file attributes defines. 2004-04-19 23:11:31 +00:00
Filip Navara 7930ada851 Fix some RPC prototypes to get it compiling with W32API. 2004-04-19 23:03:58 +00:00
Maxime Bellengé b7852de12f Add the IAutoComplete and IAutoComplete2 implementation (but methods
stubbed for now).
2004-04-19 19:26:57 +00:00
Robert Reif dbb03ec6dc Fixes support for older versions of direct sound.
Adds support for deleting notification array.
Minor debug and white space cleanups.
2004-04-19 02:58:45 +00:00
Raphael Junqueira 4aea40a869 - fix dxdiag.h (again)
- IDxDiagContainerImpl implementation
- IDxDiagProvider::GetRootContainer (that creates the root container)
2004-04-19 02:57:09 +00:00
Alexandre Julliard dfcfc98ed0 RtlSetCurrentDirectory_U: store a handle to the current directory
along with its name.
2004-04-16 05:00:46 +00:00
Alexandre Julliard 186b419e02 Added hack to fetch the current directory from the subsystem tid so
that it is handled correctly in ntdll also for 16-bit tasks.
2004-04-16 00:10:03 +00:00
Raphael Junqueira b3f32d9686 Fixed some bugs. 2004-04-15 23:59:25 +00:00
Alexandre Julliard a45931c6f3 Get rid of the TEB flags, they are no longer used. 2004-04-15 05:04:53 +00:00
Jon Griffiths 347081d532 Prevent CY type from being redefined. 2004-04-15 04:59:22 +00:00
Raphael Junqueira 675855d4fa Added the dxdiag.h header. 2004-04-15 04:56:51 +00:00
Alexandre Julliard 1cb0cf4ced Moved wine_get_unix_file_name implementation to ntdll, and changed it
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Kevin Koltzau ac05d0dd29 Partial stub of GdiAlphaBlend/AlphaBlend. 2004-04-14 19:35:24 +00:00
Filip Navara 2493529750 Fix the case of RpcNetworkIsProtseqValid[AW] (was
RpcNetworkIsProtSeqValid[AW]) names.
2004-04-14 04:28:27 +00:00
Filip Navara 2392a36370 Get rid of non-standard ERROR_UNKNOWN value. 2004-04-12 23:15:11 +00:00
Dimitrie O. Paun 4e6fca0efc Don't declare GDI stuff when NOGDI is defined. 2004-04-12 22:02:54 +00:00
Filip Navara f379a1dccf Get rid of E_UNSPEC non-standard error value. 2004-04-12 22:02:37 +00:00
Dimitrie O. Paun a5686fe589 Added definition for HUGE_VAL. 2004-04-09 19:02:45 +00:00
Dimitrie O. Paun 64fd63f754 Add struct name for BITMAPINFO. 2004-04-09 19:02:07 +00:00
Alexandre Julliard 18c08d307a Removed the get_file_info request. 2004-04-08 19:09:04 +00:00
Rein Klazes d313f20593 Add some structures and defines. 2004-04-08 19:06:26 +00:00
Alexandre Julliard 743997fa38 Replace the get_file_info request by an fstat() on the client side. 2004-04-08 04:39:59 +00:00
Alexandre Julliard db4517010b Handle the set_file_pointer request on the client side. 2004-04-07 22:02:09 +00:00
Steven Edwards 2d0413012f Fix compiling under MS_VC 6. 2004-04-07 21:59:15 +00:00
Raphael Junqueira 43b9f97b22 - fix DbgPrint and implement DbgPrintEx
- stub for NtImpersonateAnonymousToken
2004-04-07 19:05:34 +00:00
Raphael Junqueira 5891249f1b Correct dplay8 headers for future use. 2004-04-07 18:59:53 +00:00
Mike McCormack c7c9f93913 Load the XRandR extension dynamically (with help from Alex Pasadyn). 2004-04-07 03:57:35 +00:00
Alexandre Julliard 49b2f6d964 Get rid of the removable media handling in the server. 2004-04-06 23:41:01 +00:00
Alexandre Julliard 670711ef25 Handle file mappings on removable media entirely inside ntdll. 2004-04-06 23:13:47 +00:00
Alexandre Julliard e77c9be0dc Added support for fstatvfs. 2004-04-06 03:33:25 +00:00
Juan Lang 2feebb4578 - implement loading network providers
- implement enumeration functions
- some improved error checking and A->W conversion
2004-04-05 23:14:26 +00:00
Eric Pouech f35d1caeef Moved quite a few functions to dbghelp (removed debug.c and symbol.c
files).
2004-04-05 22:50:45 +00:00
Rein Klazes 36f8f1b791 Stub implementation for WSALookupServiceBeginA/W. 2004-04-05 22:23:05 +00:00
Eric Pouech 800864a050 First shot at implementing dbghelp. 2004-04-05 22:21:27 +00:00
Alexandre Julliard 27b1cf9ab1 Fixed RtlDosPathNameToNtPathName_U prototype. 2004-04-05 20:21:16 +00:00
Juan Lang 65c7aa9947 Add a bunch of missing declarations. 2004-04-05 20:18:45 +00:00
Juan Lang a89674f302 ifdef guard TCHAR declaration like PSDK does. 2004-04-05 20:18:22 +00:00
Eric Pouech 30dbb04998 - implemented MCI_SOUND command
- fixed MCI command table in resource
- added a TODO list on MCI handling
2004-04-05 20:16:11 +00:00
Alexandre Julliard b70e0c8ea6 Removed the FailReadOnly option, this is now the default behavior. 2004-04-02 23:33:39 +00:00
Felix Nawothnig 5e80d6f5f0 Define all macros described on MSDN. 2004-04-02 23:28:31 +00:00
Alexandre Julliard 5333206978 Added memicmpW. 2004-04-02 19:40:31 +00:00
Dimitrie O. Paun abe9c975a8 Remove the rest of the Tweak look hack. 2004-04-01 21:06:14 +00:00
Rolf Kalbermatter 9e06d0c68a Add some declarations for additional SHFileOperation features. 2004-04-01 21:01:04 +00:00
Dimitrie O. Paun 126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Francois Gouget ff915d457b Make sure ip_mreq is not exported by winsock2.h.
Add ip_mreq, ip_mreq_source and ip_msfilter to ws2tcpip.h.
2004-03-31 19:58:46 +00:00
Mike McCormack a4e902cbe1 Convert the wininet HTTP functions to Unicode. 2004-03-30 04:36:09 +00:00
Ivan Leo Murray-Smith 1480809714 In resource info allow OriginalFilename and InternalName to be
different.
2004-03-30 04:33:08 +00:00
Mike McCormack 23d036719d Move EMR*16 definitions to wingdi.h, as they're part of the WIN32 API. 2004-03-29 23:04:11 +00:00
Kevin Koltzau 10a3fd3c3a Implement loading and saving to a stream, and a few other basic
functions.
2004-03-29 21:39:44 +00:00
Alexandre Julliard a1fe8b4f24 Use futimes() instead of utime() to implement SetFileTime, so that it
can be done on the client side.
2004-03-27 01:48:52 +00:00
Alexandre Julliard af16aac743 Reimplemented SearchPathW using ntdll functions. 2004-03-25 23:41:04 +00:00
Felix Nawothnig 18a0045ac5 Define ip_mreq. 2004-03-25 23:36:26 +00:00
Felix Nawothnig 518acec60c Define (L)DBL_* and FLT_*. 2004-03-25 23:36:14 +00:00
Mike McCormack cb308327a4 Define flags for GetUserObjectInformation. 2004-03-25 05:29:22 +00:00
Alexandre Julliard b400edb0e7 Removed check for -lm, winegcc takes care of that. 2004-03-25 00:47:53 +00:00
Felix Nawothnig 4b2edce840 Define stat in msvcrt/wchar.h. 2004-03-25 00:10:06 +00:00
Robert Shearman 17790040bf Added some declarations. 2004-03-22 22:58:04 +00:00
Eric Pouech b74750c1b5 Added C++ support. 2004-03-22 20:38:06 +00:00
Alexandre Julliard 1de20ae4af Rewrote handling of COM and LPT devices to use symlinks in
$WINEPREFIX/dosdevices, with suitable defaults if the symlinks are
missing.
Rewrote QueryDosDevice and DefineDosDevice to use the new scheme.
Added temporary code to create the symlinks based on the contents of
the config file.
2004-03-20 02:28:51 +00:00
Alexandre Julliard adc0610db7 Make the standard create_file request handle serial ports too, and
remove the create_serial request.
2004-03-18 04:08:48 +00:00
Raphael Junqueira ca6b072689 Stub implementations of RtlCreateQueryDebugBuffer,
RtlDestroyQueryDebugBuffer and RtlQueryProcessDebugInformation.
2004-03-18 02:08:43 +00:00
Hans Leidekker 821f4775a3 - Prefix many more functions, types, structs, etc. with MSVCRT_.
- Correct prototypes for _memccpy()/_memicmp().
- "define before use" reordering in file.c.
- Use the new math.h/float.h.
2004-03-16 19:17:11 +00:00
Alexandre Julliard f30cfa8858 Implemented NtQueryDirectoryFile (partly based on a patch by Eric
Pouech).
2004-03-16 01:32:02 +00:00
Mike McCormack d7427c8941 Declare MsiGetProductPropertyA/W. 2004-03-15 20:10:50 +00:00
Mike McCormack 65be0d1f50 Added SetupCreateDiskSpaceList stub. 2004-03-15 20:07:25 +00:00
Hans Leidekker 285ad721f4 The beginnings of math.h and float.h. 2004-03-12 19:47:20 +00:00
Dmitry Timoshkov 21fc3c8067 CreateDIBSection takes a const pointer to BITMAPINFO. 2004-03-12 19:46:12 +00:00
Robert Reif cb86255de7 Added WAVEFORMATEXTENSIBLE. 2004-03-12 19:43:19 +00:00
Alexandre Julliard 014099caf5 Changed the create_file server request to take NtCreateFile flags
instead of CreateFileW ones (based on a patch by Eric Pouech).
2004-03-12 01:56:49 +00:00
Ge van Geldorp 5bec0d7ef8 Change GetFileTitleA/W prototype to match PSDK. 2004-03-12 01:52:11 +00:00
Robert Reif f260380e5e Added some missing defines. 2004-03-11 03:49:49 +00:00
Alexandre Julliard 63fae64558 Added definitions for S_IXUSR, S_IXGRP and S_IXOTH. 2004-03-10 01:54:39 +00:00
Alexandre Julliard 8045ad5c0e Removed some unnecessary definitions from file.h.
Got rid of drive.h.
2004-03-09 23:51:02 +00:00
Alexandre Julliard 00777ec914 Get rid of the Filesystem option in the drive config, this was more
confusing than useful.
2004-03-09 19:52:06 +00:00
Alexandre Julliard f8c24212ae Added statvfs prototype. 2004-03-09 19:22:08 +00:00
Christian Costa 76b7787b58 Add amstream dll (MultiMedia Streams), part of Direct Show. 2004-03-09 01:29:56 +00:00
Alexandre Julliard 954c570ae3 Reimplemented GetVolumeInformation and SetVolumeLabel; volume label
and serial number are now stored in the filesystem instead of in the
config file (partly based on a patch by Eric Pouech).
2004-03-09 01:03:03 +00:00
Alexandre Julliard b859a68682 Added check for f_namelen in struct statfs. 2004-03-07 03:16:43 +00:00
Alexandre Julliard 13af489103 Use statvfs instead of statfs, and provide a default implementation in
libwine_port if necessary.
2004-03-05 21:03:46 +00:00
Alexandre Julliard db692c8f39 Open a real file handle for drive devices, and get rid of the server
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Alexandre Julliard 05df86a38f Moved more GDI definitions to gdi_private.h.
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Alexandre Julliard 45468c06df Changed the GetTextExtentPoint graphics driver entry point to return
device coordinates.
Removed not used breakCount field in the DC structure.
2004-03-03 21:32:15 +00:00
Alexandre Julliard cb4ecc878f Implemented Get/SetBoundsRect based on a patch by Ken Belleau. 2004-03-03 05:29:44 +00:00
Robert Shearman bea0b25554 - Add more RPC format characters.
- Add some NDR functions and structures.
2004-03-03 05:25:37 +00:00
Christian Costa f1c1b6d3cb Added evcode.h include. 2004-03-03 02:18:32 +00:00
Hans Leidekker f7ed056a43 Added protocol type constants. 2004-03-02 20:53:31 +00:00
Robert Reif 2e4105c63b Added dxerr8.h and dxerr9.h header files. 2004-03-02 06:44:26 +00:00
Juan Lang 3ed89c33b0 Added a secur32.dll that loads other SSP DLLs and forwards calls to
them.
2004-03-02 04:57:35 +00:00
Dimitrie O. Paun f41c2b212a Instrument winegcc to use the compilers and options detected at
configure time. Add support for parsing/formatting a string array
from/to a char string. Add option to disable short wchar support in
winegcc.
2004-03-02 02:23:26 +00:00
Kevin Koltzau bf6df05053 Define MKSYS_URLMONIKER. 2004-03-01 23:12:47 +00:00
Juan Lang 939d9ca3f3 Added sspi.h. 2004-03-01 23:10:33 +00:00
Alexandre Julliard e8a339c1d2 Portability fixes for LSB compatibility. 2004-03-01 21:32:02 +00:00
Martin Fuchs 4932f56062 Correct return type of SysStringLen() and SysStringByteLen(). 2004-03-01 21:22:59 +00:00
Juan Lang 1795994d53 - correct some prototypes, add some defines
- stub a couple more functions
2004-03-01 21:19:37 +00:00
Juan Lang 159e0dc242 Declare a few more Net apis and constants. 2004-03-01 21:18:49 +00:00
Patrik Stridvall 774c88a24d More stubs and better headers for mswsock.dll. 2004-02-28 01:49:37 +00:00
Robert Reif e7310f4461 Added missing #define for DS_INCOMPLETE. 2004-02-27 21:29:10 +00:00
Patrik Stridvall 885450a38e Added proper headers for the *ActCtx* functions. 2004-02-27 21:28:34 +00:00
Patrik Stridvall 5b6ba6038d Added macro DEFAULT_UNREACHABLE. 2004-02-27 21:25:12 +00:00
Alexandre Julliard 5a157628c7 Implemented InstallHinfSection (based on a patch by Chris Morgan). 2004-02-27 04:43:32 +00:00
Alexandre Julliard cb283489ad Added support for the RegisterDlls section (partly based on a patch by
Chris Morgan).
2004-02-27 00:47:10 +00:00
Dmitry Timoshkov 7009428f81 Add A/W mapping for MCI_DGV_WINDOW_PARMS. 2004-02-26 05:28:49 +00:00
Rok Mandeljc b26d65bba9 Added name resolving for CLSIDs, IIDs, GUIDs and return codes. 2004-02-25 01:30:03 +00:00
Alexandre Julliard 1a87dc42e2 Removed some of the DOS device hacks (based on a patch by Eric
Pouech).
2004-02-24 01:15:12 +00:00
Uwe Bonnes 9ffce00940 Pass inherit handle flag properly for CreateNamedPipe. 2004-02-24 01:06:30 +00:00
Alexandre Julliard 4d984fd9c1 Create real file handles for VxDs instead of using the server device
object hack (partly based on a patch by Eric Pouech).
2004-02-20 05:22:20 +00:00
Alexandre Julliard c042e13ef6 Fixed varargs handling in the scanf functions (spotted by Eric
Pouech).
2004-02-19 01:13:12 +00:00
Kevin Koltzau 80d8cc36b4 Define SPI_* values introduced in XP. 2004-02-19 01:10:34 +00:00
Christian Costa fabcd27800 Added some stubs. 2004-02-17 21:05:44 +00:00
Huw Davies 14743a0f3b SetMenu should always call SetWindowPos whether the window is visible
or not. However we shouldn't call SWP from CreateWindowEx.
Added a test for this behaviour.
2004-02-17 20:29:05 +00:00
Robert Shearman 41596e8031 - Fix some traces.
- The TBM_GET*HOTLIST functions take imagelist ID in wParam.
- Implement TBM_GETSTRING{A,W}.
- Implement undocumented 0x462 message.
2004-02-17 20:28:19 +00:00
Alexandre Julliard 1415a11034 Fixed IntlStrEqWorkerA/W prototypes. 2004-02-17 20:25:12 +00:00
Alexandre Julliard e04fe7da4e Moved hGCClipRgn handling to the graphics driver. 2004-02-13 20:26:27 +00:00
Alexandre Julliard d1f73181f8 Removed a couple of unused fields in the DC structure. 2004-02-13 04:06:37 +00:00
Steven Edwards ae9ce86324 Windows porting fix - Define O_NONBLOCK if not defined. 2004-02-12 22:39:18 +00:00
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Alexandre Julliard 487b9f5f00 Moved some more definitions out of undocshell.h into the exported
headers.
2004-02-11 06:21:45 +00:00
Martin Fuchs fa828cd057 - move some PIDL function declarations from undocshell.h into public
header, as they are no longer undocumented
- implement context menu support for Winefile
2004-02-11 04:18:12 +00:00
Steven Edwards 000a5c73ee Porting Fixes for Mingw/MSVC. 2004-02-10 20:09:43 +00:00
Francois Gouget 7b6935c2ae Remove the winetest_ok() hack that adds a trailing '\n' if it is
missing.
2004-02-10 20:09:26 +00:00
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