Commit Graph

11612 Commits

Author SHA1 Message Date
Aric Stewart 41fbee0e83 Correct a missing MsiCloseHandle(). 2005-05-07 12:12:56 +00:00
Maarten Lankhorst 4c9f5f6456 Fixed two small memory leaks. 2005-05-07 12:12:29 +00:00
Stefan Leichter cabe752d1d Make ole32 tests loadable on NT4. 2005-05-07 12:09:58 +00:00
Alexandre Julliard b3e9c44741 Renamed wineps.dll to wineps.drv for consistency. 2005-05-06 20:04:27 +00:00
Alexandre Julliard 0bb4bddff4 Store the module instance we get in DllMain to avoid extra LoadLibrary
calls.
2005-05-06 20:02:36 +00:00
Alexandre Julliard c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Robert Reif 6ec5b351bb Move initialization to IDirectSound_Initialize.
Fix error paths to handle a failed IDirectSound_Initialize.
Add tests for IDirectSound_Initialize.
2005-05-06 19:33:32 +00:00
Michael Jung 15934680f7 Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption. 2005-05-06 19:33:06 +00:00
Michael Jung 94e5f01275 Display a drive icon for the unix root directory. 2005-05-06 19:32:54 +00:00
Robert Reif 723a67d1f8 Change FIXME to WARN. 2005-05-06 19:32:36 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard 2dabac08ee Added support in winebuild for specifying import libraries directly on
the command line without the -l option.
Changed the -d option to only mark the library as delayed, the actual
loading is now done separately.
2005-05-06 15:54:41 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +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
Maarten Lankhorst 8efc1f3612 Fixed a dozen of reference (and some memory) leaks.
Implemented filtergraph_pause/stop.
2005-05-06 14:34:44 +00:00
Maarten Lankhorst aa4df8f63a Fixed {Copy/Delete/Free}MediaType functions to show proper behaviour.
Fixed EnumMediaTypes to copy pbFormat too.
Added FreeMediaType.
2005-05-06 14:34:02 +00:00
Hartmut Birr af384ad7a8 Clean up if named pipe is not available. 2005-05-06 14:33:11 +00:00
Francois Gouget 63b596d7ea Tweak the documentation to make winapi_check happy. 2005-05-06 14:33:02 +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 6e028f414d Replace stub entry for StgOpenStorageEx with call to StgOpenStorage. 2005-05-06 14:32:30 +00:00
Alexandre Julliard ac0bf21abc Don't retrieve a window DC in GetUpdateRect if there is nothing to
erase, to avoid setting a null update region in an owned DC.
Avoid potential double delete of the update region on return from
send_erase.
2005-05-05 16:52:21 +00:00
759263042e Return ENOENT rather than EBADF from MSVCRT_fopen() when file doesn't
exist.
2005-05-05 16:48:28 +00:00
Robert Shearman 45d47c422f Fix RegDeleteKey{A,W} to open the specified key with the DELETE access
right.
2005-05-05 16:47:33 +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 05a494c2b5 In MaskBlt delete correct bitmap. 2005-05-05 16:43:26 +00:00
Rein Klazes aecbcac865 Add 16<->32 bit message mappings for WM_COPYDATA messages. 2005-05-05 16:43:17 +00:00
Rein Klazes 1e43a90727 - In MZ_DoLoadImage if an environment segment is specified in the
parameter block, use that and do not inherit from the calling
  process.
- Call FreeEnvironmentStrings when the strings are no longer used.
2005-05-05 10:32:54 +00:00
Michael Jung 45bcdd2be1 Fixed GetDisplayNameOf method to not depend on incorrect behaviour
regarding the SHGDN_INFOLDER flag.
2005-05-05 10:30:51 +00:00
Michael Jung ddc26aa94e Fixed MyComputer's GetDisplayNameOf method. 2005-05-05 10:30:39 +00:00
Lionel Ulmer a9d42f44c1 - do not flush the buffer when the application only wants to peek the
number of elements in the queue
- trace the GetDeviceState values before they are reset
2005-05-05 10:30:24 +00:00
Christian Costa 4598cde6f5 Added stub implementation for CoGetClassObjectFromURL. 2005-05-05 09:50:57 +00:00
Troy Rollo 833c946234 Correct bug truncating downloaded files to 4096 bytes. 2005-05-05 09:50:46 +00:00
Christian Costa 7180775af6 Forward CLSID_FilterGraphNoThread to CLSID_FilterGraph. 2005-05-05 09:50:35 +00:00
Emmanuel Maillard 034ebcc19e Fix compile on non-ELF host. 2005-05-05 09:50:13 +00:00
Lionel Ulmer fa8d7a0fe6 - more pretty print for the types flag
- more Windows-aligned check for object instances
2005-05-05 09:49:54 +00:00
Marcus Meissner 8480f39f11 Initialize iosb. 2005-05-05 09:49:43 +00:00
Ivan Leo Puoti a760181be0 Set win2k3 service pack number to 1. 2005-05-05 09:49:24 +00:00
Emmanuel Maillard 21f95cf761 - Fix NTDLL_wait_for_multiple_objects call in usr1_handler.
- Fix an error due to "invalid lvalue in assignment" with gcc 4 on
  Darwin 8.0.
2005-05-05 09:49:13 +00:00
Felix Nawothnig 2fcd42aac2 Set iItem to index before notifying callback items. 2005-05-04 10:37:17 +00:00
Marcus Meissner 1fa2da0756 Set PhysicalMemory property from system data. 2005-05-04 10:37:05 +00:00
Troy Rollo caf6fa9531 Implement URLMonikerImpl_BindToStorage. 2005-05-04 10:36:54 +00:00
Troy Rollo 9d86716ef6 Create URL Cache if it does not already exist. 2005-05-04 10:36:43 +00:00
Vincent Béron 0fa5e855fb Use SUBLANG_NEUTRAL for French resources. 2005-05-04 09:52:47 +00:00
Mike McCormack 2b2c6f2fba Remove static variables in SHBrowseForFolder implementation. 2005-05-04 09:48:15 +00:00
Hans Leidekker 64dcb35a4e Stub implementation for SetupCopyOEMInfW. 2005-05-04 09:47:28 +00:00
Hans Leidekker 969c4dee50 Bump version number to XP SP2. 2005-05-04 09:47:13 +00:00
Robert Reif ed2a6e4aae Set driver type properly. 2005-05-04 09:46:41 +00:00
James Dean Anderson da87fa817d Report an error if trying to get data from an unacquired mouse. 2005-05-04 09:46:07 +00:00
Ivan Wong bf8f93d915 Added Hong Kong Standard Time (HKT). 2005-05-04 09:45:48 +00:00
Ulrich Czekalla 4b13086685 Let the default winproc handle WM_MOUSEACTIVATE. 2005-05-04 09:45:33 +00:00
Raphael Junqueira 44cfc89849 - implement wglGetCurrentReadDCARB, wglMakeContextCurrentARB on
openGL32 (wgl_ext)
- add code to disable some openGL extensions support using wine
  registry key HKLM\Software\Wine\OpenGL\DisabledExtensions (list
  separated by spaces)
- valid/robust implementation of wglChoosePixelFormatARB and
  wglGetPixelFormatAttribivARB (wgl_ext)
2005-04-28 18:31:15 +00:00
Raphael Junqueira 9e034b7fb8 - valid implementation of X11DRV_ChoosePixelFormat using GLX1.3 API
(ie. using real card caps and not ugly way using visuals array) to
  be compatible with opengl32 pixel formats (wgl*PixelFormat* APIs) as
  they need to be the same
- add more traces to xrandr
2005-04-28 18:29:12 +00:00
Aric Stewart 2b8bf597b5 Correct user component publication.
Implement MsiEnumComponentQualifiers.
2005-04-28 18:28:11 +00:00
Marcus Meissner c4d25aec20 Fixed stack overwrite by using sizeof(WS_sockaddr_ipx). 2005-04-28 18:27:27 +00:00
Mike McCormack 95a58eba7d Split up the window procedure. 2005-04-28 18:26:58 +00:00
Mike McCormack abe70f7648 Implemented GetLastInputInfo. 2005-04-28 12:04:14 +00:00
Raphael Junqueira 086f77a034 - implement memory access APIs to VertexBuffers
- more valid implementation for IWineD3DImpl_Check* APIs (not more
  S_OK for all cases)
2005-04-28 12:02:03 +00:00
Aric Stewart ece85e0cf0 Implement MsiQueryFeatureStateW. 2005-04-28 12:01:06 +00:00
Alexandre Julliard d3a195a66d Moved the USER syslevel to dlls/user/user_main.c.
Moved a bunch of stubs to dlls/user/misc.c.
2005-04-27 11:09:55 +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 8a7960c4f9 Added the video input device category. 2005-04-27 11:07:55 +00:00
Alexandre Julliard 6b4c02e57f Moved remaining messaging definitions to user_private.h and removed
message.h.
2005-04-27 10:23:24 +00:00
Mike McCormack 07c74d07f3 Make sure that dialogs are only created and destroyed in a single
thread.
2005-04-27 10:16:57 +00:00
Maarten Lankhorst 888eaae74c Implemented capGetDriverDescription. 2005-04-27 09:46:25 +00:00
Mike McCormack b2ba933fcf Make multimedia threads high priority. 2005-04-27 09:39:55 +00:00
Sami Aario c7bd5fb16d Added initial version of Delnode plus some tests. 2005-04-27 09:37: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
Mike McCormack 795b17e055 Make WINMM_IData statically allocated. 2005-04-27 08:12:58 +00:00
Raphael Junqueira 4ed37e03c6 Fix crash on drawStridedSlow. 2005-04-27 08:12:23 +00:00
Gerald Pfeifer 039869eed1 Include <limits.h> to get a definition of NAME_MAX. 2005-04-27 08:12:08 +00:00
Aric Stewart afcaf83ed7 Correct a leaking hkey handle. 2005-04-27 08:11:52 +00:00
Aric Stewart 1b54881209 Expand some handling of special properties in MsiGetProductInfo. 2005-04-26 14:30:31 +00:00
Mike McCormack f47c0b2e29 Declare MsiExportDatabase* in the spec file, and fix a typo. 2005-04-26 14:30:15 +00:00
Christian Costa 0b3c79f712 Fixed flags handling in MCIAVI_mciInfo. 2005-04-26 14:29:57 +00:00
Alexandre Julliard b6f4eccdbd Moved some messaging and input functions to message.c and input.c
respectively.
2005-04-26 08:18:47 +00:00
Ulrich Czekalla a800dfe52e SetParent should not remove menu from non-child windows. 2005-04-26 08:16:17 +00:00
Huw Davies 1fbea59ff2 The ansi version of CB_ADDSTRING shouldn't overwrite the string if
converting case.
2005-04-26 08:15:53 +00:00
Maarten Lankhorst 32498176e8 Fixed a reference leak. 2005-04-26 08:15:38 +00:00
Alexandre Julliard 40b7a50f8e Moved the ScrollWindow and ScrollDC functions to dlls/user/painting.c,
and removed windows/scroll.c.
2005-04-25 16:13:17 +00:00
Maxime Bellengé 6762313cdf Prevent CreateDCA from crashing if a bad lpInitData parameter is
provided.
2005-04-25 16:02:27 +00:00
Ivan Leo Puoti 26d2b8bf5e Add parameter checking to NtReadFile/NtWriteFile. 2005-04-25 16:02:16 +00:00
Alexandre Julliard 240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Alexandre Julliard 172e731c0b Moved most files from the windows directory to dlls/user. 2005-04-25 11:33:34 +00:00
Michael Jung 3abb5bd6bb Support for regular files (as opposed to directories). 2005-04-25 10:56:29 +00:00
Christian Costa e901cc4b53 Improved errors handling a bit in dsound renderer. 2005-04-25 10:49:22 +00:00
Marcus Meissner accf3ee2e6 Fixed 3 memset()s which used the wrong size (too large). 2005-04-25 10:48:38 +00:00
Mike McCormack 70d30cb54a Tests for SignalObjectAndWait. 2005-04-24 17:37:52 +00:00
Mike McCormack 0cd4317c71 Implemented SignalObjectAndWait. 2005-04-24 17:36:34 +00:00
Mike McCormack f92fff66a2 Implemented NtSignalAndWaitForSingleObject. 2005-04-24 17:35:52 +00:00
Robert Reif 684f111070 Remove priority boost stuff. 2005-04-24 17:23:51 +00:00
Dylan Taft 14b3729ac3 Set display frequency too in SetDisplayMode. 2005-04-24 17:23:39 +00:00
Juan Lang b99dfb0c1a Define and use endian conversion macros for big-endian machines. 2005-04-24 17:22:26 +00:00
Juan Lang 576aa4a6d8 Export _tzname, expected by Mozilla. 2005-04-23 19:06:29 +00:00
Stefan Leichter 21be2f734e Excluded tests crashing on NT4 from compiling. 2005-04-23 19:05:03 +00:00
Juan Lang bf83ba1fa3 - convert strings between property storage's code page and system code
page
- add tests for setting code page
- fix tests and behavior to match WinXP
2005-04-23 19:04:49 +00:00
Robert Reif 419e92812b Set thread priority for timer thread.
Add timer thread priority test.
2005-04-23 19:03:47 +00:00
Michael Jung 025bc2d8a2 Use the shell32 typical binary format for ITEMIDLISTs. 2005-04-22 21:29:17 +00:00
Stefan Leichter 5027c1b5c5 Import DPA_Search by ordinal like other DPA functions. 2005-04-22 21:18:12 +00:00
Robert Shearman 1408169387 Implement PrivilegeCheck. 2005-04-22 21:17:42 +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
Michael Jung 2a788026a3 Fixed incorrect IShellFolder::EnumOjects API usage. 2005-04-22 19:07:00 +00:00
Huw Davies cc255b0c8b If XShmAttach fails then reset shmid to -1 so that we don't try to use
it later.
2005-04-22 19:06:41 +00:00
Mike McCormack 5960e7c93c MSI advertised shortcuts don't require a product ID. 2005-04-22 19:06:12 +00:00
Stefan Leichter 950d678c5e Make ole32 tests loadable on NT4. 2005-04-22 19:05:51 +00:00
Alex Villacís Lasso 569db3c812 Perform one more commit in ALSA non-emulation if there are still
frames to be transmitted.
2005-04-22 19:05:34 +00:00
Alex Villacís Lasso 4376140a4f - Fix leftover negative sign in height parameter for transparent
bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.
2005-04-22 19:05:05 +00:00
Francois Gouget 5ffd9888cd Tweak the API documentation to silence winapi_check warnings. 2005-04-22 19:04:41 +00:00
Francois Gouget 00f72a32fd Add a definition for _ATL_REGMAP_ENTRY in atlbase.h.
Fix the prototype of AtlModuleUpdateRegistryFromResourceD() so it uses
the right pointer types.
2005-04-22 19:04:18 +00:00
Alexandre Julliard 333e49d78b Moved the UsePrimary config parameter to the x11drv section, renamed
as UsePrimarySelection.
2005-04-21 17:31:50 +00:00
Aric Stewart 7e181f49a8 Fix for the return codes for the Qualified component calls. They are
not INSTALLSTATEs but rather success values.
2005-04-21 17:24:27 +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
Peter Berg Larsen 56c34e1b2c Rewritten DoEnvironmentSubst16. 2005-04-21 17:14:39 +00:00
Paul Vriens 08ae0d09bb Remove THREAD_INFO struct.
Rename THREADINFO into SYSTEM_THREAD_INFORMATION.
2005-04-21 17:14:22 +00:00
Benjamin Cutler 250a8aec08 Added partial implementation of powrprof.dll. 2005-04-20 19:15:31 +00:00
Alexandre Julliard fc2bd2324e Handle posted internal messages directly in PeekMessageW to avoid
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Alexandre Julliard d1a36e1929 Avoid a compiler warning. 2005-04-20 18:45:28 +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 3b843d3e7d Remove all traces of the VIRTUAL_SetFaultHandler support. 2005-04-20 16:26:23 +00:00
Dimitrie O. Paun 41c2482984 Use vectored exceptions to get rid of VIRTUAL_SetFaultHandler(). 2005-04-20 16:24:13 +00:00
Francois Gouget 4b9f767845 Specify the proper call convention in the PropSysFreeString()
implementation.
2005-04-20 16:21:16 +00:00
Alexandre Julliard 4a334aed3c Move all the old config conversion code to a new oldconfig.c file, and
get rid of misc/registry.c and the misc directory.
2005-04-20 15:43:36 +00:00
Francois Gouget 3ef8c51c8a Tweak the API documentation to silence winapi_check warnings. 2005-04-20 15:18:42 +00:00
Phil Krylov 5a9312445e Fixed an error in my previous commit which caused an infinite loop in
IE6 installer.
2005-04-20 14:25:03 +00:00
Mike McCormack ae8c0ab55b Test MsiSummaryInfoGetProperty reading an empty property. 2005-04-20 14:24:30 +00:00
Mike McCormack 7932d76a1d Fix loading of the summary information. 2005-04-20 14:24:14 +00:00
Alexandre Julliard 3b5875e35f Replace the wineprefixcreate --update option by a --wait option, and
make the non-wait behavior the default.
2005-04-20 13:12:14 +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
Richard Cohen 062c18dd24 Dither solid colours on monochrome bitmaps. 2005-04-20 12:52:46 +00:00
Duane Clark 320814fb67 Misc rectangle fixes.
The date should be initialized from local time.
2005-04-20 12:51:37 +00:00
Gerald Pfeifer 185ec147b9 Fix compilation problem caused by ULONG_MAX. 2005-04-20 12:51:26 +00:00
Aric Stewart 072c5e56a2 Implement Publish Components in order for MsiGetQualifiedComponent
apis to work. Also implement MsiGetQualifiedComponent, or at least some
of the functionality as it is supposed to install stuff if it is
absent, which it does not do yet.
2005-04-20 12:50:05 +00:00
Huw Davies bd4af76514 WTSFreeMemory stub. 2005-04-19 12:00:29 +00:00
James Hawkins 8516d1969d Set the backup/restore privilege. 2005-04-19 12:00:04 +00:00
Stefan Leichter e41bd72afc Exclude crashing CreateFileW test on NT4. 2005-04-19 11:59:46 +00:00
Troy Rollo 95fe6abcb7 Fix SEGVs in NtCreateSection and NtMapViewOfSection. 2005-04-19 10:31:28 +00:00
Troy Rollo 1af0651b17 Prevent SEGV in RegInstall when pstTable is NULL. 2005-04-19 10:24:50 +00:00
Troy Rollo 8bf4d76681 Correct test of BOOL return value in ControlService. 2005-04-19 10:24:22 +00:00
James Hawkins fa18fad2b0 Remove two unnecessary traces.
Break up one test into two.
2005-04-19 10:24:06 +00:00
Francois Gouget 4527aae24f Assorted spelling fixes. 2005-04-19 09:49:38 +00:00
Troy Rollo 98d336c363 Fix SEGV for non-fully-qualified destination paths.
Don't fail ShFileOperationW if FOF_ALLOWUNDO is passed.
2005-04-19 09:49:05 +00:00
Francois Gouget 3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Francois Gouget e8ec9d5fe6 DPSET_REMOTE is 0 so we cannot do (flags & DPSET_REMOTE). Instead
check that the DPSET_LOCAL flag is not set.
2005-04-19 09:48:09 +00:00
Francois Gouget 5941686dbb SBSP_ABSOLUTE is 0 so we cannot do (wFlags & SBSP_ABSOLUTE).
Add COMDLG32_DumpSBSPFlags().
2005-04-19 09:47:42 +00:00
James Hawkins 89f67d7b09 Add RegUnLoadKey test. 2005-04-19 09:47:10 +00:00
Jose Alonso 0e21f376da Change the order of DispatchMessage and message removal. 2005-04-19 09:47:02 +00:00
Eric Pouech b461ddeb2d Copied the atom tests for global atom so that we can test local atoms
too.
2005-04-18 15:47:18 +00:00
Alexandre Julliard 90a1a7811f Removed unused data fields in the LANG_FIND_DATA structure. 2005-04-18 15:42:49 +00:00
Eric Pouech 0a9f98b9bd Removed the no longer user APC_ASYNC kind of APC. 2005-04-18 15:38:44 +00:00
Peter Berg Larsen 102121993a Eliminate strncpy. Correct a \0 assingment to the modstr variable. 2005-04-18 15:37:15 +00:00
Peter Berg Larsen 407409f27f Remove 2 identicals calls to strlenW. 2005-04-18 15:36:59 +00:00
Peter Berg Larsen 6aefbc0934 Strncpy elimination. 2005-04-18 15:36:20 +00:00
Peter Berg Larsen 972a949552 Eliminate strncpy and correct some NameLen bugs. 2005-04-18 15:34:10 +00:00
Peter Berg Larsen 716bf4d6fb Elimination of lstrcpyn, and corrected a potential pointer bug. 2005-04-18 15:33:31 +00:00
Peter Berg Larsen f525f182f2 Eliminate a strncpy and remove unused variable. 2005-04-18 15:33:15 +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
Robert Reif 267f85b0ac Added keyboard data format. 2005-04-18 14:53:27 +00:00
Peter Berg Larsen 6e3bcb5a54 Replace strncpy with memcpy or lstrcpyn. 2005-04-18 10:30:55 +00:00
Vitaliy Margolen 71be094420 Don't redraw if no information has changed.
Fixed endless redraw loop if app using callback for images and/or
text.
Keep color changes made by app for the current draw cycle.
2005-04-18 10:20:51 +00:00
Eric Pouech a8d8b52d6f Added proper definition for PRINTDLGEX[AW] structures. 2005-04-18 10:01:07 +00:00
Eric Pouech 05413fccc5 Fixed some signed / unsigned pointer casts. 2005-04-18 09:54:03 +00:00
Jakob Eriksson 163f5ab923 Fail gracefully on permission denied. 2005-04-18 09:52:40 +00:00
Benjamin Cutler 2813da13a3 Add semi-stub for NtPowerInformation(SystemPowerCapabilities, ...). 2005-04-18 09:52:32 +00:00
Duane Clark ddf9da794e The datetime should be initialized with local time. 2005-04-18 09:52:18 +00:00
Sami Aario 9b90532c68 Added stubs for RunSetupCommand and DelNode. 2005-04-18 09:51:53 +00:00
Eric Pouech e5da8e6260 Correctness for const pointer casts. 2005-04-18 09:51:03 +00:00
Mike McCormack 58a4fb9ef0 Declare and define a stub for NtSignalAndWaitForSingleObject. 2005-04-16 11:19:27 +00:00
Richard Cohen a1d66596b5 CreateBitmap16 should use only the first byte of planes & bpp. 2005-04-16 11:18:43 +00:00
James Hawkins a9d5de8414 RegDeleteKey fails if the lpSubKey param is NULL. 2005-04-16 10:49:10 +00:00
Krzysztof Foltman 13578c8602 - removed trailing spaces from some files
- tab support
- indent support
2005-04-16 10:48:35 +00:00
Duane Clark 1f7d6ccc2e Add support for direct keyboard input to numeric fields. 2005-04-16 10:48:02 +00:00
Mike Hearn 759e1707e0 - Add text dumping of the requested command.
- Make the stub message appear for more commands.
2005-04-16 10:47:46 +00:00
Benjamin Cutler c31a7e98f1 - Correct args for NtPowerInformation.
- Add stub for NtInitiatePowerAction.
2005-04-16 10:45:51 +00:00
Jacek Caban 6d54716f17 - More implementation of view
- Added IOleInPlaceActiveObject
2005-04-15 16:12:45 +00:00
Jakob Eriksson 9117e1c463 ERROR_PRIVILEGE_NOT_HELD can be returned for NT4. 2005-04-15 16:12:28 +00:00
Jakob Eriksson 7fb79e34a0 Win98 can return ERROR_CALL_NOT_IMPLEMENTED. 2005-04-15 16:12:14 +00:00
Brian Vincent 49dc0b1e64 Add stub for DCICreatePrimary. 2005-04-15 16:11:56 +00:00
Huw Davies 7ac969d560 When we're hiding file extensions then SetNameOf should append the
original extension if SHGDN_FORPARSING isn't set.
The flags passed to SetNameOf refer to the dst string not the src
pidl.
2005-04-15 16:11:45 +00:00
Dmitry Timoshkov 35356002e6 Zero out an invalidated runningObjectTableInstance pointer. 2005-04-15 16:11:29 +00:00
Duane Clark b00d5769da Hour '0' corresponds to 12AM. 2005-04-15 16:10:39 +00:00
Paul Vriens a9cbabc03c Start of unit tests for *Info* functions.
Check needed length regardless of given length.
Return STATUS_INVALID_INFO_CLASS for non-implemented classes.
Return STATUS_ACCESS_VIOLATION if no buffer given.
2005-04-15 14:12:54 +00:00
Mike McCormack 77103f8245 Simple unit tests for GdiIs*DC functions. 2005-04-15 14:11:00 +00:00
Juan Lang e68982fcaf Implement FmtIdToPropStgName & PropStgNameToFmtId, with tests. 2005-04-15 14:09:18 +00:00
Robert Shearman a3b4e20503 Fix TB_GETBUTTONSIZE to return the correct width/height for no
buttons.
2005-04-15 14:09:05 +00:00
Robert Shearman 21f9465067 - Use SetWindowPos to move the buddy window into position instead of
destroying it and recreating it at the new position.
- Clear the background in WM_VSCROLL to avoid problems with
  antialiased text drawing on top of itself multiple times.
2005-04-15 14:08:39 +00:00
Dimitrie O. Paun f35db0144c Keep track of WS_DISABLED explicitely, as it doesn't generate a
WM_STYLECHANGED message.
2005-04-14 13:58:45 +00:00
Dimitrie O. Paun 2e0a14820b Add support for LVN_ODSTATECHANGED.
Minor typo fixes.
2005-04-14 13:58:25 +00:00
Mike McCormack 556c976b8f Implement GdiIs*DC functions. 2005-04-14 13:57:55 +00:00
Robert Shearman 95ebdc63c6 Add a test for a menu problem I found. 2005-04-14 13:57:27 +00:00
Robert Shearman cec9e23cc3 Recalculate the menu on calling ModifyMenu so that the menu items are
shown at the correct width.
2005-04-14 13:56:29 +00:00
Vitaliy Margolen 3b3574a468 Send notifies after invalidating changed areas.
Don't use custom draw returned colors for control.
2005-04-14 13:56:12 +00:00
Alexandre Julliard f7ff216a15 Fixed a buffer overflow. 2005-04-14 12:50:54 +00:00
Rein Klazes 8062bbdeb8 In X11DRV_DIB_SetImageBits avoid BadMatch errors when calling
XGetSubImage.
2005-04-14 12:48:31 +00:00
Alexandre Julliard 036dcf2a2a Include Xmd.h in x11drv.h with the proper defines to make it work, and
remove related hacks in various C files.
2005-04-14 12:48:11 +00:00
Rein Klazes b6d331d680 Fix decoding printf format in case the field width specifier is a '*'. 2005-04-14 11:32:53 +00:00
Daniel Remenak d46cc36347 Remove unused variable in _copy_arg. 2005-04-14 11:32:10 +00:00
Benjamin Cutler 8c37f4362b Better handling of hInternet == NULL for INTERNET_OPTION_PROXY in
INET_QueryOptionHelper. MSDN says to return 'global proxy info' when
hInternet == NULL. Thanks to Juan Lang for helping with this.
2005-04-14 11:31:39 +00:00
Duane Clark a6659d26d2 Monday is day number '1'.
Set day of week when a day is selected in the calender.
Use fixed width fields in datetime.
DTS_TIMEFORMAT is a two bit field, so test accordingly.
Reposition and resize the updown control when the datetime control is
resized.
Respond to updown inputs.
2005-04-14 11:31:17 +00:00
Jacek Caban 44d2da9f5d Added more implementation of IDocumentView. 2005-04-14 11:30:50 +00:00
Rein Klazes b05cceb6f5 In AllocConsole() pass the wShowWindow value and STARTF_USESHOWWINDOW
flag from the calling process to the console process. Make wineconsole
use the CmdShow parameter in the ShowWindow call.
2005-04-14 11:30:09 +00:00
Alexandre Julliard eea415300b Moved handling of the 55AA pattern brush to syscolor.c so that it can
be made a system object (found by Rein Klazes).
2005-04-13 16:13:45 +00:00
Benjamin Cutler c2053e1ded Check for an invalid hInternet handle in INET_QueryOptionHelper for
INTERNET_OPTION_PROXY before attempting to use it.
2005-04-13 16:11:36 +00:00
Alexandre Julliard 4722941695 Moved the BITMAPOBJ structure to gdi_private.h. 2005-04-13 16:11:18 +00:00
Marcus Meissner 1b8f8f44a1 Terminate XCreateIC() argument list with NULL instead of just 0. 2005-04-13 15:23:29 +00:00
Alexandre Julliard 042614751c Use an X context to associate the phys bitmap data to a bitmap handle
instead of directly accessing the bitmap structure.
2005-04-13 15:23:15 +00:00
Huw Davies 5673b00adc RegisterClipboardFormat takes a unicode string now. 2005-04-13 15:18:32 +00:00
Alex Villacís Lasso 61761e2278 - Fix leftover negative sign in height parameter for transparent
bitmap.
- Properly announce whether bitmap is transparent in get_Attributes.
- GIF transparency is now palette-index based, instead of RGB based.
- Keep original bitmap and XOR mask separate, so that get_Handle
  returns original bitmap.
2005-04-13 15:18:02 +00:00
Martin Fuchs d3b5018275 Correct comments of some export ordinals. 2005-04-13 15:17:16 +00:00
Dimitrie O. Paun e3e5cf19a8 Remove the need for the non-standard (Close|Delete)MetaFile16(). 2005-04-13 15:16:40 +00:00
Alexandre Julliard 9591466a60 Moved the driver-independent part of CreateDIBSection into GDI. 2005-04-13 14:45:27 +00:00
Jacek Caban da56a9c16e - Added IOleDocumentView interface.
- Added implementation of DoVerb and CreateView.
2005-04-13 14:41:19 +00:00
James Hawkins 2a8f7962ff Pass an empty string instead of NULL to RegDeleteKey to delete hKey. 2005-04-13 14:40:58 +00:00
Vitaliy Margolen b58004d9ae Draw only visible tabs. 2005-04-13 14:40:12 +00:00
Robert Reif bc3ad87998 Fully implement WAVEDEVICEMAPPING property set. 2005-04-13 14:39:49 +00:00
Huw Davies 0e5b772cdc Add a unicode pidl type.
Improve support for PT_YAGUID.
Improve IShellLink debugging.
2005-04-13 14:39:27 +00:00
Alexandre Julliard 66add27b21 Store DIB section information directly in the phys bitmap structure
and get rid of the X11DRV_DIBSECTION structure.
Get rid of the unused AuxMod DIB state.
2005-04-13 11:23:24 +00:00
Juan Lang 142254d746 Implement PropSys{Alloc|Free}String, and support BSTRs in
PropVariant{Clear|Copy} using them.
2005-04-13 11:13:55 +00:00
Phil Krylov 1e9c200f61 Make RTF reader fall back to simple text if a correct RTF header is
not detected. This should fix some installers.
2005-04-13 11:11:03 +00:00
Steven Edwards ad7f4daf35 Register Shell Drag and Drop Helper. 2005-04-13 11:07:49 +00:00
Andreas Bjerkeholt 745ee3a67e Swedish translation. 2005-04-13 11:04:49 +00:00
Steven Edwards 4a26da2142 Partially implement CreateProcessAsUser. 2005-04-13 11:02:59 +00:00
Michael Jung 9a4f552f2f Implemented the UnixFolder's IShellFolder2::CompareIDs method. 2005-04-13 11:01:10 +00:00
Daniel Remenak 4d7e99df93 Implemented VarIdiv. 2005-04-13 10:59:25 +00:00
Robert Shearman 794dbaa38c - Fix scaling when converting MF -> EMF.
- Tests for conversions (although not for the above bug).
2005-04-13 10:57:59 +00:00
Huw Davies be428abd3e Better icon handling for some special folders.
Identify and add defines for a bunch of shell icons.
2005-04-12 12:00:40 +00:00
Alexandre Julliard 0e49a5b0b9 Store a pointer to the currently selected phys bitmap in the device
structure. Create a phys bitmap for the default stock bitmap too.
2005-04-12 11:59:48 +00:00
Michael Jung d1f1d34c2b Implemented enough of IShellFolder2 to make UnixFolder work within the
open/save-dialogs.
2005-04-12 11:58:05 +00:00
Jacek Caban 0c8e5838bb Stub implementation of IOleObject and IOleDocument. 2005-04-12 11:57:51 +00:00
Alexandre Julliard b16e32a364 Store the bitmap handle in the phys bitmap structure, and avoid a few
more GDI_GetObjPtr calls.
2005-04-12 10:17:55 +00:00
Huw Davies 52cf1992ea If ICommDlgBrowser_OnDefaultCommand returns anything other than S_OK
then we should call the default handler.
2005-04-12 10:16:35 +00:00
Robert Shearman ea84f49393 Use ES_AUTOHSCROLL for edit box. 2005-04-12 10:16:23 +00:00
Daniel Remenak 292b61f550 Return DISP_E_DIVBYZERO instead of crashing when asked to divide a
variant by zero.
2005-04-12 10:15:56 +00:00
Juan Lang 7376f57c30 Use Unicode string result from GetDisplayNameOf if it isn't
representable using ANSI.
2005-04-12 10:15:29 +00:00
Juan Lang c33d2621eb Log missing environment vars for easier debugging. 2005-04-12 10:15:09 +00:00
Robert Reif da9c394f67 Stub out DRVM_MAPPER_RECONFIGURE support. 2005-04-12 10:14:57 +00:00
Alexandre Julliard 541e5b3751 Store the pixmap depth and the DIBSECTION pointer in the phys bitmap
structure. Avoid a few GDI_GetObjPtr calls.
2005-04-11 18:54:30 +00:00
Robert Shearman 51ae41eb0b Return an error instead of crashing later on a divide by zero
exception when an alignment of 0 is specified.
2005-04-11 18:50:58 +00:00
Juan Lang c1fe67bc36 - add write support to IPropertyStorage, with tests
- misc. cleanups the tests turned up
2005-04-11 18:50:45 +00:00
Huw Davies 8dabf51d39 Directory items should have the SFGOA_FILESYSANCESTOR attribute.
Add a test for this and cleanup the shlfolder test a bit.
2005-04-11 18:50:01 +00:00
Vincent Béron 81bda71e9a Don't reference c:\windows directly. 2005-04-11 18:49:40 +00:00
Jacek Caban 93eb433ec2 Stub implementation od IPersist, IPersistMoniker, IPersistFile,
IMonikerProp.
2005-04-11 16:11:52 +00:00
Mike McCormack d6fdac2676 Calculate the size of the next mailslot message correctly. 2005-04-11 16:11:32 +00:00
Jason Edmeades 2f30d307df Ensure A->W version of InternetCrackURL passes correct length values,
and associated tests.
2005-04-11 16:10:50 +00:00
Steven Edwards 98efef18d4 Avoid using ver.h in favor of winver.h. 2005-04-11 16:10:33 +00:00
Juan Lang 50794ce787 Add traces, add unit tests for IPropertyStorage, and fix the problems
they caught.
2005-04-11 14:30:24 +00:00
Juan Lang 6d83105054 - set size required correctly for all supported options
- tidy up a few lines of indenting in INET_QueryOptionHelper
- implement querying INTERNET_OPTION_PROXY
2005-04-11 14:26:18 +00:00
Matthew Mastracci 11959ba310 Correctly lock and unlock surface for a single-surface Blt() and
BltFast() call.
2005-04-11 14:26:00 +00:00
Hans Leidekker 4ead2b4cb7 Implement GetNamedSecurityInfo. 2005-04-11 14:25:41 +00:00
Rein Klazes bf559d544b Fix X11DRV_DIB_SetImageBits_RLE(4|8) when an non-zero x-offset
(argument left) is specified.
2005-04-11 14:25:26 +00:00
Tom Wickline e4a3c2e4ee Sync to the latest opengl specs. 2005-04-11 14:24:27 +00:00
Hannu Valtonen 06d9713f3d Added mousewheel support. 2005-04-11 14:22:21 +00:00
Paul Vriens b4db6533a0 Flags should be or-ed. 2005-04-11 14:21:33 +00:00
Dimitrie O. Paun 9da93dd879 Tab unicodification. 2005-04-11 14:21:15 +00:00
Dimitrie O. Paun 30a66a051c MonthCal unicodification. 2005-04-11 14:21:00 +00:00
Mike McCormack 016206c1e1 Move mailslot set and query info implementation to ntdll. 2005-04-11 14:20:49 +00:00
Huw Davies 861282bf28 Fix the icon resource ids (most were off by one).
Fix IExtractIcon_{GetIconLocation,Extract} to use -ve icon resource
ids and fix bugs relating to confusion between resource ids and the
system imagelist indicies.
Extend the system imagelist initialization hack to load both +ve and
-ve resource ids.
Add a printer icon (that'll be used by an upcoming printer folder
patch).
2005-04-11 13:04:41 +00:00
José Manuel Ferrer Ortiz 4f50a2c0dc Spanish translations updated. 2005-04-11 13:01:46 +00:00
Vincent Béron 67da678ca6 Make static some functions used only in a single file. 2005-04-11 13:00:28 +00:00
Robert Reif ff77f1343e Initialize primary buffer on open. 2005-04-11 13:00:00 +00:00
Juan Lang 6f3228a539 Implement SetupDiClassNameFromGuidExA. 2005-04-11 12:59:45 +00:00
Mike McCormack 80a6696054 Add stub for FaultInIEFeature. 2005-04-11 12:58:58 +00:00
Dimitrie O. Paun e50960b3d8 Audit the code against Comctl32.dll version 6.0.
Handle notification and styles as in the other controls.
Maintain the const for strings throughout parsing.
2005-04-11 12:58:30 +00:00
Ulrich Czekalla 8b20d72005 Clear systemtime struct so we don't return garbage in uninitialized
fields.
2005-04-11 12:57:57 +00:00
Glenn Wurster f3c99197ac Fix array index crash in buidling GDI palette from logical palette. 2005-04-11 12:57:10 +00:00
Michael Jung 44cb0906da Make crypt functions more robust in case of incorrect api usage. 2005-04-11 12:55:36 +00:00
James Hawkins eb9250bf12 Create the 'Test' value in a temporary subkey to avoid conflicts
between tests.
2005-04-11 12:52:32 +00:00
James Hawkins fd6d3567de Remove nonstandard type LPLPVOID. 2005-04-11 12:52:00 +00:00
Lionel Ulmer acdc84e673 Create the GL texture id at texture-binding time. 2005-04-11 12:51:22 +00:00
Krzysztof Foltman 01cd9fb2c6 - EM_CANPASTE implemented
- updated TODO list (including list of (un)implemented messages)
- fixed WM_PASTE (the previous version might not close the clipboard
  if it didn't contain a usable format)
- scrollbar operations (like clicking on arrows) should update
  scrollbar's current position
2005-04-11 12:50:48 +00:00
Dimitrie O. Paun 396ee7403f Cleanup the API docs. Few indentation/formatting fixes. 2005-04-11 12:50:01 +00:00
Robert Reif ed8cf4e3a9 Changed regression test to make sure position is correctly checked
when a different type is returned.
Added Jeremy White's WAVE_FORMAT_DIRECT/WAVE_MAPPER fix.
Added waveInGetPosition checks.
2005-04-11 12:49:22 +00:00
Robert Reif c002dfc005 Correctly handle where waveOutGetPosition changes timepos.wType
because the requested type is not supported.
Added Jeremy White's waveOutGetPosition fix to waveInGetPosition.
2005-04-11 12:49:04 +00:00
Mike Hearn f0d4fa0465 Only do unicode conversion in HTML Help control when filename is
specified.
2005-04-11 12:47:40 +00:00
Mike McCormack 499a887d0f Load and display bitmaps in the dialogs. 2005-04-11 12:47:20 +00:00
Rein Klazes 8db7b53359 In ScrollWindowEx, if the window already has an update region then add
this to hrgnUpdate. With a conformance test.
2005-04-11 12:47:01 +00:00
Alexandre Julliard 0a63a72f81 Introduced an X_PHYSBITMAP structure to allow storing more x11drv
information about a bitmap than just the pixmap id.
2005-03-31 19:13:03 +00:00
Rein Klazes 7308f16b32 Fix some incorrect uses of the ok macro where the result depends on
the evaluation order of its arguments.
2005-03-31 19:07:08 +00:00
Hans Leidekker a19bf290f0 Implement and test _chsize. 2005-03-31 19:06:10 +00:00
Alexandre Julliard 313554f01f Avoid directly accessing the BITMAPOBJ structure. 2005-03-31 19:05:48 +00:00
Alexandre Julliard 0b1d1d9752 Removed the no longer needed X11DRV_get_client_area_offset function. 2005-03-31 15:44:20 +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
Rein Klazes 7c342b4ce3 If ScrollWindowEx do not use the DCX_USESTYLE to get a DC. Instead
calculate DCX_CLIPSIBLINGS, DCX_PARENTCLIP and DCX_CLIPCHILDREN. The
DCX_CLIPCHILDREN is not used when ScrollWindowEx is called with a
SW_SCROLLCHILDREN flag. With a couple of regression tests.
2005-03-31 15:30:25 +00:00
Rein Klazes b59484de49 Fix a copy&paste bug in get_buffer_pe. 2005-03-31 15:28:54 +00:00
Mike McCormack 6714664dee Eliminate forward declarations, make functions static. 2005-03-31 15:26:30 +00:00
Alexandre Julliard ee9b4265d4 Added support for the DC meta region. 2005-03-31 10:19:40 +00:00
Jacek Caban df52b72694 Stub implementation of HTMLDocument2 interface. 2005-03-31 10:08:02 +00:00
Paul Vriens b6ab64e44d Use textlen instead of len.
Use textheight as the return value of DrawTextA.
2005-03-31 10:07:26 +00:00
Stefan Leichter fdd2c7651a Fix GetFileSecurityA test on Win98. 2005-03-31 10:07:11 +00:00
Paul van Schayck d2c7a6863b Don't stop looking for devices if one can't be opened. 2005-03-31 10:07:02 +00:00
Huw Davies 3d0b22b7b6 Set the registry keys under HCU\Software\Microsoft\Windows
NT\CurrentVersion to mimic the win.ini values.
2005-03-31 10:06:46 +00:00
Mike McCormack 7340a357ba Fix up PIDL dumping code. 2005-03-31 10:05:59 +00:00
Aric Cyr ca1dd053cf Japanese 106 Keyboard fix. 2005-03-31 10:05:48 +00:00
Mike McCormack 2ab6a775bd Implement mailslots. 2005-03-30 19:02:15 +00:00
Dmitry Timoshkov 9640918917 - Make GetSystemMenu respect CS_NOCLOSE.
- EnableMenuItem should not generate WM_WINDOWPOSCHANGING message.
- Make nonclient code check for presence of SC_CLOSE, not CS_NOCLOSE
  window class style.
- Add a test case.
2005-03-30 18:59:27 +00:00
Michael Jung 46d2be988a Removed the incomplete signature checking code. 2005-03-30 18:56:41 +00:00
Alexandre Julliard eea706948a The update region passed in WM_NCPAINT and the clipping region passed
to GetDCEx have to be in screen coordinates.
2005-03-30 17:11:46 +00:00
Francois Gouget 6b10c324c5 Assorted spelling fixes. 2005-03-30 17:08:31 +00:00
Hans Leidekker 6199b28238 Return a computername constructed from the hostname. 2005-03-30 17:04:55 +00:00
Alexandre Julliard 09e00cf412 Better handling of 16-bit native dlls when a 32-bit builtin with the
same name exists; should help with the 16-bit cards.dll issue.
Replace some magic error numbers by the corresponding names.
2005-03-30 10:31:33 +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
Uwe Bonnes af305c7462 Zero out return string in GetMenuStringA/W. 2005-03-30 10:24:07 +00:00
Mike McCormack 9a99a39e0b Stub implementation of RtlAbsoluteToSelfRelativeSD. 2005-03-30 10:22:51 +00:00
Robert Reif 2a438aa033 Keep dsound8.c and dsound.c in sync. 2005-03-30 10:21:44 +00:00
Alex Villacís Lasso 7bfc29028a Initialize [orig|himetric][Width|Height] for PICTYPE_ICON case. 2005-03-30 10:21:30 +00:00
Robert Shearman f74b0adbca Move save_registry and unload_key server calls to ntdll. 2005-03-30 10:21:15 +00:00
Aric Stewart 6e821739f2 Make sure the GUID of the typelib we are registering matches the guid
requested from MSI. If not search the given typelib file to find the
typelib requested to register.
2005-03-30 10:19:08 +00:00
Mike McCormack ddf74e6798 Implement ChangeServiceConfig. 2005-03-29 19:51:40 +00:00
Peter Berg Larsen a667d536b9 Janitorial: Get rid of strncpy/strncpyW. 2005-03-29 19:49:21 +00:00
Jerry Jenkins 4a8ce2ae41 Improve winealsa dsound driver by accessing sound driver's buffer
directly in an undocumented way.
2005-03-29 19:48:07 +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
Alexandre Julliard 026a4b0d0d Only restore the DC attributes on the next GetDC, and add support for
the DCX_NORESETATTRS flag.
Get rid of the DCE flags, simplify the code a bit.
Add some test cases.
2005-03-29 18:59:02 +00:00
Alex Villacís Lasso 2612f61fff Fix failure to notice the use of a GIF palette index greater or equal
to 128 for transparency.
2005-03-29 18:57:15 +00:00
Huw Davies 8710dde01f In a call to EnumEnhMetaFile when hdc is NULL, lpRect may be NULL. Add
a test for this.
2005-03-29 18:56:35 +00:00
Huw Davies 9be7f2789f WriteFmtUserTypeStg doesn't pull a CLSID from the registry - it's
unclear when (if at all) this gets written.
2005-03-29 18:56:22 +00:00
Alexandre Julliard 89b0f3ae6e Moved 16-bit string functions to user16.c and kbd16.c. 2005-03-29 13:15:44 +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
Alexandre Julliard d54db1911e Moved rectangle functions to uitools.c and removed rect.c. 2005-03-29 13:12:56 +00:00
Dimitrie O. Paun d4193bbd68 Unicodify WINSPOOL_OpenDriverReg(). 2005-03-29 13:10:35 +00:00
Huw Davies e42a23d2d3 Don't close reg key if the open failed. 2005-03-29 13:06:57 +00:00
Marcus Meissner 41079866f7 Serialize NULL pointer interfaces correctly. 2005-03-29 13:06:44 +00:00
Rein Klazes a4ae750a87 ScrollWindow should call ScrollWindowEx with the SW_ERASE flag
set. With conformance test.
2005-03-29 13:06:32 +00:00
James Hawkins 580ded65e7 - Implement NtLoadKey.
- Forward RegLoadKey to NtLoadKey.
2005-03-29 11:38:58 +00:00
Alexandre Julliard 6de70abdd4 Moved 16-bit rectangle functions to user16.c. 2005-03-29 11:35:24 +00:00
Troy Rollo f51736cb0c Implement SetCPGlobal (an undocumented Win32 API). 2005-03-29 11:34:03 +00:00
Michael Jung 976bdc4faa Added a test for advapi32, which documents a crash in wine triggered
by incorrect api usage.
2005-03-29 11:32:13 +00:00
Vincent Béron c822566974 Change prototypes so gcc with some warnings doesn't bark. 2005-03-29 11:32:04 +00:00
Stefan Leichter 25102d6b25 Fix GetFileSecurityW for not existing directories/files. 2005-03-29 11:31:18 +00:00
Eric Pouech 61beaf48d3 - PDB: better checking for error conditions
- Fixed name demangling (when activated) when searching for a symbol
2005-03-29 11:30:57 +00:00
Jacek Caban e594762ad3 Fixed ntdll:reg test on win9x. 2005-03-29 11:30:32 +00:00
Dmitry Timoshkov d6b063e380 Handle control characters in VkKeyScanEx similar to what Windows
does.
2005-03-29 11:30:13 +00:00
Rein Klazes 607bb11a86 - GetScrollRange should return an empty range, both upper and lower
limit zero, if the window has no scrollbars (msdn).
- GetScrollInfo's return value is TRUE is nBar is SB_CTL or if
  anything is filled in the SCROLLINFO structure, otherwise the return
  value is FALSE.
2005-03-29 11:29:50 +00:00
Marcus Meissner 4b5f3c61ad Fixed VT_BSTR|VT_BYREF marshalling.
Added VT_I4|VT_BYREF marshalling.
2005-03-29 11:29:11 +00:00
Mike McCormack 180f04059b Split out database functions, remove dependence on wine/unicode.h. 2005-03-29 11:28:57 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Alexandre Julliard 65e4d34599 Merged X11DRV_BITMAP_CreateBitmapHeaderFromPixmap into
X11DRV_DIB_CreateDIBFromPixmap and simplified the code a bit.
2005-03-28 10:06:06 +00:00
Mike McCormack 6c42be25e7 Implement CreateMailslot using NtCreateMailslotFile. 2005-03-28 10:03:56 +00:00
Mike McCormack a63c2eb30b Remove function prototypes, make functions static. 2005-03-28 10:01:45 +00:00
Stefan Leichter 3548b87f75 Added a test for GetFileSecurityA. 2005-03-28 10:00:59 +00:00
Marcus Meissner 89feaca290 Fixed ppvObject serializer (deref twice instead of once).
Actually pass back return value of remote call in type marshaller.
2005-03-28 10:00:49 +00:00
Jakob Eriksson 40224b6ebc Remove tests that fail badly on Windows 98. 2005-03-28 10:00:25 +00:00
Saulius Krasuckas cf25b683ba Fix an error code for ME. 2005-03-28 10:00:13 +00:00
Alexandre Julliard 5fd13261a0 Added X11DRV_get_pixmap and X11DRV_set_pixmap functions to avoid
direct accesses to the physBitmap field of the bitmap structure.
2005-03-27 18:30:51 +00:00
Mike Hearn edcbd13665 Fix BSTR tracing in the typelib marshaller. 2005-03-27 18:20:10 +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
Marcus Meissner c91df67f11 Format VT_UI1, VT_I1, VT_UI2, VT_I2 correctly. 2005-03-27 18:17:19 +00:00
Mike McCormack e19ce3bd40 Remove unnecessary function prototypes. 2005-03-27 18:16:49 +00:00
Mike McCormack 1ff3bf8e69 Remove function prototypes, make functions static. 2005-03-27 18:16:25 +00:00
Alexandre Julliard fe661fa752 Store the DCE pointer in the DC physDev structure using an x11drv GDI
escape.
2005-03-27 17:58:41 +00:00
Mike McCormack a5cb5a2ab3 Use api definitions, remove duplicate code. 2005-03-27 17:54:48 +00:00
Hans Leidekker d0965ae873 Remove stray 8bit character. 2005-03-27 17:54:17 +00:00
Jerry Jenkins 2239b3ae2e Don't mistake frames for bytes. 2005-03-27 17:52:32 +00:00