Commit Graph

10350 Commits

Author SHA1 Message Date
Alexandre Julliard b4a64382ee Moved DefWindowProc16 to msg16.c and cleaned up a few related things. 2005-01-18 11:45:17 +00:00
Hans Leidekker e9856f166b Implement and test InternetTime{From,To}SystemTime{A,W}.
Correct spelling in InternetCheckConnectionA.
2005-01-18 11:43:40 +00:00
Jason Edmeades 33025b203c - Handle failures to allocate storage more gracefully.
- Only prototype the interfaces which are subclassed (I overdid it
  last time!).
- Implement Get/Set Texture and GetBackBuffer, plus device's
  GetDisplayMode / GetDeviceCaps.
- Make some of the d3d9 skeleton code issue fixme's to highlight code
  which hasn't been migrated yet.
- Correct the d3d9 headers for D3DSURFACE_DESC which caused stack
  corruption in demos.
2005-01-18 11:42:29 +00:00
Juan Lang 2c95e0205d Make netspi.h private, as some of its declarations conflict with
npapi.h.  Spotted by Paul Vriens.
2005-01-18 11:40:24 +00:00
Aric Stewart cc8f18f96f Copy the implementation from SetupDefaultQueueCallbackA and make it
W.
2005-01-18 11:39:49 +00:00
Hans Leidekker a4b80ec97e Stub implementations for PathUnExpandEnvStringsSHRegEnumUSValue{A,W},
SHRegCreateUSKey{A,W}, SHRegDeleteEmptyUSKey{A,W},
SHRegDeleteUSValue{A,W}, SHRegEnumUSValue{A,W}.
2005-01-18 11:39:05 +00:00
Alexandre Julliard 6758db9a0c Get rid of nonclient.h and of the corresponding exported functions in
user32.spec.
2005-01-17 20:27:11 +00:00
Alex Villacís Lasso ed9a359402 When parsing an hex/oct integer value, copy value verbatim in VARIANT,
rather than a negated value. Add test case for this behavior.
2005-01-17 19:34:58 +00:00
Henning Gerhardt e34aac5038 A small spelling fix and a small update (thank to Andreas Mohr). 2005-01-17 19:32:58 +00:00
Robert Shearman b5a10936bd Initialize clsid member to the marshaler clsid to fix custom
marshaling.
2005-01-17 19:32:25 +00:00
Lauri Tulmin 8ba0ef86dc Make long lines behave nicely. 2005-01-17 19:31:48 +00:00
Alexandre Julliard fc5ce14592 Avoid most references to the internals of the WND structure by passing
around an x11drv_win_data pointer instead.
2005-01-17 19:17:47 +00:00
Alexandre Julliard b819f4cd5c Removed a couple of unnecessary calls to WIN_SuspendWndsLock. 2005-01-17 15:49:02 +00:00
Paul Vriens 361ee299ac Use a registry key for copying, that's known on every system. 2005-01-17 15:45:44 +00:00
Jonathan Ernst 8e927a6a74 Updated French resources. 2005-01-17 15:34:49 +00:00
Hans Leidekker fd5425e1a7 Stub implementations for DrawDibChangePalette, DrawDibGetBuffer,
DrawDibTime, ICSeqCompressFrame{,End,Start}.
Forward GetOpenFileNamePreview to GetOpenFileNamePreviewA.
2005-01-17 15:33:43 +00:00
Paul Vriens 7e8c096a26 Change the order of Src and Dst in CopyKey calls/functions. 2005-01-17 15:33:00 +00:00
Alexandre Julliard d820437b19 Removed unused ForceWindowRaise function. 2005-01-17 13:46:57 +00:00
Jason Edmeades bcecddc084 - Add texture support for all the texture types for d3d9->wined3d.
- Add prototypes for the COM interfaces.
- Fix some incorrect types from the last patch.
2005-01-17 13:44:57 +00:00
Alexandre Julliard d1685b00bf Authors: Klemens Friedl <klemens_friedl@gmx.net>, Henning Gerhardt <henning.gerhardt@web.de>
Spelling fixes.
2005-01-17 13:43:31 +00:00
Henning Gerhardt 038c5cbcbf Update German resources. 2005-01-17 13:43:16 +00:00
Paul Vriens 4064e74fc3 Use Interlocked* functions in AddRef and Release. 2005-01-17 13:42:13 +00:00
Michael Jung a200c4e97a Moved HMAC initialization and finalization code to
init_/finalize_hash.
Removed the redundant pKeyContainer function parameter from
init_hash.
2005-01-17 13:41:46 +00:00
Aric Stewart 6269f00c33 Implementations for SelfRegModules and PublishFeatures.
Set default ACTION property for Install.
Deformat more than JUST properties properly. Allows for Files and
Component paths in deformat.
Properly deformat a LaunchCondition failure dialog box.
Resolve and save registry Keypaths.
Write the Features published keys more correctly. Still some
problems.
2005-01-17 13:40:39 +00:00
Aric Stewart 82a6a3b826 First pass implement ion of MsiQueryProductState[A/W] as well as a few
fixes for MsiGetComponentPath.
2005-01-17 13:39:57 +00:00
Robert Shearman 4c8d59dd91 Implement table marshaling. 2005-01-17 13:39:40 +00:00
Paul Vriens f93a0780c9 Remove the checking/setting of the defaults in TRACKBAR_Create. 2005-01-17 13:38:44 +00:00
Paul Vriens 740d6bc3a0 Remove needless check for horizontal or vertical pager. 2005-01-17 13:38:28 +00:00
Eric Pouech 4634447d6b - got rid of include/async.h
- fixed some overlapped issues in socket handling
- moved kernel32.CancelIo implementation to ntdll
2005-01-14 19:54:38 +00:00
Robert Shearman c767318895 Remove MODULENAME prefix from
Dll{GetClassObject,RegisterServer,CanUnloadNow} functions.
2005-01-14 17:21:00 +00:00
Robert Shearman 5ce396f9bd - Remove obsolete structs, rearrange things to group the structs
together and to group similar functions.
- Document thread-safety of members of structs.
2005-01-14 17:20:27 +00:00
Robert Shearman ca608933dd Make proxy shutdown test succeed by releasing the channel on
disconnect.
2005-01-14 17:20:13 +00:00
Jeremy White 77502e7e62 Fix X11 event timing so that we correctly correlate X11 timing and
Wine timing and dynamically adjust it as we go.
2005-01-14 17:06:40 +00:00
Aric Stewart 0de5671ee9 Actually start on an implemention for MsiGetComponentPathW that should
handle all keypaths that are files.
2005-01-14 17:05:53 +00:00
Robert Shearman 0e18914481 - Add documentation for most Co* functions.
- Move several functions into different files to group them with
  similar functions.
2005-01-14 17:05:36 +00:00
Joris Huizer 2d58a624dd - add file_operation_delete
- add file_operation_checkFlags
- use these in SHFileOperationW replacing inline code
2005-01-14 16:51:14 +00:00
Mike McCormack 939179d681 Fix, add and rearrange winsvc.h declarations. 2005-01-14 16:50:57 +00:00
Marcus Meissner b7f6781590 Initialize rc in create_component_directory(). 2005-01-14 16:50:39 +00:00
Ulrich Czekalla 24f804528e GetFileName31W should call unicode version of FD31_AllocPrivate. 2005-01-14 16:49:55 +00:00
Justin Chevrier f44d0692f1 Created unit test for SPI_{GET,SET}MINIMIZEDMETRICS. 2005-01-14 16:49:33 +00:00
Justin Chevrier acb223ee21 - Implemented SPI_GETMINIMIZEDMETRICS calculated from values returned
by GetSystemMetrics.
- Implemented SPI_SETMINIMIZEDMETRICS. Determined that the values set
  here are valid for the current session only and will not persist
  across reboots.
2005-01-14 16:49:12 +00:00
Robert Shearman 6036a773e2 - The apartment reference should be held while the stub manager
reference is held.
- Fix same apartment-unmarshal detection.
2005-01-14 16:48:34 +00:00
Dimitrie O. Paun 3bc9380619 Use the LVCFMT_{LEFT,RIGHT,CENTER} enumeration flags properly. 2005-01-14 16:21:41 +00:00
Rein Klazes b08f958157 In int21_ioctl - get device data-, set the "is console" bits if the
device handle is a tty or a proper console io handle.
2005-01-14 16:21:07 +00:00
Mike McCormack c3ead97b4e Move all service stubs together, make them consistent. 2005-01-14 16:20:41 +00:00
James Hawkins ba92d2924a - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-14 16:02:20 +00:00
Aric Stewart 516a9c70ed First implementation of the WriteIniValues action. 2005-01-14 15:59:26 +00:00
Robert Shearman ead057c4b7 - Don't use the pipe caching code because it doesn't work correctly at
the moment.
- Always write disconnect reply packet, even in failure cases.
2005-01-14 15:59:01 +00:00
Klemens Friedl a4d4652dd1 Update German language file. 2005-01-14 15:13:56 +00:00
Mike McCormack 1afd5f68f8 Cleanup service handles. 2005-01-14 15:13:40 +00:00
Jon Griffiths ae720e6d7c Increase the required rectangle size before drawing big +/-. 2005-01-14 15:13:24 +00:00
Walt Ogburn b28c79aa50 Fix BS_PATTERN brushes in mfdrv. Un-comment the corresponding test. 2005-01-14 15:12:59 +00:00
James Hawkins 6847d5956a Return CLASS_E_NOAGGREGATION if pUnkOuter is non-null. 2005-01-14 15:12:43 +00:00
Aric Stewart dbb5d2a871 Custom actions can have null in their target parameters, handle that
without crashing. Also enable deformating of lines greater than 256
characters.
2005-01-14 15:12:27 +00:00
Robert Shearman a84e7d7b75 Destroy stubs on apartment shutdown. 2005-01-14 15:11:55 +00:00
Ge van Geldorp 7cf104aa52 Fix prototypes according to PSDK. 2005-01-14 15:11:40 +00:00
Mike Hearn ba0475e738 Force context switch on chanbuf disconnect to avoid a race in the test
suite.
2005-01-14 15:11:24 +00:00
Paul Vriens c905d691c8 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-14 15:10:52 +00:00
Christian Costa a010e3b3fa CoInitialize(Ex) should return S_FALSE when COM is already initialized
for the current thread.
2005-01-12 19:58:09 +00:00
Alexandre Julliard d7b4d60cd7 Use the exported functions SaveDC/RestoreDC instead of SetDCState16. 2005-01-12 19:57:08 +00:00
James Hawkins ed12a3defd - Use Interlocked* instead of ++/-- in AddRef/Release.
- Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:55:24 +00:00
James Hawkins 79ecb0d783 - Use only stored result of Interlocked* in AddRef/Release.
- Expand TRACEs to display the ref count.
2005-01-12 19:52:38 +00:00
James Hawkins 11db0ea655 Use only stored result of Interlocked* in AddRef/Release. 2005-01-12 19:50:22 +00:00
Robert Shearman 452491bd03 - Document CoSetState & CoGetState.
- Rewrite them to only retrieve TLS info once.
- Remove trailing whitespace in COM_CurrentInfo.
2005-01-12 19:48:39 +00:00
Robert Shearman 2891bc53ba Remove wine_marshal_data: it is unneeded and there is no equivalent in
STDOBJREF.
2005-01-12 19:48:20 +00:00
James Hawkins a1e304a25f - use only stored result of Interlocked* in AddRef/Release
- expand TRACEs to display the ref count
2005-01-12 19:29:43 +00:00
Paul Vriens fea45b1493 - Fix logic in Stream_fnRelease, refcount should be decremented before
the test for 0.
- Use Interlocked* functions in Stream_fnRelease .
- Store the result of the Interlocked functions and this in the
  TRACE.
2005-01-12 19:29:22 +00:00
Robert Shearman de95de1865 - Force creation of thread queue to stop PostThreadMessage from
failing.
- Remove incorrect comment.
2005-01-12 19:28:37 +00:00
Justin Chevrier a33c7d89db - Revert previous change of border metric to reference the
registry. Testing on Win98/WinXP showed that regardless of the
  "BorderWidth" value CM_C{X,Y}BORDER always returns 1.
- Point SPI_SETBORDER to "BorderWidth" under "HKCU\Control
  Panel\Desktop\WindowMetrics" instead of "HKCU\Control Panel\Desktop"
  to make it match Windows.
2005-01-12 19:28:16 +00:00
Robert Shearman 89f5c8241f The way apartments are used has changed, so fix up the hacks in the
RPC code that haven't yet been updated.
2005-01-12 19:27:22 +00:00
Robert Shearman 36f482cb7d - Make MTA dynamically allocated so that proxies and other resources
are freed at the proper time.
- Changed/removed some incorrect comments regarding apartments.
2005-01-12 19:27:04 +00:00
Paul Vriens b2bb57a484 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-12 19:26:42 +00:00
Paul Vriens 3da8524bb4 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-11 16:02:21 +00:00
Mike Hearn bef1336667 Give a more informative error when a DLL fails to initialize during
startup.
2005-01-11 16:01:31 +00:00
Dmitry Timoshkov 61b5e90d34 Make Alt press/release test actually pass for not managed windows. 2005-01-11 15:47:13 +00:00
Paul Vriens 6a8268f372 Use Interlocked* functions in AddRef and Release. 2005-01-11 15:46:43 +00:00
Dmitry Timoshkov d2512860ac Fix WmCreateCustomDialogSeq message sequence for 256 color mode. 2005-01-11 15:45:32 +00:00
Bill Medland 9c6de52bb2 Corrected testing for multithreaded (based upon observations by Paul
Vriens, Christian Costa and Robert Shearman).
Added TRACE for investigating OXID errors.
2005-01-11 15:45:03 +00:00
Paul Vriens 8dd96b170e Add an extra class to register. 2005-01-11 15:44:42 +00:00
Alexandre Julliard 56206376b8 Desktop window is repainted on WM_ERASEBKGND, it must never get a
WM_PAINT.
2005-01-11 15:15:11 +00:00
Alexandre Julliard e2a7181069 Warning fix. 2005-01-11 15:13:11 +00:00
Andreas Mohr 5b1fbcf778 Read/write completion functions get Windows error codes, not NT status
codes.
2005-01-11 15:12:28 +00:00
Jacek Caban 7e2a7c949d Get rid of W->A calls. 2005-01-11 15:10:56 +00:00
Rein Klazes 8032418e2d memicmpW() count are WCHAR's not bytes. Fixes opening CON device. 2005-01-11 15:09:01 +00:00
Mike McCormack 71424b80e5 Tests and fixes for StgOpenStorage. 2005-01-11 15:08:08 +00:00
Christian Costa fed06be797 Wait until the thread has created its message queue before posting a
message otherwise it will be lost.
2005-01-11 15:07:30 +00:00
Robert Shearman 68fc5f8890 Add tests for trying to unmarshal from a bad stream and for testing
what interfaces the proxy exposes.
2005-01-11 10:45:52 +00:00
Robert Shearman c353f85082 - Document how thread-safety is ensured for each member of the
stub_manager and ifstub structs.
- Make stub_manager ref counted to ensure it doesn't get freed whilst
  it is still being used.
- ifstubs are now freed only when the controlling stub_manager is freed.
- Rename stub_manager_ref/unref to stub_manager_ext_addref/release
  respectively and make then take an unsigned long to prevent
  malicious callers from passing in a negative value and corrupting
  the ref count.
2005-01-11 10:45:34 +00:00
Mike McCormack 6f20133705 Test and fix a few problems with OLE storage streams. 2005-01-11 10:44:28 +00:00
Robert Shearman 8a46494ea9 - Don't use an invalid file handle. In this case invalid file handle
means that the file hasn't yet been created.
- Only call GetFileTime when we are being logged for a tiny
  performance improvement.
- Reindent to 4 spaces.
2005-01-11 10:43:24 +00:00
Robert Shearman fbcc21be62 Use the DrawFocusRect function to draw the focus rect, instead of a
broken home-brewed solution.
2005-01-11 10:43:03 +00:00
Robert Shearman 3dad1f9043 Don't sort the children of My Computer in shell browse for folder
dialog.
2005-01-11 10:40:14 +00:00
Robert Shearman 040850e8c5 Don't highlight text in non-TVS_TRACKSELECT mode. 2005-01-11 10:39:33 +00:00
Dmitry Timoshkov b44b2cc880 Add more tests for keyboard/menu activation behaviour, make the tests
pass under Wine.
2005-01-11 10:38:31 +00:00
Lauri Tulmin d3cc4dcd05 Fixes to the handling of LBS_EXTENDEDSEL style, with tests. 2005-01-10 16:22:33 +00:00
Hans Leidekker 8be26da723 Stub implementations for WPUCompleteOverlappedRequest,
WSADuplicateSocketW, WSAEnumNameSpaceProviders{A,W}, WSAGetQOSByName,
WSAGetServiceClassInfo{A,W}, WSAGetServiceClassNameByClassId{A,W},
WSALookupServiceEnd, WSALookupServiceNext{A,W},
WSAProviderConfigChange,  WSASetService{A,W}, WSCEnableNSProvider,
WSCGetProviderPath, WSCInstallNameSpace,  WSCWriteProviderOrder.
Implementations for WSANtohl, WSANtohs, WSASocketA->W crosscall.
Avoid NULL dereferences in WSAStringToAddress{A,W} and
WSAAddressToString{A,W}.
2005-01-10 14:34:15 +00:00
Mike McCormack 07aa50bc48 Fix image list mask and blending. 2005-01-10 14:29:20 +00:00
Bill Medland 1953a1ed2d Only report the unsupported flags.
Keep quiet about hints.
2005-01-10 14:28:21 +00:00
Mike McCormack 29e3c63a15 Add proxy authentication dialog. 2005-01-10 14:27:29 +00:00
Evan Deaubl c84832160c GetItemA/W on header controls should handle message even if index is
invalid.
2005-01-10 14:25:30 +00:00
Jacek Caban c2ccf0f48c Added mshtml.idl. 2005-01-10 13:31:29 +00:00
Francois Gouget 87b0906789 Assorted spelling fixes. 2005-01-10 13:29:24 +00:00
Vincent Béron 151015fa02 Only use Alsa if 1.0 is detected. 2005-01-10 13:26:33 +00:00
Jacek Caban ed3ad8852d Get rid of W->A calls. 2005-01-10 13:22:35 +00:00
Alexandre Julliard 53526959e9 Another warning fix. 2005-01-10 12:31:06 +00:00
Rémi Assailly 9821beed52 Implemented GetLayout and SetLayout. 2005-01-10 12:30:18 +00:00
Michael Jung 2c845618a3 Support for generating and exporting PCT1, SSL2/3 and TLS1 master
secrets. Ensure that these are not used in CPEncrypt, CPDecrypt or
CPDeriveKey.
2005-01-10 12:27:32 +00:00
Michael Jung ea01425e16 Removed check for valid'ness of algid. It's redundant. 2005-01-10 12:26:57 +00:00
Mike McCormack b146b75c27 Test and fix StgCreateDocFile grfModes. 2005-01-10 12:26:25 +00:00
Robert Reif 202c28f8b8 Remove unneeded includes. 2005-01-10 12:25:56 +00:00
Paul Vriens 545cdfa2ef - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-10 12:25:29 +00:00
Christian Costa b3f064ccc7 Fixed error handling in Graphbuilder_RenderFile.
Improved traces.
2005-01-09 18:24:41 +00:00
Mike McCormack 921be0a87c Implement MsiRecordSetStreamA/W and add tests for records containing
streams.
2005-01-09 18:24:15 +00:00
Alexandre Julliard dd8fccfe72 Avoid warnings. 2005-01-09 18:01:49 +00:00
Huw Davies d070d8fb46 The value of a packed VARIANT can be up to 1L << 26 - 1. 2005-01-09 18:00:32 +00:00
Jason Edmeades 41427857b1 Add render target support, and ensure there is a front and back buffer
created during device creation.
2005-01-09 17:37:02 +00:00
Paul Vriens 202b340a51 - use Interlocked* functions in AddRef and Release.
- store the result of the Interlocked functions and use only this.
2005-01-09 17:29:21 +00:00
Christian Costa 617dc088a5 Added registration for quartz filters. 2005-01-09 17:28:07 +00:00
Robert Reif 409e7fb172 Don't need to worry about windows messages. 2005-01-09 17:27:44 +00:00
Eric Pouech cf1d00bb08 Removed excessive statement (break after return or goto, not useful
break, not needed vars...)
2005-01-09 16:42:53 +00:00
Vitaly Lipatov 386cf457c9 Added handling of SBM_GETSCROLLBARINFO message. 2005-01-09 16:35:41 +00:00
Robert Reif 56dbf7fb21 Initialize and uninitialize COM properly. 2005-01-09 16:34:00 +00:00
José Manuel Ferrer Ortiz 4854f847c8 Updated Spanish resource. 2005-01-09 16:33:26 +00:00
Oliver Stieber 1b8629b3d7 Correct loop check for enum display and include 32bit modes in 24bit. 2005-01-09 16:33:01 +00:00
Jacek Caban 8414668401 Moved save* strings to resources. 2005-01-09 16:31:36 +00:00
Huw D M Davies 45cf31b7ac Revert GetScrollBarInfo spec entry back to a stub to fix compilation
failure.
2005-01-08 08:57:08 +00:00
Jon Griffiths 8c23dba9a2 Use the source dir as the documentation root dir. 2005-01-07 17:15:47 +00:00
Diego Pettenò 6febc8a7f8 Added stub implementation for WINNLS* functions. 2005-01-07 17:15:30 +00:00
Diego Pettenò 869a66a8fd Get rid of DPRINTF. 2005-01-07 17:09:39 +00:00
Vincent Béron 53ca036a56 Use GetLocalTime (tz-dependant) instead of GetSystemTime (UTC) in
GetTimeFormat.
2005-01-07 17:08:55 +00:00
Aric Stewart 2b2fecf88a Make all custom type 1 actions happen in a seperate thread and close
all handles for that thread when it exits. Honors the concept of
temporary MSI handles for custom actions.
2005-01-07 17:08:35 +00:00
Mike McCormack 4a0f999859 Use CreateEventW in preference to CreateEventA for unnamed events. 2005-01-07 15:40:09 +00:00
Paul Vriens 1e0aaaf210 - Media Types (and Extensions) should use "Source Filter" instead of
"File Source".
- Removed filesource_valuename.
- Fixed typo for some class-names.
- Fixed typo in MPEG1System Media Type.
2005-01-07 15:34:54 +00:00
Crestez Leonard 30cde9b1a8 Fix bug with Treeview_SelectItem reselecting the same item. 2005-01-07 15:34:25 +00:00
Robert Shearman af056e7e24 - Add a complete, sorted listed of IOCTLS implemented in the file.
- Dump track numbers after they have been filled in.
2005-01-07 15:33:58 +00:00
Robert Shearman 86d63bbbac Rename iid in wine_marshal_id to ipid and use IPIDs instead of IIDs in
the stub manager.
2005-01-07 15:33:41 +00:00
Robert Shearman 090003360f The current architecture cannot handle pipes changing address, so use
a static array. Fixes memory corruption that sometimes occurs when
using multiple pipes.
2005-01-07 15:33:26 +00:00
Marcus Meissner 67d3afb0d1 Load libcapi20.so.* dynamically on demand. 2005-01-07 15:33:02 +00:00
Rein Klazes 3058548eb8 On Linux, use fstatfs instead of fstatvfs. It is too buggy. 2005-01-06 20:44:52 +00:00
Robert Shearman b2edf2f03c No need to add a reference to the apartment from new_stub_manager as
we don't hold on to an apartment pointer.
2005-01-06 20:43:48 +00:00
Dmitry Timoshkov 830b58c02b Add a windows events hook to the message test. 2005-01-06 20:43:34 +00:00
Mike McCormack 8964082781 MsiCloseAllHandles only closes handles allocated in the calling
thread.
2005-01-06 20:43:04 +00:00
Mike McCormack 25c453aaf4 Add test for records. 2005-01-06 20:42:48 +00:00
Mike McCormack aaa4b42c16 Fix records according to test cases. 2005-01-06 20:42:25 +00:00
Ulrich Czekalla b13b2474da WM_GETTEXTLENGTH should return zero for owner drawn status bars. 2005-01-06 19:44:24 +00:00
Jacek Caban fe7fc51a92 Moved string to resources. 2005-01-06 19:43:43 +00:00
Justin Chevrier 01e2bdbf16 - Obtain border size of windows from registry if available.
- Obtain icon size from registry if available.
- Create a WindowMetrics section in the default registry and populate
  it with all currently supported metrics (that are setup to read from
  the registry).
2005-01-06 19:39:52 +00:00
Robert Shearman 23e390a223 - Make struct oletls ref counted so that it is only detached from the
apartment on the final CoUninitialize.
- Decrease the size of the crit sec on destroying an apartment - it is
  only needed for touching the apartment list.
- Small cleanups.
2005-01-06 19:39:07 +00:00
Robert Shearman 67bae9f213 ConnectNamedPipe returning ERROR_PIPE_CONNECTED is not an error. 2005-01-06 19:38:48 +00:00
Paul Vriens c6559a104c - Use Interlocked* functions in AddRef and Release.
- Store the result of the Interlocked functions and use only this.
2005-01-06 19:36:47 +00:00
Tony Lambregts 5f0e554af5 Add Brazilian standard time. 2005-01-06 19:35:35 +00:00
Michael Jung ada55dccd7 Register rsaenh as a RSA SChannel provider.
Register rsaenh as default RSA SChannel provider.
2005-01-06 19:34:47 +00:00
Aric Stewart 1416b10119 - Properly deformat keys written to the registry.
- Because directory mappings can change between the CostFinalize step
  and the InstallFiles step we need to do a final resolution of the
  target file name before installing.
2005-01-06 19:34:16 +00:00
Robert Shearman b5e4d1a8d8 The channel buffer can be NULL if the proxy is disconnected, so check
for this before releasing it.
2005-01-05 17:30:20 +00:00
Robert Shearman 9f426df0a8 - Fix race on apartment creation.
- Display errors in decimal to make searching for the meaning in
  winerror.h easier.
2005-01-05 17:30:04 +00:00
Mike Hearn a6a416cb4e - Make apartment access thread-safe by introducing refcounting and
wider usage of the apartment lock.
- Rework OLE TLS management to eliminate uninitialised apartments and
  parent chaining.
2005-01-05 17:14:33 +00:00
Michael Jung 7c26a65f07 Added list of supported algorithms for SChannel personality. 2005-01-05 17:13:36 +00:00
Aric Stewart 00e1ecdce8 When checking for an existing .lnk shortcut extension on the filename
do not just search for '.' but actually verify it is '.lnk'.
2005-01-05 17:13:12 +00:00
Vitaly Lipatov 5e4ac6bc1b Spelling fixes. 2005-01-05 17:12:07 +00:00
Vitaly Lipatov 2dd31728d3 Get real screen properties. 2005-01-05 17:11:33 +00:00
Mike McCormack 23b291a642 Add a simple test case for MSI databases. 2005-01-05 13:26:34 +00:00
Vitaly Lipatov 0590343445 Add description for ExtTextOut (also include comments from Shachar
Shemesh) and missed constants ETO_NUMERICSLOCAL, ETO_NUMERICSLATIN,
ETO_PDY in wingdi.h.
2005-01-05 13:24:52 +00:00
Raphael Junqueira e99a183cc3 - handle StyleRefs list on DMStyleTracks
- handle PartRefs list on DMStyles
- begin of Parts list support on DMStyles (for now only some array
  checks)
- fix IDirectMusicStyle::QueryInterface
2005-01-05 13:22:57 +00:00
Michael Jung 974c94f604 Set last error if dwFlags are non zero in CPReleaseContext.
Added corresponding test.
2005-01-05 13:22:37 +00:00
Mike McCormack a246306870 Allow COM to start services containing COM servers. 2005-01-05 13:22:10 +00:00
Aric Stewart 4e55343064 - CustomAction 35 should call SetTargetPath not just set the property.
- TARGETDIR and SOURCEDIR may not be entries 0 in the directory
  tables. So when resolving the folder we need to seek them out.
- When we handle SetTargetPath we need to be sure to recalculate the
  resulting paths as things with the now set Directory as the parent
  will change.
2005-01-04 20:47:20 +00:00
Aric Stewart def5cbfc0b Change how we install files so that we extract files as we need them,
cuts down on extraction time and unused files.
2005-01-04 20:42:58 +00:00
Francois Gouget 9d589acc26 Assorted spelling fixes. 2005-01-04 20:39:54 +00:00
Mike McCormack cc6b542a8e Convert StartDoc to Unicode. 2005-01-04 20:39:19 +00:00
Lionel Ulmer 58b1e2a4e9 Fix 'SendAsyncCallback' when it's really asynchronous. 2005-01-04 20:38:53 +00:00
Lionel Ulmer cc89feb9c4 fpos_t should be 64 bits (verified with native MSVCRT.DLL) 2005-01-04 20:38:14 +00:00
Lionel Ulmer 66725349d5 Handle buffering in fgetpos / fsetpos. 2005-01-04 20:37:54 +00:00
Mike McCormack ac6a413bf5 Remove unneeded whitespace, indent correctly. 2005-01-04 20:36:12 +00:00
Robert Reif 18a1a6e194 Prevent crash from invalid last parameter in GetFileVersionInfo.
Prevent crash in VerQueryValue when return size not requested.
GetFileVersionInfo and VerQueryValue parameter tests added.
2005-01-04 20:35:46 +00:00
Robert Shearman fbe94efc91 Change dialog templates to not explicitly specify extended window
styles for the static rects on the Page Setup dialog as the ones
specified were wrong anyway.
2005-01-04 20:35:24 +00:00
Ulrich Czekalla 318b963f9f Always clearAllSelections since not clearing CLIPBOARD can get us into
an odd state.
2005-01-04 20:34:46 +00:00
Michael Jung 7fa80077b4 Always set ERROR_SUCCESS in case of success in CPAcquireContext. 2005-01-04 20:33:48 +00:00
Robert Shearman 85763a1711 - Add tracing for proxy ref count functions.
- Release the channel on proxy destruction.
2005-01-04 20:33:02 +00:00
Mike Hearn 73318dab8f Add a DCOM todo list. 2005-01-04 20:32:47 +00:00
Jakob Eriksson 6239fc72de On NT4 we can also get ERROR_RING2_STACK_IN_USE from
CryptAcquireContext().
2005-01-04 20:31:53 +00:00
Alexandre Julliard aef0d18d97 Use the DC origin to map coordinates in ExcludeUpdateRgn instead of
calling an internal DCE function.
2005-01-04 12:11:09 +00:00
Alexandre Julliard 1fd6264244 Fixed the FIXME in RtlNtStatusToDosError, and implemented
RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
2005-01-04 12:09:32 +00:00
Alexandre Julliard 646ab89f0a Support mapping non page-aligned binaries for SEC_IMAGE mappings. 2005-01-04 12:04:06 +00:00
Robert Shearman 2835633789 Implement proxy manager. 2005-01-04 11:58:23 +00:00
Robert Shearman 5bded56016 Fix colours used for SS_*RECT, SS_*FRAME. 2005-01-04 11:51:14 +00:00
Michael Jung 2032284035 Added support for machine keysets. 2005-01-04 11:49:55 +00:00
Robert Shearman dee74a6ec9 Make the ClassFactory proxy support aggregation. 2005-01-04 11:47:52 +00:00
Alexandre Julliard 75f87dd43f Get rid of the ThunkData stubs, these are not functions. 2005-01-03 20:47:48 +00:00
Alexandre Julliard e7f5fade9e Fixed CLSID_AVISimpleUnMarshal export. 2005-01-03 20:43:13 +00:00
Alexandre Julliard 0e39462063 Avoid dumping the contents of output strings. 2005-01-03 20:33:40 +00:00
Hans Leidekker 8fb2e35c01 Remove most remaining stubs from unicows. 2005-01-03 20:30:57 +00:00
Hans Leidekker c1236fd120 Stub implementations for SHUpdateImageA, SHHandleUpdateImage,
SHObjectProperties, SHGetNewLinkInfo{A,W}, SHStartNetConnectionDialog,
SHEmptyRecycleBin{A,W}, SHFormatDrive, SHQueryRecycleBin{A,W}.
'HeapAlloc can fail' fix for ExtractIconExA.
Implement ExtractAssociatedIconA -> W.
Correct prototype for SHObjectProperties.
Forward SHGetNewLinkInfo to SHGetNewLinkInfoA.
2005-01-03 20:26:06 +00:00
Hans Leidekker 8facd46877 Stub implementations for AddMonitorW, DeletePrinterDriverW,
DeleteMonitorW, DeletePortW, GetPrintProcessorDirectoryW,
AddPrintProcessor{A,W}, AddPrintProvidor{A,W},
AdvancedDocumentProperties{A,W}, EnumPortsW, AddPort{A,W},
ConfigurePort{A,W}, DeletePrintProcessor{A,W},
DeletePrintProvidor{A,W}, EnumPrintProcessorDatatypes{A,W},
GetJob{A,W}.
2005-01-03 20:24:39 +00:00
Christian Costa 45f111a276 Implemented IMediaControl_Run that explores the graph, counts
renderers and starts filters.
Better implementation of IBaseFilter_Run for AVI SPlitter and AVI
Decompressor.
Use the standard memory allocator when an output pin does not provide
any allocator.
Set allocator properties for AVI Decompressor output pin and update
the buffers size at connection time.
2005-01-03 20:23:14 +00:00
Jakob Eriksson 0b14f38d57 Add return value to GetObject error message. 2005-01-03 20:19:32 +00:00
Michael Jung 0da8a5219e Adhere to const'ness of the input data in encrypt_block_impl. 2005-01-03 20:14:03 +00:00
Vitaly Lipatov 6971e1d762 Add comments, fix negative value from GetCurFocus. 2005-01-03 20:12:42 +00:00
Mike McCormack 8d830b6246 Add some missing declarations in the spec file. 2005-01-03 20:10:45 +00:00
Jacek Caban e09e67e8a9 Get rid of W->A calls. 2005-01-03 20:09:22 +00:00
Diego Pettenò e07a95688d Get rid of DPRINTF. 2005-01-03 20:04:54 +00:00
Aric Stewart bd1bbc1768 Improve progress bar tracking. 2005-01-03 20:00:13 +00:00
Hans Leidekker 0cc2031409 Stub implementations for GetKernelObjectSecurity,
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Jon Griffiths 4fb777c471 Documentation fix. 2005-01-03 17:09:55 +00:00
Hans Leidekker 8310bd5328 Implement and test URLIS_URL flag in UrlIs(). 2005-01-03 17:08:40 +00:00
Christian Costa 18511a38e7 Added registration/unregistration of media types. 2005-01-03 17:05:47 +00:00
Jon Griffiths 91332bf471 Implement CreateIProp & most of MAPI's IMAPIProp & IPropData ifaces.
Implement FBadEntryList and make FBadProp use it.
Test CreateIProp, start of tests for IPropData interface.
2005-01-03 17:05:02 +00:00
Hans Leidekker c730eec6e1 Stub implementations for GetAltTabInfo{A,W}.
Forward GetAltTabInfo to GetAltTabInfoA.
2005-01-03 17:02:34 +00:00
Justin Chevrier e603d1a0dd Converted system metrics to Unicode. 2005-01-03 16:59:41 +00:00
Steven Edwards d06a464ce9 Add and fix some stubs. 2005-01-03 16:54:43 +00:00
Jacek Caban dfa192ae28 Get rid of HEAP_strdupWtoA calls. 2005-01-03 16:07:37 +00:00
Aric Stewart 6296de389a Be sure that set paths are terminated with a backslash. 2005-01-03 16:06:44 +00:00
Michael Stefaniuc 15a308a9d7 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2005-01-03 14:56:42 +00:00
Eric Pouech 89f5283432 Some missing const correctness fixes. 2005-01-03 14:50:12 +00:00
Dimitrie O. Paun bedc52ae71 Debug fixes and cleanup. 2005-01-03 14:46:40 +00:00
Dmitry Timoshkov ce81088eb5 - Do not print FIXME in X11DRV_GetKeyboardLayout if dwThreadid
identifies current thread.
- Make X11DRV_GetKeyboardLayoutList follow the same rule as
  X11DRV_GetKeyboardLayout and X11DRV_GetKeyboardLayoutName for CJK
  locales.
- There is no need to have 0xe001 in the high word of Japanese
  keyboard layouts lcids in main_key_tab, the above APIs take care of
  it.
- High word of a returned keyboard layout duplicates low word for non
  CJK locales under Windows.
2005-01-03 14:44:27 +00:00
Eric Pouech 9dc3843cba Fixed some regressions from the previous change. 2005-01-03 14:43:15 +00:00
Christian Costa 65a4775b30 Handle correctly DDSD_LINEARSIZE flag for FOURCC textures. 2005-01-03 14:41:08 +00:00
Dimitrie O. Paun d6cf14d7b6 Add test for the listbox item height. 2005-01-03 14:40:13 +00:00
Jacek Caban a8d9c87c41 Implemented DllCanUnloadNow. 2005-01-03 14:39:51 +00:00
Jacek Caban 76d4edf1f0 Get rid of W->A call. 2005-01-03 14:39:08 +00:00
Jon Griffiths 0b6291644d Const correctness fix. 2005-01-03 14:37:41 +00:00
Jon Griffiths bcf439261a Use Ascii functions explicitly. 2005-01-03 14:36:47 +00:00
Dimitrie O. Paun 08025d7db9 SS_CENTERIMAGE has been implemented. 2005-01-03 14:36:25 +00:00
Michael Jung 1d7800bdee Implemented parallel hashing in CPEncrypt and CPDecrypt.
Implemented CPHashSessionKey.
2005-01-03 14:35:35 +00:00
Mike Hearn 054f9ecc3c Comment out an assert, as we don't yet implement IRemUnknown. 2005-01-03 14:34:09 +00:00
Hans Leidekker 63e241ab95 Stub implementations for GetLogColorSpace{A,W}. 2005-01-03 14:33:07 +00:00
Hans Leidekker f4a5ba1f6b Stub implementations for EnumDateFormatsEx{A,W}. 2005-01-03 14:32:16 +00:00
Hans Leidekker e121d5094b Stub implementations for RasConnectionNotification{A,W},
RasCreatePhonebookEntry{A,W}, RasDeleteSubEntry{A,W}, RasDial{A,W},
RasEditPhonebookEntry{A,W}, RasGetConnectStatus{A,W},
RasGetEntryDialParamsW, RasHangUpW, RasGetEntryPropertiesW,
RasGetErrorString{A,W}, RasGetProjectionInfo{A,W},
RasRenameEntry{A,W}, RasSetEntryDialParams{A,W},
RasSetSubEntryProperties{A,W}.
2005-01-03 14:30:14 +00:00
Aric Stewart 51cf7d13c0 Free allocated buffers. 2005-01-03 14:29:09 +00:00
Michael Jung e98d2712cb Small bugfixes backported from the LibTomCrypt v1.0rc1 release. 2005-01-03 14:25:12 +00:00
Mike McCormack 0f0b6c8c15 Implement thread safety for records. 2004-12-27 19:29:33 +00:00
Robert Shearman 5d7d188df5 - Move named pipe macros into rpc.c.
- Remove unneeded function.
2004-12-27 19:27:57 +00:00
Robert Shearman 2b747d4e50 Implement COM local servers using table marshaling to avoid doing the
marshaling in a child thread where COM has not been initialized.
2004-12-27 19:24:55 +00:00
Mike Hearn 5475a2e617 - Implement the COM stub manager, refactor the current stub code.
- Begin implementing interface stubs.
2004-12-27 19:21:47 +00:00
Aric Stewart d900b5392d Parse out the full features by using the ',' character and do
comparisons based on the full feature names.
2004-12-27 19:12:35 +00:00
Aric Stewart ea32fb93a1 Continue when a duplicate component is found and loaded. 2004-12-27 19:09:16 +00:00
Aric Stewart fbdd70968d - Rework how we handle Feature and Component States. I have confirmed
from testing that, although documented nowhere, having ADDLOCAL on
  the install line overrides INSTALLLEVEL.
- Track all files extracted from cabinents as tempfiles so they can be
  removed at the end of the install to not leave uninstalled but
  uncabbed files laying around.
2004-12-27 19:06:22 +00:00
Aric Stewart ae1aa32c77 Move Install Features selection and evaluation into CostFinalize. 2004-12-27 19:02:59 +00:00
Aric Stewart 09d35c3c91 Allow for end of install actions. 2004-12-27 19:00:26 +00:00
Aric Stewart 8cc14a93a1 - Create the shortcut directory if it does not exist.
- Set the INSTALLLEVEL in CostFinalize if it is not set.
2004-12-27 18:56:30 +00:00
Aric Stewart 2ad3ff880f Eliminate some fixed length buffers. 2004-12-27 18:50:00 +00:00
Mike McCormack 816f86560e Fix CreateService's error code for a service that already exists. 2004-12-27 17:44:47 +00:00
Aric Stewart fb9d11941f Include a System16Folder definition. 2004-12-27 17:43:37 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Hans Leidekker feef8957b9 Stub implementations for GetICMProfileW, SetICMProfile{A,W},
UpdateICMRegKey{A,W}.
Forward UpdateICMRegKey to UpdateICMRegKeyA.
2004-12-27 17:23:17 +00:00
Huw Davies 273137cc2c Fix typelib generation of CARRAYs. 2004-12-27 17:19:26 +00:00
Lionel Ulmer 857fc43ddf Fix non-RTDSC case for QueryPerformanceFrequency. 2004-12-27 17:16:39 +00:00
Christian Costa 9b8d5c625f Initialize the COM libraries for the newly created worker thread in
the AVI splitter.
Fixed some returned error codes.
Show refcount in the AddRef/Release traces in filter.
Added 24 bits source in the video renderer.
2004-12-27 17:15:58 +00:00
Christian Costa 171c9420c2 Fake line sweeping of the monitor. 2004-12-27 17:12:55 +00:00
Mike McCormack 1645ab0492 Don't use RtlCreateUnicodeStringFromAsciiz, it doesn't preserve NULL. 2004-12-27 17:10:31 +00:00