]> git.proxmox.com Git - rustc.git/blob - vendor/winapi/src/um/servprov.rs
New upstream version 1.41.1+dfsg1
[rustc.git] / vendor / winapi / src / um / servprov.rs
1 // Licensed under the Apache License, Version 2.0
2 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
3 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
4 // All files in the project carrying such notice may not be copied, modified, or distributed
5 // except according to those terms.
6 use ctypes::c_void;
7 use shared::guiddef::{REFGUID, REFIID};
8 use um::unknwnbase::{IUnknown, IUnknownVtbl};
9 use um::winnt::HRESULT;
10 pub type LPSERVICEPROVIDER = *mut IServiceProvider;
11 RIDL!{#[uuid(0x6d5140c1, 0x7436, 0x11ce, 0x80, 0x34, 0x00, 0xaa, 0x00, 0x60, 0x09, 0xfa)]
12 interface IServiceProvider(IServiceProviderVtbl): IUnknown(IUnknownVtbl) {
13 fn QueryService(
14 guidService: REFGUID,
15 riid: REFIID,
16 ppvObject: *mut *mut c_void,
17 ) -> HRESULT,
18 fn RemoteQueryService(
19 guidService: REFGUID,
20 riid: REFIID,
21 ppvObject: *mut *mut IUnknown,
22 ) -> HRESULT,
23 }}