Commit Graph

4314 Commits

Author SHA1 Message Date
Alexandre Julliard d876893fc1 Store the 16-bit stack pointer in the WOW32Reserved TEB field. 2005-05-14 12:16:46 +00:00
Alexandre Julliard 7e4af0f60b Store the winsock per-thread data in NtCurrentTeb()->WinSockData
instead of using TlsAlloc.
2005-05-14 11:09:21 +00:00
Juan Lang e5b4a6973a Implement signals. 2005-05-13 17:44:28 +00:00
Juan Lang 164f8fbb45 Added schannel header files. 2005-05-12 09:55:10 +00:00
Alexandre Julliard 9e73cdde39 Allow passing a string to the window property server requests instead
of an atom to avoid redundant server round-trips.
2005-05-11 19:01:10 +00:00
Paul Vriens ad8d542a93 Sorted some of the structs and made them consistent. 2005-05-11 18:23:46 +00:00
Alexandre Julliard 5590c8d159 Added a few missing structure names. 2005-05-11 15:57:44 +00:00
Eric Pouech 26c9b074c7 Implemented NTDLL atom support. 2005-05-11 15:55:49 +00:00
Alexandre Julliard 63342353bc Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Aric Stewart ea6ecf44ff Add a stub implementation of RegisterTraceGuids. 2005-05-11 13:00:18 +00:00
Dimitrie O. Paun 1ef6e296f9 Move {ABOVE,BELOW}_NORMAL_PRIORITY_CLASS to winbase.h. 2005-05-11 12:00:58 +00:00
Eric Pouech 6246c2d4c4 Get rid of include/miscemu.h. 2005-05-10 16:01:38 +00:00
Eric Pouech 16df50efbe Moved DOS memory handling to winedos. 2005-05-10 15:22:09 +00:00
Eric Pouech e6267369b2 - changed ATOM support in wineserver to match NTDLL needs
- adapted accordingly kernel32 atom support
2005-05-10 15:15:50 +00:00
Paul Vriens 219bff0f29 Changed SystemHandleList into SystemHandleInformation
Unknown18 is now SystemPageFileInformation
Some consistency (added numbers to the definitions).
2005-05-10 13:15:41 +00:00
Juan Lang ffebbae54f Fix FILETIME to match winbase.h on big-endian machines. 2005-05-10 08:28:37 +00:00
Juan Lang ac0ba1a241 Partially implement AppSearch for RegLocator-type searches. 2005-05-10 08:27:00 +00:00
Andreas Mohr 51198f8eb6 Fix for CommConfigDialog*() hwnd argument. 2005-05-09 19:32:33 +00:00
Paul Vriens 64a44a45c1 Remove HANDLEINFO struct.
Add SYSTEM_HANDLE_INFORMATION and SYSTEM_HANDLE_ENTRY structs.
2005-05-09 19:32:04 +00:00
Paul Vriens 424cc2a0a2 Remove the not used PROCESS_INFO struct. 2005-05-09 14:35:14 +00:00
Alexandre Julliard 26050b49d5 Prefix the internal name of all register functions with __regs_ for
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Robert Lunnon c0cb4d352b Implement futimes for Solaris using futimesat. 2005-05-07 14:53:38 +00:00
Alexandre Julliard 3629cc4ed6 Eric Kohl <eric.kohl_at_t-online.de>
Implement CaptureAndConvertAnsiArg, CaptureStringArg,
OpenAndMapForRead, RetreiveFileSecurity, StampFileSecurity,
TakeOwnershipOfFile, and UnmapAndCloseFile.
2005-05-06 15:38:22 +00:00
Francois Gouget 8054f6c5ad Update win32.api to match the current sources.
Declare CoGetClassObjectFromURL() in urlmon.h.
2005-05-06 14:32:48 +00:00
Matthew Mastracci 8188790946 Replace StgCreateStorageEx stub with call to StgCreateDocfile and add
required STGFMT_* enumerations.
2005-05-05 16:44:05 +00:00
Rein Klazes aecbcac865 Add 16<->32 bit message mappings for WM_COPYDATA messages. 2005-05-05 16:43:17 +00:00
Maarten Lankhorst 2b6385671f Added IAMVideoProcAmp. 2005-05-04 09:46:24 +00:00
Mike McCormack abe70f7648 Implemented GetLastInputInfo. 2005-04-28 12:04:14 +00:00
Jeff Latimer 9a6a30141b Define strncpyW to ensure that users know why it is not present. 2005-04-28 12:01:37 +00:00
Eric Pouech 1575c940ef - delayed initialisation of BIOS and SYSTEM information until someone
actually needs it
- now using some manifest constants to make code clearer
2005-04-27 11:08:47 +00:00
Maarten Lankhorst 888eaae74c Implemented capGetDriverDescription. 2005-04-27 09:46:25 +00:00
Alexandre Julliard 86be9f20da Removed the MESSAGEQUEUE structure, and store the corresponding
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Alexandre Julliard 205d3c45e3 Added proper names for the remaining TEB fields. 2005-04-27 08:14:18 +00:00
Alexandre Julliard f2ad8e3121 Define strncpy to an error to make sure it doesn't creep back in. 2005-04-25 16:23:32 +00:00
Alexandre Julliard 240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Marcus Meissner 6b7e3e1cfd gcc4 alias fixes. 2005-04-25 10:48:59 +00:00
Mike McCormack f92fff66a2 Implemented NtSignalAndWaitForSingleObject. 2005-04-24 17:35:52 +00:00
Robert Shearman d2ea92d14e - Clean up well-known privileges.
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Alexandre Julliard b965457c4a Get rid of the remaining calls to strncpyW, and remove that function
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
Paul Vriens 08ae0d09bb Remove THREAD_INFO struct.
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Francois Gouget 30a07e9046 Fix the DCICreatePrimary() prototype. It's supposed to return an int
so have it return DCI_FAIL_UNSUPPORTED.
Add the needed error codes and the DCISURFACEINFO definition to
dciddi.h.
Add dciman.h and put the function prototypes there.
dciddi.h and dciman.h should be installed with the other Windows
headers.
2005-04-20 18:42:04 +00:00
Alexandre Julliard 3e2f2a5265 Allow nested hardware message processing by storing a unique id in
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Mike McCormack 8f983be0b5 Added evntrace.h and wmistr.h. 2005-04-20 12:52:24 +00:00
Mike McCormack e744735f3e Define LPCGUID. 2005-04-20 12:52:07 +00:00
Huw Davies bd4af76514 WTSFreeMemory stub. 2005-04-19 12:00:29 +00:00
Francois Gouget 4527aae24f Assorted spelling fixes. 2005-04-19 09:49:38 +00:00
Eric Pouech 0a9f98b9bd Removed the no longer user APC_ASYNC kind of APC. 2005-04-18 15:38:44 +00:00
Eric Pouech 5a2591d96d - moved named pipe creation to ntdll
- server now handles the named pipe flags as the NTDLL values (not the
  KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
  connect/wait ops
2005-04-18 14:57:04 +00:00
Eric Pouech a8d8b52d6f Added proper definition for PRINTDLGEX[AW] structures. 2005-04-18 10:01:07 +00:00
Sami Aario 9b90532c68 Added stubs for RunSetupCommand and DelNode. 2005-04-18 09:51:53 +00:00
Mike McCormack 58a4fb9ef0 Declare and define a stub for NtSignalAndWaitForSingleObject. 2005-04-16 11:19:27 +00:00
Benjamin Cutler c31a7e98f1 - Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
2005-04-16 10:45:51 +00:00
Mike McCormack 20e23d8dd4 Add some more Windows Terminal Server API definitions. 2005-04-15 14:10:00 +00:00
Mike McCormack 04efa1338c Add prototypes for some Gdi* functions. 2005-04-15 14:08:18 +00:00
Michael Lin c3caaea21d Define WINUSERAPI. 2005-04-14 11:32:28 +00:00
Alexandre Julliard 4722941695 Moved the BITMAPOBJ structure to gdi_private.h. 2005-04-13 16:11:18 +00:00
Steven Edwards ad7f4daf35 Register Shell Drag and Drop Helper. 2005-04-13 11:07:49 +00:00
Ivan Leo Puoti 3f379d96ae Added typedef for DEVICE_POWER_STATE. 2005-04-12 11:58:43 +00:00
Alexandre Julliard ec15e3f1fc Add new powrprof.h header. 2005-04-11 18:51:17 +00:00
Huw Davies ad5ec7837e Add some missing SFGAO_ defines and fix SFGAO_GHOSTED. 2005-04-11 18:50:15 +00:00
Benjamin Cutler ee59cad92d Added function/enum/structs for power management API. 2005-04-11 18:49:10 +00:00
Mike McCormack 016206c1e1 Move mailslot set and query info implementation to ntdll. 2005-04-11 14:20:49 +00:00
Michael Lin 50e9a09c4a Added missing OleDraw() declaration. 2005-04-11 13:00:41 +00:00
Juan Lang 6f3228a539 Implement SetupDiClassNameFromGuidExA. 2005-04-11 12:59:45 +00:00
Juan Lang 0a1481a73f Add a few missing declarations. 2005-04-11 12:59:25 +00:00
Mike McCormack 9f1030c20f Add uCLSSPEC, CSPLATFORM and QUERYCONTEXT structures. 2005-04-11 12:58:44 +00:00
Dimitrie O. Paun 8c6819fd86 Remove reference to nonexistant strmif.h. 2005-04-11 12:58:13 +00:00
James Hawkins fd6d3567de Remove nonstandard type LPLPVOID. 2005-04-11 12:52:00 +00:00
Vincent Béron 5d0cc8fbdf Fix a typo in a comment. 2005-04-11 12:50:19 +00:00
Alexandre Julliard bc75f2f6c9 Return the coordinates information needed to setup the DC parameters
in the get_visible_region request instead of requiring the client to
compute it again.
2005-03-31 15:36:57 +00:00
Mike McCormack 2ab6a775bd Implement mailslots. 2005-03-30 19:02:15 +00:00
Jacek Caban 6d19a37c84 Added IMonikerProp and IInternetPriority interfaces. 2005-03-30 17:05:22 +00:00
Jacek Caban e78fab2b15 Added some definitions. 2005-03-30 17:05:12 +00:00
Alexandre Julliard d99df2b757 Only reset the clip region in GetDC() if a new region is specified.
Don't release the clip region for window DCs in ReleaseDC(), except
when called from EndPaint().
Added a bunch of tests.
2005-03-30 10:28:58 +00:00
Oliver Stieber 67f2ad4563 - Volume now inherits Resource. This isn't the way Microsoft implements
the interface but it is more correct way (Microsoft even have a
  resource type of volume).
- Moved usage, format, allocatedMemory and size onto the resource
  class structure.
- Refactored Preload for classes that inherit BaseTexture, preload now
  binds the texture instead of bind texture calling preload, bindTexture
  allocated a glTexture if there isn't one.
- Added two new class static members BaseTexture_CleanUp and
  Resource_CleanUp that should be called by classes that implement
  BaseTexture or Resource.
2005-03-29 19:01:00 +00:00
Eric Pouech 7ea69cc7ea - Various improvements for minidump module information
. added timestamp & checksum in PE module
  . added size & checksum in ELF module
  . wine loader now appears with its pathname.
- Implemented PE & ELF timestamp & checksum validation in
  SymFindFileInPath.
2005-03-29 13:14:08 +00:00
James Hawkins 580ded65e7 - Implement NtLoadKey.
- Forward RegLoadKey to NtLoadKey.
2005-03-29 11:38:58 +00:00
Mike McCormack 6c42be25e7 Implement CreateMailslot using NtCreateMailslotFile. 2005-03-28 10:03:56 +00:00
Vladdy Impaler 84ca4b0123 Define the IAMStreamConfig interface. 2005-03-28 09:59:53 +00:00
Alexandre Julliard 3a522f3d71 Store the handle to the stock bitmap when the first DC is created to
avoid exporting the DEFAULT_BITMAP define.
2005-03-27 18:19:59 +00:00
Alexandre Julliard 5e6461b6e7 Explicitly store the stack of saved DCs in the DC structure instead of
using the 16-bit hNext field in the object header.
2005-03-25 20:58:29 +00:00
Jacek Caban 6f9ddc3bab Added mshtmhst.idl. 2005-03-25 20:46:48 +00:00
Alexandre Julliard 2fb7c8754a Moved DCE support to the X11 driver. 2005-03-25 16:47:04 +00:00
Alexandre Julliard 4d32a475a8 Replace the link_window request by a set_parent request since that is
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.
2005-03-25 10:38:56 +00:00
Kevin Koltzau f4767f1424 Added full support for xbuttons (side mouse buttons). 2005-03-24 19:15:41 +00:00
Alexandre Julliard 039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard 04881fae7a Get rid of the window lock suspend mechanism. 2005-03-23 13:18:51 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Alexandre Julliard 0bc8377bc2 Create a new server request for accepting hardware messages instead of
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.
2005-03-23 10:33:17 +00:00
Alexandre Julliard 5054c79880 Try to always keep the server window Z-order in sync with the X11 one
using a heuristic based on mouse and expose events.
2005-03-21 12:37:00 +00:00
Troy Rollo 9c7932d475 Implement CreateUrlCacheEntryW and CommitUrlCacheEntryW. Replace the
existing 'A' versions with calls to the 'W' versions.
2005-03-21 12:33:17 +00:00
Vincent Béron 1e365f7791 Fixed some calling conventions. 2005-03-21 10:32:45 +00:00
Alexandre Julliard f1020bc6e0 Added support for the TLS expansion slots, adding an extra 1024
entries.
2005-03-19 17:14:12 +00:00
Mike McCormack 758a69515b Implement summary information loading and saving. 2005-03-18 14:01:39 +00:00
Alexandre Julliard f75609087a Make the server know about the visible area of a window, which is the
window rect minus the caption and borders when they are handled by the
window manager.
2005-03-17 19:10:41 +00:00
Dmitry Timoshkov 75b93ff1aa Match OVERLAPPED structure to the SDK definition. 2005-03-17 19:00:08 +00:00
Alexandre Julliard 4e47afb36f Compute the top clipping window directly on the server side. 2005-03-17 14:02:06 +00:00
Mike McCormack d9ef0a4ba4 Declare inline string function WINAPI (found by Krzysztof Foltman). 2005-03-17 13:56:53 +00:00
Jon Griffiths 62bc2c186f Add some missing interfaces. 2005-03-17 10:27:07 +00:00
Robert Shearman 1b5ebabdce - Add critsec debugging info.
- Move the modal loop called during RPCs into CoWaitForMultipleHandles.
- Use a mutex for long remoting calls to IRemUnknown methods.
- Remove locking in apartment_disconnectproxies as it is not needed.
- Use PostMessage instead of SendMessage so we can run the message
  loop or not as appropriate.
2005-03-17 10:26:20 +00:00
Phil Krylov 506fa21586 Added missing PFE_ and PFA_ definitions. 2005-03-16 20:17:52 +00:00
Mike McCormack fbee1de696 Add property IDs for MSI summary information. 2005-03-16 19:50:33 +00:00
Mike McCormack ecb33f2301 Add defines for SLDF flags. 2005-03-16 11:31:54 +00:00
Hans Leidekker e8e1c656d3 Stub implementations for WTSCloseServer, WTSDisconnectSession,
WTSEnumerateProcesses{A,W}, WTSEnumerateSessions{A,W},
WTSQuerySessionInformationA.
2005-03-16 11:27:05 +00:00
Phil Krylov 62a9a07dda Added missing PFA_JUSTIFY definition. 2005-03-14 21:39:57 +00:00
Mike McCormack 20899f7870 Move interface declarations to shobjidl.idl. 2005-03-14 17:14:40 +00:00
Oliver Stieber ba5eb14768 Encapsulate texture, surface encapsulated.
Added BindTexture, GetTextureDimensions, UnBindTexture.
Proper GetContainer support for surface.
SetContainer added to surface and volume.
SetInPbufferState added to surface (until gl context management is
implemented).
Minor changes:
- BaseTexture no longer 'holds' a reference to IWineD3DDevice to
  prevent circular referencing.
- Better managment of referinging for texture.
- Some TODO's for implementing a context manager.
- Better preload implementation.
- Fix compile warning in device.c Set/GetSamplerState.
- Add QueryInterface support for surface.
- Format X8R8G8B8 added to locking.
2005-03-14 10:12:52 +00:00
Martin Fuchs 2bbc7941da Fix function definitions for msvc build. 2005-03-14 10:07:40 +00:00
Alexandre Julliard bf08b35c07 Get rid of version #ifdefs. 2005-03-11 13:19:36 +00:00
Alexandre Julliard 99615021fb Properly cope with get_message being called recursively while
processing a hardware message.
2005-03-10 11:52:25 +00:00
Juan Lang cfcc7a72ce Add some missing declarations. 2005-03-10 11:14:59 +00:00
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +00:00
Robert Shearman c10dcfaf3f Remove duplicate message defines in header. 2005-03-09 12:39:15 +00:00
Maxime Bellengé cbd3a53d4b Implemented MIIM_BITMAP state.
Handle MNS_CHECKORBMP style.
2005-03-09 12:39:01 +00:00
Alexandre Julliard ffeda154a1 Fixed WS_FD_CLR and WS_FD_SET macros (spotted by Thomas Kho). 2005-03-08 16:25:59 +00:00
Ulrich Czekalla 5067909587 Create a thread-specific selection window to make sure we receive the
selection events in the correct thread.
2005-03-07 19:31:46 +00:00
Eric Pouech 642402d581 Added support for minidump (read & write). 2005-03-07 11:03:21 +00:00
Mike McCormack 7674702238 Declare the value of STGM_DIRECT_SWMR. 2005-03-05 10:47:01 +00:00
Steven Edwards 5727918424 Added a check for poll.h. 2005-03-04 12:38:36 +00:00
Krzysztof Foltman 50f59f8ced - added missing CFM_ constants to make RichEdit 2.0 implementation
possible
- added a missing structure PARAFORMAT2
2005-03-04 10:47:13 +00:00
Oliver Stieber 7b261656fd Added a stubbed out version of query to d3d9 and wined3d.
Update the d3d9 headers and creates wined3d types where d3d9 and d3d8
are incompatible.
2005-03-03 13:57:15 +00:00
Dimitrie O. Paun 50a0c8f734 Unicodification. Small cleanups. 2005-03-03 13:51:47 +00:00
Francois Gouget fbb3343547 Assorted spelling fixes. 2005-03-02 13:53:50 +00:00
Oliver Stieber 16e8689008 Implemented guids for wined3d. 2005-03-02 13:44:58 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Oliver Stieber 2121f7831e Put all the stubs in wined3d in place, with some functionality copied
across from d3d9.
Make sure all d3d9 device function call their wined3d counterpart (or
perform a function).
2005-03-02 12:16:10 +00:00
Alexandre Julliard 7caa1f6b4d Beginnings of inter-process GetDC support.
Use a standard list for the DCE list.
Small cleanups.
2005-03-02 10:24:38 +00:00
Juan Lang 47f1c88817 Implement SetupDiGetClassDevsA/W, SetupDiEnumDeviceInterfaces,
SetupDiDestroyDeviceInfoList, and SetupDiGetDeviceInterfaceDetailA for
serial ports.
2005-03-01 11:44:27 +00:00
Dmitry Timoshkov 0497af09a7 Match RaiseException and EXCEPTION_RECORD to SDK definitions. 2005-02-24 13:15:36 +00:00
Aric Stewart c2c0a98737 Define msidbComponentAttributes. 2005-02-24 10:05:34 +00:00
Ivan Leo Puoti d8793bb776 Added a couple of defines. 2005-02-22 19:32:22 +00:00
Mike McCormack 3b2019badb Make lstr* functions inline inside Wine. 2005-02-22 15:50:13 +00:00
Vincent Béron ed2aa10349 Add a definition for OpenInputDesktop().
Add constants for PBT_APM* parameters.
2005-02-21 20:40:13 +00:00
Hans Leidekker a5e361e6b8 - Add support for color transform handles.
- Implement CreateColorTransform{A,W}, CreateMultiProfileTransform,
  DeleteColorTransform.
- Don't depend on lcms for the implementation of
  IsColorProfileTagPresent.
2005-02-21 18:38:15 +00:00
Vincent Béron 06d7cae4d7 Add a stub for OleLoadPicturePath(). 2005-02-21 18:36:06 +00:00
Vincent Béron e3a1858f36 Add LWA_ constants, used in {S/G}LayeredWindowAttributes(). 2005-02-21 18:35:39 +00:00
Hans Leidekker 1e33acaa43 Stub implementations for AbortPrinter, AddPortEx{A,W},
AddPrinterConnection{A,W}, ConnectToPrinterDlg,
DeletePrinterConnection{A,W}, EnumForms{A,W}, EnumPrinterData{A,W],
ExtDeviceMode, Find{Close,First,Next}PrinterChangeNotification,
FreePrinterNotifyInfo, ScheduleJob.
2005-02-21 18:33:55 +00:00
Vincent Béron 35537fe977 Added LPDWORD definition. 2005-02-21 18:30:02 +00:00
Vincent Béron a57c3913f7 Added IRichEditOleCallback. 2005-02-21 18:28:47 +00:00
Vincent Béron 9afc3ebed4 Correct the number of args of SNDMSGA in ListView_GetSubItemRect. 2005-02-21 18:28:30 +00:00
James Hawkins ee8479596a Conditionally add DECLSPEC_ALIGN(8) to wine's 64-bit types and leave
the modifier off when compiling with msvc.
2005-02-18 12:56:35 +00:00
Mike McCormack 47f2489603 Added odbcinst.h. 2005-02-18 12:52:49 +00:00
Ivan Leo Puoti b0208974bd Add EVENT_QUERY_STATE define. 2005-02-16 17:52:22 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Ivan Leo Puoti 54d42573b1 Move Rtl*Registry* structs, defines and prototypes to winternl.h.
Fix two function declarations.
2005-02-15 20:47:24 +00:00
Mike McCormack a830bf55ca Define some extra SHFGI values. 2005-02-15 15:43:54 +00:00
Mike McCormack 0fba748f2a Add some more SPI values. 2005-02-15 15:43:43 +00:00
Eric Kohl 4d5c2318e6 Implement DelayedMove and FileExists. 2005-02-14 11:04:39 +00:00
Robert Shearman b0f02b28b9 - Implement AdjustTokenPrivileges, DuplicateTokenEx and
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
  set for the thread.
2005-02-11 11:52:06 +00:00
Mike McCormack d42081f8c9 Update headers, add MsiGetUserInfoA stub implementation. 2005-02-10 18:57:42 +00:00