Commit Graph

144 Commits

Author SHA1 Message Date
Andrew Nguyen 5f1764c629 dxdiagn: Successfully copy to destination variants with an invalid type in IDxDiagContainer::GetProp.
GetProp now simply unconditionally clears the destination variant if
VariantClear fails.
2010-03-23 17:30:04 +01:00
Andrew Nguyen 61cb53e24d dxdiagn: Fix return value of IDxDiagContainer::GetProp on property search failure. 2010-03-23 12:19:48 +01:00
Francois Gouget f096b023c4 dxdiagn/tests: Add a trailing '\n' to an ok() call. 2010-03-22 10:48:26 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Andrew Nguyen af28d72aaf dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContainer::EnumPropNames. 2010-03-15 15:12:17 +01:00
Andrew Nguyen f1e005410f dxdiagn: Fix return and output behavior of IDxDiagContainer::EnumPropNames. 2010-03-15 15:12:10 +01:00
Andrew Nguyen af1bcf7768 dxdiagn: Fix dot parsing in IDxDiagContainer::GetChildContainer for the case of a lone dot terminator. 2010-03-15 15:12:06 +01:00
Andrew Nguyen c245c6ed09 dxdiagn: Initialize output pointer to NULL in IDxDiagContainer::GetChildContainer. 2010-03-15 15:12:00 +01:00
Andrew Nguyen fa9af5b68a dxdiagn: Fix string copy behavior with an excessively short buffer in IDxDiagContainer::EnumChildContainerNames. 2010-03-15 15:11:56 +01:00
Andrew Nguyen 2c9a5900e6 dxdiagn: Fix return and output behavior of IDxDiagContainer::EnumChildContainerNames. 2010-03-15 15:11:52 +01:00
Andrew Nguyen 5801d60a37 dxdiagn/tests: Add tests for IDxDiagContainer. 2010-03-15 15:09:54 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Paul Vriens 16d161bc95 dxdiagn/tests: Fix some test failures on a clean W2K3. 2010-01-14 09:12:31 -06:00
Andrew Nguyen a72af3100d dxdiagn: Validate the dwDxDiagHeaderVersion member in IDxDiagProvider::Initialize. 2009-12-22 13:48:26 +01:00
Andrew Nguyen e1dd6a869d dxdiagn: Fix a return value and avoid validating the input parameter for IDxDiagProviderImpl::GetContainer. 2009-12-22 13:48:26 +01:00
Andrew Nguyen dddf714f02 dxdiagn: Add tests for IDxDiagProvider. 2009-12-22 13:48:26 +01:00
Andrew Nguyen b0e3c91c0a dxdiagn: Fail class instantiation if aggregation is requested. 2009-12-22 13:48:26 +01:00
Andrew Nguyen d36e3b4a1d dxdiagn: Make the IDxDiag* interfaces conform to the IUnknown::QueryInterface contract. 2009-12-22 13:48:26 +01:00
Andrew Nguyen 957281a8e3 dxdiagn: Initialize a structure size member before calling EnumDisplayDevicesW. 2009-12-11 12:16:27 +01:00
Michael Stefaniuc 46dcb777db dxdiagn: Remove duplicate include. 2009-09-29 18:08:16 +02:00
Vitaliy Margolen 27072f296f dxdiagn: Use quartz's IFilterMapper to get DirectShow filter information instead of looking through private structures. 2009-06-30 12:38:49 +02:00
Vitaliy Margolen 516aac77aa dxdiagn: Add fil_data.idl to describe IAMFilterData interface. 2009-06-30 12:38:39 +02:00
Vitaliy Margolen 806ea86be2 dxdiagn: DirectShowFilters should go under numbered sub-containers. 2009-05-18 12:34:24 +02:00
Vitaliy Margolen 136dc1fcaa dxdiagn: Correct version format property. 2009-05-18 12:34:12 +02:00
Vitaliy Margolen b3375a3fa2 dxdiagn: Rename szClsidCat and szClsidFilter to match native information. 2009-05-18 12:33:57 +02:00
Michael Stefaniuc 89b043744f dxdiagn: Remove superfluous pointer casts. 2009-01-15 12:43:07 +01:00
Markus Weiland 40fb1cd9cd dxdiaxgn: Implemented retrieval of szDeviceIdentifier property. 2009-01-05 15:08:15 +01:00
Vitaliy Margolen 8a0318c0b4 dxdiagn: Add dxdiagn.dll to DxDiag_DirectXFiles container. Create fake dll for it as well. 2008-12-29 11:47:53 +01:00
Vitaliy Margolen f816708b62 dxdiagn: Fix DxDiag_DirectXFiles container to have child sub containers. 2008-12-29 11:47:33 +01:00
Hans Leidekker 8bd9a3aa09 janitorial: Don't depend on user32 for the self registration functions. 2008-12-17 11:38:32 +01:00
Alexandre Julliard 8449f63ccf dxdiagn: Make some functions static. 2008-12-02 15:27:24 +01:00
Francois Gouget a6ba11a453 dxdiagn: Remove WINAPI on static functions where not needed. 2008-11-28 12:54:27 +01:00
Vitaliy Margolen 59815fc205 dxdiagn: Add service pack version. 2008-11-03 13:34:12 +01:00
Vitaliy Margolen 45a2807f87 dxdiagn: Add windows path. 2008-11-03 13:34:12 +01:00
Vitaliy Margolen eea4849fde dxdiagn: Add pagefile size info. 2008-11-03 13:34:12 +01:00
Vitaliy Margolen 1659bd622d dxdiagn: Replace remaining FIXMEs with TRACEs. 2008-11-03 13:34:12 +01:00
Michael Stefaniuc 7fe70f2c2b dxdiagn: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:42:51 +02:00
Andrew Talbot b31766fee6 dxdiagn: Sign-compare warning fix. 2008-08-26 12:07:40 +02:00
Vitaliy Margolen e938ff9aee dxdiagn: Use helper functions for adding properties to container. 2008-06-23 12:51:08 +02:00
Vitaliy Margolen 8ab96ba2dc dxdiagn: PhysicalMemory parameter is a string not long long. 2008-06-23 12:50:24 +02:00
Vitaliy Margolen e66b15c204 dxdiagn: A number of FIXMEs can be replaced with TRACEs. 2008-05-28 19:31:50 +02:00
Markus Weiland df51bbf49f dxdiagn: Implemented OS version properties for DXDiagSystemInfoContainer. 2008-05-23 11:58:44 +02:00
Vitaliy Margolen d7b98841ab dxdiagn: Update dx version to 9.0c. 2008-05-12 11:43:25 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Markus Weiland 2a87ef68c5 dxdiagn: Implemented ullPhysicalMemory property for DXDiagSystemInfoContainer. 2008-04-30 10:23:46 +02:00
Rob Shearman cebc73e373 dxdiagn: Fix the variable that the result of GetFileVersionInfoW is assigned to in DXDiag_AddFileDescContainer. 2008-02-29 12:36:05 +01:00
Rob Shearman 806dc4249c dxdiagn: Fix the character count passed to snprintfW in DXDiag_AddFileDescContainer and DXDiag_InitDXDiagDisplayContainer. 2008-02-15 11:03:52 +01:00
Andrew Talbot c6511b0031 dxdiagn: Remove unneeded casts. 2008-01-07 12:18:54 +01:00
Stefan Leichter 5861d08426 dxdiagn: Remove 'recursive registry key delete' function. 2007-08-28 11:56:22 +02:00
Francois Gouget e190682c00 dxdiagn: Use quotes to include ddraw.h. Fixes a winapi_check warning. 2007-08-03 12:43:49 +02:00
Francois Gouget ed366f22a2 dxdiagn: Fix compilation on systems that don't support nameless unions. 2007-07-31 21:37:00 +02:00
Vitaliy Margolen 116b807b9c dxdiagn: Add reporting of some display related information. 2007-07-13 14:35:26 +02:00
Andrew Talbot 7ae8d236e5 dxdiagn: Constify a variable. 2007-02-14 21:03:40 +01:00
Francois Gouget 9fe4673347 Don't include windows.h & co in the Wine sources.
Remove uneeded COM_NO_WINDOWS_H defines.
2006-10-24 17:47:09 +02:00
Michael Stefaniuc 5ecdbb1f85 dxdiagn: Win64 printf format warning fixes. 2006-10-07 17:47:30 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Andrew Talbot 6fc8454825 dxdiagn: Cast-qual warning fix. 2006-09-13 11:39:22 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Robert Reif 8d99e2e79c dxdiagn: Fix TRACE/FIXME formats. 2006-07-05 12:56:24 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Alexandre Julliard fa26809f0a dxdiagn: Make the virtual table functions static where possible. 2006-06-10 11:58:14 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Alexandre Julliard c9cc7e33ff Fixed some compiler warnings on old gcc versions. 2006-03-02 18:03:32 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Raphael Junqueira ad583f74c0 - fill DirectShowFilters Container
- fix some MLKs (clear variants)
2005-11-08 10:57:39 +00:00
Raphael Junqueira de8f8334f0 - bug fixes on AddProp, AddContainer (stupid buffer overflows)
- more complete container hierarchy
- DXDiag_AddFileDescContainer service to fill dll info
- almost complete DXDiag_InitDXDiagDirectXFilesContainer (for now)
2005-11-07 16:39:41 +00:00
Raphael Junqueira af983e4d86 Fill provider with some empty containers. 2005-11-03 11:34:28 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard d37f0abf07 Don't prefix the functions DllCanUnloadNow, DllGetClassObject and
Dll(Un)RegisterServer with the dll name so that the compiler can check
the prototypes.
2005-08-08 17:35:28 +00:00
Mike McCormack 50a6d970f5 gcc 4.0 warning fixes for Interlocked* functions. 2005-08-03 11:03:05 +00:00
Alexandre Julliard 85c9283f50 Don't generate import libraries for dlls that don't export anything. 2005-07-26 15:52:58 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Dmitry Timoshkov b67da5b946 Make more of the OLE interface vtables const. 2005-06-01 19:57:42 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
James Hawkins a85da70304 Properly implement DllCanUnloadNow ref counting. 2005-02-01 14:21:37 +00:00
Raphael Junqueira db0d0b91e6 - some fixes on sub containers support
- add support for properties (VARIANT)
- hard coded simple init for root container (getting simple dx9
  version checks working)
2005-01-27 10:42:00 +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
Tom Wickline 5c38e1b561 Version resources cleanup. 2004-11-23 13:59:34 +00:00
Huw Davies e8d89cd0f5 Fix a reference leak on failure (spotted by Rob Shearman).
Move some code over to the Interlocked* functions.
2004-09-28 19:19:27 +00:00
Alexandre Julliard 39a696a166 Removed some uses of the non-standard ICOM_THIS macro. 2004-09-06 20:34:29 +00:00
Alexandre Julliard f714b39762 Get rid of the no longer used ICOM_MSVTABLE_COMPAT_DummyRTTIVALUE
macro.
2004-08-23 19:39:48 +00:00
Alexandre Julliard 25e2a320a7 Don't define BEGIN_INTERFACE in unknwn.h. 2004-08-22 21:38:46 +00:00
Alexandre Julliard 48c4bb3c31 Get rid of the non-standard ICOM_VTABLE macro. 2004-08-12 23:00:51 +00:00
Alexandre Julliard 0467ce9fd7 Get rid of the non-standard ICOM_VFIELD macro. 2004-08-12 19:52:49 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Ivan Leo Murray-Smith 10778aa761 Updated the version info of all DirectX dlls to the version numbers of
DirectX 9.0b for Windows 2000/XP.
2004-05-14 21:37:32 +00:00
Raphael Junqueira 4aea40a869 - fix dxdiag.h (again)
- IDxDiagContainerImpl implementation
- IDxDiagProvider::GetRootContainer (that creates the root container)
2004-04-19 02:57:09 +00:00
Raphael Junqueira 033ae9219f Added dxdiagn.dll with a simple implementation of IDxDiagProvider. 2004-04-16 00:26:14 +00:00