| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | // |
| 5 | |
| 6 | // |
| 7 | // =========================================================================== |
| 8 | // File: servprov.h |
| 9 | // |
| 10 | // =========================================================================== |
| 11 | // simplified servprov.h for PAL |
| 12 | |
| 13 | #include "rpc.h" |
| 14 | #include "rpcndr.h" |
| 15 | |
| 16 | #include "unknwn.h" |
| 17 | |
| 18 | #ifndef __IServiceProvider_INTERFACE_DEFINED__ |
| 19 | #define __IServiceProvider_INTERFACE_DEFINED__ |
| 20 | |
| 21 | // 6d5140c1-7436-11ce-8034-00aa006009fa |
| 22 | EXTERN_C const IID IID_IServiceProvider; |
| 23 | |
| 24 | interface IServiceProvider : public IUnknown |
| 25 | { |
| 26 | virtual /* [local] */ HRESULT STDMETHODCALLTYPE QueryService( |
| 27 | /* [in] */ REFGUID guidService, |
| 28 | /* [in] */ REFIID riid, |
| 29 | /* [out] */ void **ppvObject) = 0; |
| 30 | }; |
| 31 | |
| 32 | #endif // __IServiceProvider_INTERFACE_DEFINED__ |
| 33 | |