Commit Graph

11006 Commits

Author SHA1 Message Date
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
Robert Shearman 5a6461071e Fix size passed to SPI_NONCLIENTMETRICS. 2005-03-27 17:52:16 +00:00
Marcus Meissner e6260a3625 Added IDispatch::GetIDsOfNames() special case serializing.
Handle VT_PTR / NULL marshalling correctly.
2005-03-27 17:51: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
Alexandre Julliard 0afa832f37 Maintain the stack of saved vis regions in the DC structure instead of
storing it directly in the region objects.
2005-03-25 20:52:53 +00:00
Dimitrie O. Paun 8df71a6cfa Use {Alloc,ReAlloc,Free}() instead of Heap{Alloc,ReAlloc,Free}(). 2005-03-25 20:49:00 +00:00
Paul Vriens 0b3b35116a Print retval in decimal to avoid confusion.
NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of
ERROR_REDIR_PAUSED.
Use some correct messages on error.
Extra tracing.
2005-03-25 20:47:50 +00:00