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(
22 ppUnk
: *mut *mut IUnknown
,
25 RIDL
!{#[uuid(0xd5d2d542, 0x5503, 0x4e64, 0x8b, 0x48, 0x72, 0xef, 0x91, 0xa3, 0x2e, 0xe1)]
26 interface
IBITSExtensionSetupFactory(IBITSExtensionSetupFactoryVtbl
): IDispatch(IDispatchVtbl
) {
29 ppExtensionSetup
: *mut *mut IBITSExtensionSetup
,
38 pub fn BSTR_UserMarshal(
40 pBuffer
: *mut c_uchar
,
43 pub fn BSTR_UserUnmarshal(
45 pBuffer
: *mut c_uchar
,
52 pub fn BSTR_UserSize64(
57 pub fn BSTR_UserMarshal64(
59 pBuffer
: *mut c_uchar
,
62 pub fn BSTR_UserUnmarshal64(
64 pBuffer
: *mut c_uchar
,
67 pub fn BSTR_UserFree64(