]> git.proxmox.com Git - rustc.git/blob - src/vendor/winapi/src/um/bitscfg.rs
New upstream version 1.29.0+dfsg1
[rustc.git] / src / vendor / winapi / src / um / bitscfg.rs
1 // Copyright © 2015-2017 winapi-rs developers
2 // Licensed under the Apache License, Version 2.0
3 // <LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
4 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
5 // All files in the project carrying such notice may not be copied, modified, or distributed
6 // except according to those terms.
7 use ctypes::{c_uchar, c_ulong};
8 use shared::guiddef::REFIID;
9 use shared::wtypes::BSTR;
10 use um::oaidl::{IDispatch, IDispatchVtbl};
11 use um::unknwnbase::IUnknown;
12 use um::winnt::HRESULT;
13 RIDL!{#[uuid(0x29cfbbf7, 0x09e4, 0x4b97, 0xb0, 0xbc, 0xf2, 0x28, 0x7e, 0x3d, 0x8e, 0xb3)]
14 interface IBITSExtensionSetup(IBITSExtensionSetupVtbl): IDispatch(IDispatchVtbl) {
15 fn EnableBITSUploads() -> HRESULT,
16 fn DisableBITSUploads() -> HRESULT,
17 fn GetCleanupTaskName(
18 pTaskName: *mut BSTR,
19 ) -> HRESULT,
20 fn GetCleanupTask(
21 riid: REFIID,
22 ppUnk: *mut *mut IUnknown,
23 ) -> HRESULT,
24 }}
25 RIDL!{#[uuid(0xd5d2d542, 0x5503, 0x4e64, 0x8b, 0x48, 0x72, 0xef, 0x91, 0xa3, 0x2e, 0xe1)]
26 interface IBITSExtensionSetupFactory(IBITSExtensionSetupFactoryVtbl): IDispatch(IDispatchVtbl) {
27 fn GetObject(
28 Path: BSTR,
29 ppExtensionSetup: *mut *mut IBITSExtensionSetup,
30 ) -> HRESULT,
31 }}
32 extern "system" {
33 pub fn BSTR_UserSize(
34 pFlags: *mut c_ulong,
35 Offset: c_ulong,
36 pBstr: *mut BSTR,
37 ) -> c_ulong;
38 pub fn BSTR_UserMarshal(
39 pFlags: *mut c_ulong,
40 pBuffer: *mut c_uchar,
41 pBstr: *mut BSTR,
42 ) -> *mut c_uchar;
43 pub fn BSTR_UserUnmarshal(
44 pFlags: *mut c_ulong,
45 pBuffer: *mut c_uchar,
46 pBstr: *mut BSTR,
47 ) -> *mut c_uchar;
48 pub fn BSTR_UserFree(
49 pFlags: *mut c_ulong,
50 pBstr: *mut BSTR,
51 );
52 pub fn BSTR_UserSize64(
53 pFlags: *mut c_ulong,
54 Offset: c_ulong,
55 pBstr: *mut BSTR,
56 ) -> c_ulong;
57 pub fn BSTR_UserMarshal64(
58 pFlags: *mut c_ulong,
59 pBuffer: *mut c_uchar,
60 pBstr: *mut BSTR,
61 ) -> *mut c_uchar;
62 pub fn BSTR_UserUnmarshal64(
63 pFlags: *mut c_ulong,
64 pBuffer: *mut c_uchar,
65 pBstr: *mut BSTR,
66 ) -> *mut c_uchar;
67 pub fn BSTR_UserFree64(
68 pFlags: *mut c_ulong,
69 pBstr: *mut BSTR,
70 );
71 }