Commit Graph

293 Commits

Author SHA1 Message Date
Hans Leidekker cd51d513c4 wbemprox/tests: Mark a test result as broken. 2013-06-18 20:33:40 +02:00
Hans Leidekker 74cf8f53f0 wbemprox: Implement Win32_SoundDevice.Name. 2013-06-14 11:50:24 +02:00
Hans Leidekker 02ba712a05 wbemprox: Implement Win32_NetworkAdapter.PhysicalAdapter. 2013-06-14 11:50:18 +02:00
Hans Leidekker 861f745033 wbemprox: Implement Win32_VideoController.AdapterDACType. 2013-06-14 11:50:04 +02:00
Hans Leidekker ad60f235d2 wbemprox: Implement Win32_OperatingSystem.ServicePackMinorVersion. 2013-06-14 11:49:54 +02:00
Hans Leidekker 3c623ef38c wbemprox: Implement Win32_OperatingSystem.Locale. 2013-06-14 11:49:42 +02:00
Hans Leidekker f560bb4801 wbemprox: Implement Win32_OperatingSystem.CountryCode. 2013-06-14 11:49:36 +02:00
Hans Leidekker ba3fe55cd4 wbemprox: Implement Win32_OperatingSystem.CodeSet. 2013-06-14 11:49:29 +02:00
Hans Leidekker 772236fe85 wbemprox: Implement Win32_Processor.NumberOfCores. 2013-06-14 11:49:20 +02:00
Hans Leidekker 38e976acdd wbemprox: Implement Win32_Processor.AddressWidth. 2013-06-14 11:48:26 +02:00
Hans Leidekker 33c440fb22 wbemprox: Override variant conversion for Win32_VideoController.AdapterRAM. 2013-06-14 11:47:33 +02:00
Hans Leidekker c9fe6139b5 wbemprox: Always use resize_table to allocate memory for table data. 2013-06-14 11:47:25 +02:00
Hans Leidekker 97cc8bfcc7 wbemprox/tests: Mark a test result as broken. 2013-06-12 12:08:26 +02:00
Hans Leidekker 97f9d6fd8f wbemprox: Add a partial implementation of CIM_DataFile. 2013-06-04 15:02:00 +02:00
Hans Leidekker 0f8cbab1a9 wbemprox: Add a function to resize a table. 2013-06-04 15:01:45 +02:00
Hans Leidekker f4da96bb29 wbemprox: Rewrite IWbemServices::ExecMethod with low-level functions so we can reuse the object instance. 2013-06-04 15:01:42 +02:00
Hans Leidekker 9a14d5d024 wbemprox: Use the right allocator for BSTR values in get_owner. 2013-06-04 15:01:33 +02:00
Hans Leidekker 8e1aa4358a wbemprox: Optimize a common Win32_Directory query. 2013-06-04 15:01:30 +02:00
Hans Leidekker 074e6c7454 wbemprox: Add a partial implementation of Win32_Directory. 2013-05-29 18:12:14 +02:00
Hans Leidekker 90e913c42f wbemprox: Avoid storing rows that don't match the query condition. 2013-05-22 11:25:11 +02:00
Hans Leidekker aca407bfe7 wbemprox: Return a status from table fillers and add an optional condition parameter. 2013-05-22 11:25:05 +02:00
Hans Leidekker 8f69a44b1c wbemprox: Refill tables with dynamic content before each query. 2013-05-22 11:25:02 +02:00
Hans Leidekker 6253d49e15 wbemprox: Fill tables at latest possible moment. 2013-05-22 11:24:59 +02:00
Hans Leidekker d030b819c1 wbemprox: Implement Win32_Process.Name. 2013-05-22 11:24:56 +02:00
Daniel Jelinski 450617ecfc wbemprox: Add CIM_LogicalDisk class, forward to Win32_LogicalDisk. 2013-05-16 17:35:28 +02:00
Daniel Jelinski 8117ca9c61 wbemprox: Return success if only one result requested from enum. 2013-05-16 17:35:24 +02:00
Hans Leidekker 46cbc36041 wbemprox: Add support for asynchronous queries. 2013-05-16 14:49:57 +02:00
Hans Leidekker 0083d4b092 wbemprox: Add stub implementations of IWbemServices::ExecNotificationQueryAsync and IWbemServices::CancelAsyncCall. 2013-05-14 17:29:14 +02:00
Marcus Meissner af18f3e059 wbemprox: Initialize desc (Coverity). 2013-05-09 19:24:19 +02:00
Marcus Meissner 9d593b1183 wbemprox: Free server on exit (Coverity). 2013-05-09 19:24:19 +02:00
Hans Leidekker 7f81a2c6b1 wbemprox: Avoid a crash in to_safearray. 2013-05-03 21:39:21 +02:00
Hans Leidekker 283db88d78 wbemprox: Return a BSTR from get_stringvalue. 2013-05-02 18:51:53 +02:00
Hans Leidekker fb81961d8b wbemprox: Implement Win32_Processor.Family. 2013-05-02 18:51:51 +02:00
Hans Leidekker 1bd0bd5f96 wbemprox: Implement more properties of Win32_OperatingSystem. 2013-05-02 18:51:49 +02:00
Alexandre Julliard f02cdd877f Remove empty DLL_PROCESS_DETACH case statements. 2013-04-15 16:45:35 +02:00
Kim Jung Eon a9b2ce2c97 wbemprox: Implement some properties of Win32_ComputerSystem and Win32_DiskPartition. 2013-04-09 12:23:54 +02:00
Hans Leidekker 30630b4da2 wbemprox: Add a partial implementation of Win32_DiskPartition. 2013-02-25 13:02:54 +01:00
Hans Leidekker 8b27b1d0da wbemprox: Implement more properties of Win32_CDROMDrive. 2013-02-25 13:02:43 +01:00
Hans Leidekker a247c7cf23 wbemprox: Avoid a crash in destroy_view. 2013-02-25 13:02:24 +01:00
Hans Leidekker 0fb3458728 wbemprox: Trace the qualifier value in IWbemClassObject::GetNames. 2013-02-06 20:28:29 +01:00
Dmitry Timoshkov 1eee6e3159 wbemprox: Free name in create_signature (Coverity). 2013-02-05 10:49:55 +01:00
Hans Leidekker 71f0dd6044 wbemprox: Build a PNP device ID that better matches the graphics card. 2013-01-30 17:19:34 +01:00
Hans Leidekker 22f8205335 wbemprox: Implement Win32_VideoController.PNPDeviceID. 2013-01-29 18:45:40 +01:00
Hans Leidekker 375dcf799d wbemprox: Don't fail if there are less objects than asked for in IEnumWbemClassObject::Next. 2013-01-29 18:45:38 +01:00
Hans Leidekker 07197a19f2 wbemprox: Return an empty object if the path is NULL or empty. 2013-01-28 19:43:33 +01:00
Hans Leidekker 236b4dae4a wbemprox: Implement IWbemQualifierSet::Get. 2013-01-25 17:42:35 +01:00
Hans Leidekker d74cf43fbe wbemprox: Check the result count instead of the result pointer in get_propval. 2013-01-25 17:42:31 +01:00
Alexandre Julliard 22b3a8251f wbemprox: Don't rely on GetTicksCount to determine boot time. 2013-01-24 15:24:31 +01:00
Hans Leidekker 2797cd8ec1 wbemprox: Add a stub implementation of IWbemQualifierSet. 2013-01-22 19:13:46 +01:00
Hans Leidekker 99c1b55727 wbemprox: Implement Win32_DiskDrive.DeviceId. 2013-01-21 19:44:03 +01:00
Hans Leidekker 9d9c17de2b wbemprox: Reject empty queries. 2013-01-18 13:28:57 +01:00
Hans Leidekker 24b66842c4 wbemprox: Implement Win32_Process::GetOwner. 2013-01-11 18:24:50 +01:00
Hans Leidekker f7bf3876af wbemprox: Both signature parameters are optional in IWbemClassObject::GetMethod. 2013-01-11 18:24:31 +01:00
Hans Leidekker 035315c45c wbemprox: Avoid a crash in get_propval when the query returned no results. 2012-12-18 12:37:21 +01:00
Hans Leidekker 6955b09023 wbemprox: Avoid a crash when serializing object text. 2012-11-02 19:47:29 +01:00
Hans Leidekker 7879326f8a wbemprox: Add tests for Win32_Service methods. 2012-10-17 11:47:31 +02:00
Hans Leidekker d5cbcc1e70 wbemprox: Implement Win32_Service.StopService. 2012-10-17 11:47:16 +02:00
Hans Leidekker 60cab77b37 wbemprox: Implement Win32_Service.StartService. 2012-10-17 11:47:11 +02:00
Hans Leidekker 139c9f0276 wbemprox: Implement Win32_Service.ResumeService. 2012-10-17 11:47:06 +02:00
Hans Leidekker 8fe25b2b89 wbemprox: Implement Win32_Service.PauseService. 2012-10-17 11:46:59 +02:00
Hans Leidekker 64a7f2ea7f wbemprox: The last parameter to IWbemClassObject::GetMethod is optional. 2012-10-17 11:46:19 +02:00
Hans Leidekker 2eb666d624 wbemprox: Keep a reference to the table from uncommitted instances. 2012-10-17 11:46:12 +02:00
Hans Leidekker 755e01bc98 wbemprox: Pass an object instance to class methods. 2012-10-15 19:37:22 +02:00
Hans Leidekker 60db122133 wbemprox: Implement StdRegProv.GetStringValue. 2012-10-15 15:24:13 +02:00
Hans Leidekker 84ceddf8f3 wbemprox: Add tests for the standard registry provider. 2012-10-12 14:33:58 +02:00
Hans Leidekker 71fbae963e wbemprox: Implement class methods StdRegProv.EnumKey and StdRegProv.EnumValues. 2012-10-12 14:33:34 +02:00
Hans Leidekker 248049f36e wbemprox: Support overriding the CIM to VARIANT type mapping for method parameters. 2012-10-12 14:33:13 +02:00
Hans Leidekker 3b8266d20b wbemprox: Always convert from BSTR. 2012-10-12 14:33:08 +02:00
Hans Leidekker dca427fded wbemprox: Implement Win32_LogicalDisk.Name. 2012-10-12 14:33:02 +02:00
Hans Leidekker 3e52cea324 wbemprox: Add support for array types. 2012-10-10 20:34:05 +02:00
Hans Leidekker b552ad3672 wbemprox: Add support for uncommitted instances in IWbemClassObject::Get. 2012-10-10 20:34:05 +02:00
Hans Leidekker ef6fa2b9f2 wbemprox: Add reference counting to the table structure. 2012-10-10 20:34:04 +02:00
Hans Leidekker b0045eccde wbemprox: Implement Win32_NetworkAdapter.AdapterType. 2012-10-10 20:34:03 +02:00
Hans Leidekker 68f0e174d6 wbemprox: Handle NULL operands in eval_strcmp. 2012-10-10 20:34:03 +02:00
Hans Leidekker fe695f3ef9 wbemprox: Implement Win32_NetworkAdapter.Manufacturer. 2012-10-04 16:30:08 +02:00
Hans Leidekker 4d0a158808 wbemprox: Implement Win32_Processor.UniqueId. 2012-10-04 16:30:02 +02:00
Hans Leidekker eeb8ea7aca wbemprox: Add a partial implementation of Win32_SoundDevice. 2012-10-04 16:29:57 +02:00
Hans Leidekker fd37af04ff wbemprox: Add a partial implementation of Win32_DiskDrive. 2012-10-04 16:29:52 +02:00
Hans Leidekker ca0d8d8f63 wbemprox: Add a partial implementation of Win32_CDROMDrive. 2012-10-04 16:29:46 +02:00
Hans Leidekker 804e7e91cc wbemprox: Remove dynamic tables from the global list when they're freed. 2012-10-04 16:29:41 +02:00
Hans Leidekker b73bbf5973 wbemprox: Store a copy of the table name. 2012-10-04 16:29:36 +02:00
Hans Leidekker 7417e7b65a wbemprox: Implement Win32_ComputerSystem.Domain. 2012-09-28 17:16:02 +02:00
Hans Leidekker 4734e0ffa5 wbemprox: Implement Win32_BIOS.Version. 2012-09-28 17:15:58 +02:00
Hans Leidekker 163c8f31fd wbemprox: Add support for WbemAdministrativeLocator. 2012-09-28 17:15:54 +02:00
Hans Leidekker 99a3ad0691 wbemprox: Implement IWbemServices::ExecMethod. 2012-09-28 17:15:03 +02:00
Hans Leidekker 22454d6341 wbemprox: Implement Win32_OperatingSystem.LastBootUptime. 2012-09-18 14:49:49 +02:00
Hans Leidekker 381d30ac17 wbemprox: Add helpers to retrieve the system directory and OS architecture. 2012-09-18 14:49:41 +02:00
Hans Leidekker d8d6821cd4 wbemprox: Fix a memory leak. 2012-09-18 14:49:36 +02:00
Hans Leidekker 2760a70aee wbemprox: Implement Win32_VideoController.Description. 2012-09-17 12:28:13 +02:00
Hans Leidekker c60fe47518 wbemprox: Win32_Processor.MaxClockSpeed is expressed in Mhz. 2012-09-17 12:28:01 +02:00
Hans Leidekker 8e53500418 wbemprox: Override variant conversion for Win32_Processor.MaxClockSpeed. 2012-09-17 12:27:55 +02:00
Hans Leidekker 66d39fba28 wbemprox: Adapt to the new behavior of NtPowerInformation. 2012-09-17 12:27:49 +02:00
Hans Leidekker 61a8a247cf wbemprox: Support IClientSecurity on class objects. 2012-09-06 18:23:39 +02:00
Hans Leidekker 0d28920804 wbemprox: Add support for uncommitted instances in IWbemClassObject::Put. 2012-09-06 18:23:39 +02:00
Hans Leidekker d25450c80b wbemprox: Implement IWbemClassObject::SpawnInstance. 2012-09-06 18:23:39 +02:00
Hans Leidekker e2bd61b45d wbemprox: Add a function to retrieve the maximum processor clock speed. 2012-09-06 18:23:39 +02:00
Hans Leidekker b11cfb7b21 wbemprox: Correctly report the number of logical processors. 2012-09-06 18:23:39 +02:00
Hans Leidekker 5c074732d5 wbemprox: Implement Win32_ComputerSystem.DomainRole. 2012-09-04 15:05:15 +02:00
Hans Leidekker a568d08c5f wbemprox: Implement IWbemClassObject::GetObjectText. 2012-09-04 15:05:10 +02:00
Hans Leidekker 4e2c2e5a64 wbemprox: Add support for boolean values in get_value_bstr. 2012-09-04 15:05:04 +02:00
Hans Leidekker bbb823f8c2 wbemprox: Add a function to query the service configuration. 2012-09-04 15:04:58 +02:00
Hans Leidekker d582950db2 wbemprox: Get rid of a duplicate string constant. 2012-09-04 15:04:51 +02:00
Marcus Meissner 54f06e6b84 wbemprox: Break out of loop when out of memory (Coverity). 2012-09-03 17:44:42 +02:00
Piotr Caban 1711b99e98 wbemprox: Added MaxClockSpeed and NumberOfLogicalProcessors builtin properties. 2012-08-31 17:02:25 +02:00
Jacek Caban 434b696c46 Fixed remaining wrong iface call helpers. 2012-08-28 14:41:12 +02:00
Nikolay Sivov 240d1e4f18 wmi: Implement SystemName property for service class. 2012-08-27 11:31:52 +02:00
Nikolay Sivov 773cf1e599 wmi: Implement StartMode property for service class. 2012-08-27 11:31:44 +02:00
Hans Leidekker 348e5d85fa wbemprox: Add support for enumerating class properties. 2012-07-30 17:57:45 +02:00
Hans Leidekker a26b5dc09a wbemprox: Add support for enumerating class methods. 2012-07-30 17:57:44 +02:00
Hans Leidekker 12caddb4be wbemprox: Store the class name in the class object. 2012-07-30 17:57:44 +02:00
Hans Leidekker 54d2160226 wbemprox: Implement Win32_Service.AcceptPause and Win32_Service.AcceptStop. 2012-07-30 17:57:43 +02:00
Hans Leidekker 773f5f8dc2 wbemprox: Add support for boolean properties. 2012-07-30 17:57:42 +02:00
Hans Leidekker f3b93f2615 wbemprox: Parse the object path passed to IWbemServices::GetObject. 2012-07-27 17:05:33 +02:00
Hans Leidekker 2d4ab8456c wbemprox: Add a partial Win32_Service class implementation. 2012-07-27 17:05:33 +02:00
Francois Gouget 9f7e450c4b wbemprox: Make some signature table functions static. 2012-07-27 17:05:23 +02:00
Hans Leidekker f930085904 wbemprox: Implement IWbemClassObject::GetMethod. 2012-07-25 16:11:20 +02:00
Hans Leidekker 317d002828 wbemprox: Reset the number of rows only when the table was filled dynamically. 2012-07-25 16:11:20 +02:00
Hans Leidekker 2c5da008f7 wbemprox: Fix corner cases in IEnumWbemClassObject::Skip. 2012-07-25 16:11:19 +02:00
Hans Leidekker 0f11ac361e wbemprox: Add helpers for retrieving class instances. 2012-07-25 16:11:18 +02:00
Hans Leidekker 53d1cc1ed6 wbemprox: Implement IWbemClassObject::Put. 2012-07-25 16:11:18 +02:00
Hans Leidekker 91049f5e75 wbemprox: Add support for creating new tables. 2012-07-13 10:27:59 -05:00
Hans Leidekker 4e6eb13c41 wbemprox: Add a partial StdRegProv class implementation. 2012-07-13 10:27:20 -05:00
Hans Leidekker cd5cad6959 wbemprox: Return a null variant instead of an empty string if the property isn't set. 2012-07-13 10:27:14 -05:00
Hans Leidekker 5acdba54a0 wbemprox: Implement Win32_NetworkAdapter.MACAddress and Win32_NetworkAdapter.PNPDeviceID. 2012-07-13 10:27:10 -05:00
Hans Leidekker bd1bdb167d wbemprox: Add support for evaluating string comparisons. 2012-07-11 10:00:43 -05:00
Hans Leidekker 716870ef87 wbemprox: Implement Win32_Processor.Manufacturer and Win32_Processor.Name. 2012-07-09 10:00:00 -04:00
Hans Leidekker 993d8c245a wbemprox: Add a partial Win32_BaseBoard class implementation. 2012-07-09 09:59:57 -04:00
Francois Gouget 6333fa753a Assorted spelling fixes. 2012-07-03 12:03:29 +02:00
Hans Leidekker 8fc1c948c7 wbemprox: Fix the CIM to VARIANT type mapping for a couple of properties. 2012-07-02 19:18:08 +02:00
Hans Leidekker cd340ac87f wbemprox: Support overriding the CIM to VARIANT type mapping for integer properties. 2012-07-02 19:18:07 +02:00
Hans Leidekker 8dcc3b9d56 wbemprox: Add a partial Win32_LogicalDisk class implementation.
Based on a patch by John Yani.
2012-06-29 20:41:45 +02:00
Hans Leidekker 796dd428c2 wbemprox: Avoid an exception when tracing the principal name in IClientSecurity::SetBlanket. 2012-06-29 20:41:45 +02:00
Hans Leidekker d2661b8025 wbemprox: Return 64-bit property values as strings. 2012-06-29 20:41:44 +02:00
Hans Leidekker 2821ae4743 wbemprox: Win32_NetworkAdapter.InterfaceIndex is unsigned. 2012-06-29 20:41:44 +02:00
Hans Leidekker fe79fea731 wbemprox: Fix returned variant type and flavor for system properties. 2012-06-29 20:41:44 +02:00
Hans Leidekker 1b0d5cb10f wbemprox: Implement Win32_Processor.ProcessorId. 2012-06-29 20:41:43 +02:00
Hans Leidekker 02b00ffb27 wbemprox: Implement IEnumWbemClassObject::Clone. 2012-06-28 11:37:06 +02:00
Hans Leidekker 992d1e1559 wbemprox: Add reference counting to the query object. 2012-06-28 11:37:05 +02:00
Hans Leidekker 0ceee481fe wbemprox: Support IClientSecurity on the class enumerator object;. 2012-06-28 11:37:05 +02:00
Hans Leidekker dc0e478d5c wbemprox: Implement IWbemServices::GetObject. 2012-06-28 11:37:05 +02:00
Hans Leidekker 8f0da0eaad wbemprox: Implement more properties of Win32_VideoController. 2012-06-28 11:37:04 +02:00
Hans Leidekker 0c899bf440 wbemprox: Implement Win32_ComputerSystem.TotalPhysicalMemory. 2012-06-28 01:39:22 +02:00
Hans Leidekker ca471b8779 wbemprox: Implement Win32_OperatingSystem.CSDVersion. 2012-06-28 01:39:21 +02:00
Hans Leidekker e7e66e59ae wbemprox: Implement Win32_NetworkAdapter.Speed. 2012-06-28 01:39:21 +02:00
Hans Leidekker fc6d667ac0 wbemprox: Add support for 64-bit integer types. 2012-06-28 01:39:20 +02:00
Hans Leidekker f1f4f1d9d7 wbemprox: Store the result index in the class enumerator instead of the view. 2012-06-28 01:39:20 +02:00
Hans Leidekker 211469dd06 wbemprox: Set the row count in fill_processor. 2012-06-28 01:39:19 +02:00
Hans Leidekker 661d7f19c9 wbemprox Implement Win32_Processor.CpuStatus and Win32_Processor.DeviceId. 2012-06-26 17:33:06 +02:00
Hans Leidekker 3ebf6c8bfa wbemprox: Implement Win32_ComputerSystem.NumberOfLogicalProcessors and Win32_ComputerSystem.NumberOfProcessors. 2012-06-26 17:33:06 +02:00
Hans Leidekker eb9fa4dd05 wbemprox: Implement Win32_OperatingSystem.OSLanguage and Win32_OperatingSystem.SystemDirectory. 2012-06-26 17:33:05 +02:00