Commit Graph

66 Commits

Author SHA1 Message Date
Hans Leidekker c6d1921e93 wmiutils: Build without -DWINE_NO_LONG_TYPES.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 21:20:41 +01:00
Alexandre Julliard f0cd33c69e include: Add support for defining Win32 types as 'long' where possible.
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Alexandre Julliard 088a787a2c makefiles: Make -mno-cygwin the default.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Alexandre Julliard 5d82baf974 winecrt0: Add a default implementation DllRegisterServer()/DllUnregisterServer().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard bd6b53740c winecrt0: Add a default implementation for DllCanUnloadNow().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard e925b40d17 wmiutils: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-26 11:40:42 +01:00
Michael Stefaniuc 20971961f7 wmiutils: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-26 10:24:11 +01:00
Alexandre Julliard 7c62577295 wmiutils: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 09:29:13 +02:00
Michael Stefaniuc 76cd53be1a wmiutils/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 10:07:55 +02:00
Michael Stefaniuc 25692aefe0 wmiutils: Use the global HeapAlloc() wrappers.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 12:58:59 +01:00
Alistair Leslie-Hughes 2c0a3b2a6c wmiutils/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 19:46:42 +02:00
Francois Gouget b16f08b254 wmiutils: Simplify and standardize the heap_xxx() declarations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-01 10:30:08 +01:00
Nikolay Sivov fd00c9db5a wmiutils/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-17 13:08:22 +09:00
Nikolay Sivov afd1e40e82 wmiutils: Don't return HRESULT codes for BOOL retval (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:47:47 +09:00
Hans Leidekker 59ca80cb3d wmiutils: Always null-terminate the server string in build_server (valgrind). 2014-05-13 13:47:09 +02:00
Hans Leidekker 582c5fde99 wmiutils: Fix a memory leak (valgrind). 2014-04-30 15:15:29 +02:00
Dmitry Timoshkov f8a18f9c90 wmiutils: Remove unused IUnknown *outer parameter from object constructors. 2014-01-07 15:23:14 +01:00
Frédéric Delanoy 50629d7ca9 wmiutils/tests: Use BOOL type where appropriate. 2014-01-07 10:41:53 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Alexandre Julliard c7803b885b makefiles: Add makedep pragmas for registration idl files. 2013-11-05 20:38:18 +01:00
Hans Leidekker 540370fb03 wmiutils: Fix parsing of relative paths. 2013-06-07 11:58:45 +02:00
Hans Leidekker d816192ecc wmiutils: Accept namespaces without a leading slash. 2013-05-14 17:29:06 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Hans Leidekker 612caa5d39 wmiutils: Implement IWbemPathKeyList::RemoveAllKeys. 2013-02-21 18:01:30 +01:00
Hans Leidekker 1397419470 wmiutils: Implement IWbemPathKeyList::GetCount. 2013-02-21 18:01:28 +01:00
Hans Leidekker 39a1b7050f wmiutils: Add a stub implementation of IWbemPathKeyList. 2013-02-21 18:01:26 +01:00
Hans Leidekker 7b00683d6e wmiutils: Add support for for parsing and serializing a key list. 2013-02-21 18:01:23 +01:00
Hans Leidekker 585dbbfc62 wmiutils: Add locking to the path object. 2013-01-18 16:34:36 +01:00
Hans Leidekker f4597120b1 wmiutils: Implement IWbemPath::SetNamespaceAt. 2013-01-17 16:41:03 +01:00
Hans Leidekker 9548eb79ad wmiutils: Implement IWbemPath::RemoveNamespaceAt. 2013-01-17 16:41:00 +01:00
Hans Leidekker 5391929491 wmiutils: Implement IWbemPath::RemoveAllNamespaces. 2013-01-17 16:40:56 +01:00
Hans Leidekker af84c4c7a9 wmiutils: Implement IWbemPath::GetNamespaceAt. 2013-01-17 16:40:52 +01:00
Hans Leidekker ae6468c9a9 wmiutils: Implement IWbemPath::SetClassName. 2013-01-17 16:40:48 +01:00
Hans Leidekker 77ae1d0fb7 wmiutils: Implement IWbemPath::SetServer. 2013-01-16 12:23:29 +01:00
Hans Leidekker 47e9ffa773 wmiutils: Implement IWbemPath::GetInfo. 2013-01-15 12:13:36 +01:00
Hans Leidekker 19f9420f62 wmiutils: Implement IWbemPath::GetServer. 2013-01-14 11:04:26 +01:00
Hans Leidekker 5a12f6c088 wmiutils: Implement IWbemPath::GetClassName. 2013-01-14 11:04:24 +01:00
Hans Leidekker 2390ef9232 wmiutils/tests: Add more tests. 2013-01-03 16:44:27 +01:00
Hans Leidekker 1a16bf4459 wmiutils: Don't prepend a backslash if WBEMPATH_GET_NAMESPACE_ONLY is specified. 2013-01-03 16:44:21 +01:00
Hans Leidekker f776b64fa6 wmiutils: Fix buffer size query in IWbemPath::GetText. 2013-01-03 16:44:14 +01:00
Hans Leidekker 988ff08754 wmiutils: Add tests. 2013-01-02 13:36:43 +01:00
Hans Leidekker 0199a94329 wmiutils: Support more flags in IWbemPath::GetText. 2013-01-02 13:36:24 +01:00
Hans Leidekker 3843482668 wmiutils: Implement IWbemPath::GetNamespaceCount. 2013-01-02 13:36:18 +01:00
Hans Leidekker 8059192e12 wmiutils: Parse the path passed to IWbemPath::SetText. 2013-01-02 13:36:14 +01:00
Hans Leidekker ee9c242295 wmiutils: Register WbemDefPath. 2013-01-02 13:36:09 +01:00
Hans Leidekker 7e936825e2 wmiutils: Validate parameters in IWbemPath::SetText and IWbemPath::GetText. 2013-01-02 13:36:04 +01:00
Hans Leidekker 0ee1b888a2 wmiutils: Introduce memory allocation helpers. 2013-01-02 13:36:00 +01:00
Hans Leidekker c092d82500 wmiutils: Implement IWbemPath::SetText and IWbemPath::GetText. 2012-12-21 14:19:03 +01:00