Home | History | Annotate | Download | only in src

Lines Matching full:iunknown

41 #define __is_win_interface(T) (std::is_base_of<IUnknown, T>::value || std::is_base_of<IInspectable, T>::value) //derived from IUnknown or IInspectable
47 IUnknown* __stdcall GetObjectContext();
48 HRESULT __stdcall GetProxyImpl(IUnknown*, REFIID, IUnknown*, IUnknown**);
49 HRESULT __stdcall ReleaseInContextImpl(IUnknown*, IUnknown*);
53 __declspec(no_refcount) inline HRESULT GetProxy(T *ObjectIn, IUnknown *ContextCallBack, T **Proxy)
55 inline HRESULT GetProxy(T *ObjectIn, IUnknown *ContextCallBack, T **Proxy)
59 return GetProxyImpl(*reinterpret_cast<IUnknown**>(&ObjectIn), __uuidof(T*), ContextCallBack, reinterpret_cast<IUnknown**>(Proxy));
61 return GetProxyImpl(*reinterpret_cast<IUnknown**>(&const_cast<T*>(ObjectIn)), __uuidof(T*), ContextCallBack, reinterpret_cast<IUnknown**>(Proxy));
66 inline HRESULT ReleaseInContext(T *ObjectIn, IUnknown *ContextCallBack)
148 ::Microsoft::WRL::ComPtr<IUnknown> _contextCallback;
175 HRESULT hr = reinterpret_cast<IUnknown*>(object)->QueryInterface(__uuidof(IAgileObject), &checkIfAgile);
278 HRESULT hr = reinterpret_cast<IUnknown*>(localObject)->QueryInterface(__uuidof(IAgileObject), &checkIfAgile);
281 HRESULT hr = reinterpret_cast<IUnknown*>(_object)->QueryInterface(__uuidof(IAgileObject), &checkIfAgile);
349 Agile& operator=(IUnknown* lp) throw()
352 ::Microsoft::WRL::ComPtr<IUnknown> spObject(lp);
356 *(IUnknown**)(&object) = spObject.Detach();
379 IUnknown* pObject = *(IUnknown**)(&_object);
381 *(IUnknown**)(&_object) = nullptr;
499 Agile& operator=(IUnknown* lp) throw()
503 ::Microsoft::WRL::ComPtr<IUnknown> spObject(lp);
507 *(IUnknown**)(&object) = spObject.Detach();