Vijay Kiran Kamuju : include: Add IWbemContext and IWbemCallResult interface and other class definitions.

Alexandre Julliard julliard at winehq.org
Thu Jan 2 16:04:21 CST 2020


Module: wine
Branch: master
Commit: 3b1c3e57fcac4e23c0f9b376a483c4949ee7739f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3b1c3e57fcac4e23c0f9b376a483c4949ee7739f

Author: Vijay Kiran Kamuju <infyquest at gmail.com>
Date:   Wed Jan  1 17:46:32 2020 +0100

include: Add IWbemContext and IWbemCallResult interface and other class definitions.

Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/wbemcli.idl | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 83 insertions(+), 1 deletion(-)

diff --git a/include/wbemcli.idl b/include/wbemcli.idl
index 54cdb886aa..5b5ca61bec 100644
--- a/include/wbemcli.idl
+++ b/include/wbemcli.idl
@@ -16,7 +16,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-cpp_quote("DEFINE_GUID(CLSID_WbemLocator, 0x4590f811,0x1d3A,0x11d0,0x89,0x1f,0x00,0xaa,0x00,0x4b,0x2e,0x24);")
+cpp_quote("DEFINE_GUID(CLSID_WbemLocator, 0x4590f811,0x1d3a,0x11d0,0x89,0x1f,0x00,0xaa,0x00,0x4b,0x2e,0x24);")
 cpp_quote("DEFINE_GUID(CLSID_WbemStatusCode, 0xeb87e1bd,0x3233,0x11d2,0xae,0xc9,0x00,0xc0,0x4f,0xb6,0x88,0x20);")
 
 import "oaidl.idl";
@@ -333,6 +333,48 @@ typedef [v1_enum] enum tag_WBEM_GENERIC_FLAG_TYPE
     WBEM_FLAG_STRONG_VALIDATION         = 0x100000
 } WBEM_GENERIC_FLAG_TYPE;
 
+[
+    object,
+    restricted,
+    local,
+    uuid(44aca674-e8fc-11d0-a07c-00c04fb68820)
+]
+interface IWbemContext : IUnknown
+{
+    HRESULT Clone(
+        [out] IWbemContext **ppNewCopy);
+
+    HRESULT GetNames(
+        [in] long lFlags,
+        [out] SAFEARRAY(BSTR) *pNames);
+
+    HRESULT BeginEnumeration(
+        [in] long lFlags);
+
+    HRESULT Next(
+        [in] long lFlags,
+        [out] BSTR *pstrName,
+        [out] VARIANT *pValue);
+
+    HRESULT EndEnumeration();
+
+    HRESULT SetValue(
+        [in, string] LPCWSTR wszName,
+        [in] long lFlags,
+        [in] VARIANT *pValue);
+
+    HRESULT GetValue(
+        [in, string] LPCWSTR wszName,
+        [in] long lFlags,
+        [out] VARIANT *pValue);
+
+    HRESULT DeleteValue(
+        [in, string] LPCWSTR wszName,
+        [in] long lFlags);
+
+    HRESULT DeleteAll();
+}
+
 [
     object,
     restricted,
@@ -486,6 +528,30 @@ interface IWbemServices : IUnknown
         [in] IWbemObjectSink *pResponseHandler);
 }
 
+[
+    object,
+    restricted,
+    uuid(44aca675-e8fc-11d0-a07c-00c04fb68820)
+]
+interface IWbemCallResult : IUnknown
+{
+    HRESULT GetResultObject(
+        [in] long lTimeout,
+        [out] IWbemClassObject **ppResultObject);
+
+    HRESULT GetResultString(
+        [in] long lTimeout,
+        [out] BSTR *pstrResultString);
+
+    HRESULT GetResultServices(
+        [in] long lTimeout,
+        [out] IWbemServices **ppServices);
+
+    HRESULT GetCallStatus(
+        [in] long lTimeout,
+        [out] long *plStatus);
+}
+
 [
     object,
     restricted,
@@ -703,3 +769,19 @@ coclass UnsecuredApartment
     interface IUnsecuredApartment;
     interface IWbemUnsecuredApartment;
 };
+
+[
+    uuid(9a653086-174f-11d2-b5f9-00104b703efd)
+]
+coclass WbemClassObject
+{
+    interface IWbemClassObject;
+};
+
+[
+    uuid(eb87e1bd-3233-11d2-aec9-00c04fb68820)
+]
+coclass WbemStatusCodeText
+{
+    interface IWbemStatusCodeText;
+};




More information about the wine-cvs mailing list