VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/bits1_5.idl@ 30705

Last change on this file since 30705 was 19678, checked in by vboxsync, 16 years ago

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1/*
2 * Background Intelligent Transfer Service (BITS) 1.5 interface
3 *
4 * Copyright 2008 Google (Dan Hipschman)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 *
20 */
21
22/*
23 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
24 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
25 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
26 * a choice of LGPL license versions is made available with the language indicating
27 * that LGPLv2 or any later version may be used, or where a choice of which version
28 * of the LGPL is applied is otherwise unspecified.
29 */
30
31#ifndef DO_NO_IMPORTS
32import "bits.idl";
33#endif
34
35[
36 uuid(54b50739-686f-45eb-9dff-d6a9a0faa9af),
37 odl
38]
39interface IBackgroundCopyJob2 : IBackgroundCopyJob
40{
41 HRESULT SetNotifyCmdLine([unique] LPCWSTR prog, [unique] LPCWSTR params);
42 HRESULT GetNotifyCmdLine([out] LPWSTR *prog, [out] LPWSTR *params);
43
44 typedef struct _BG_JOB_REPLY_PROGRESS
45 {
46 UINT64 BytesTotal;
47 UINT64 BytesTransferred;
48 } BG_JOB_REPLY_PROGRESS;
49
50 HRESULT GetReplyProgress([in, out] BG_JOB_REPLY_PROGRESS *progress);
51 HRESULT GetReplyData([out, size_is( , (unsigned long) *pLength)] byte **pBuffer,
52 [in, out, unique] UINT64 *pLength);
53 HRESULT SetReplyFileName([unique] LPCWSTR filename);
54 HRESULT GetReplyFileName([out] LPWSTR *pFilename);
55
56 typedef enum
57 {
58 BG_AUTH_TARGET_SERVER = 1,
59 BG_AUTH_TARGET_PROXY
60 } BG_AUTH_TARGET;
61
62 typedef enum
63 {
64 BG_AUTH_SCHEME_BASIC = 1,
65 BG_AUTH_SCHEME_DIGEST,
66 BG_AUTH_SCHEME_NTLM,
67 BG_AUTH_SCHEME_NEGOTIATE,
68 BG_AUTH_SCHEME_PASSPORT
69 } BG_AUTH_SCHEME;
70
71 typedef struct
72 {
73 LPWSTR UserName;
74 LPWSTR Password;
75 } BG_BASIC_CREDENTIALS;
76 typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS;
77
78 typedef [switch_type(BG_AUTH_SCHEME)] union
79 {
80 [case(BG_AUTH_SCHEME_BASIC, BG_AUTH_SCHEME_DIGEST, BG_AUTH_SCHEME_NTLM,
81 BG_AUTH_SCHEME_NEGOTIATE, BG_AUTH_SCHEME_PASSPORT)]
82 BG_BASIC_CREDENTIALS Basic;
83 [default]
84 ;
85 } BG_AUTH_CREDENTIALS_UNION;
86
87 typedef struct
88 {
89 BG_AUTH_TARGET Target;
90 BG_AUTH_SCHEME Scheme;
91 [switch_is(Scheme)] BG_AUTH_CREDENTIALS_UNION Credentials;
92 } BG_AUTH_CREDENTIALS;
93 typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS;
94
95 HRESULT SetCredentials(BG_AUTH_CREDENTIALS *cred);
96 HRESULT RemoveCredentials(BG_AUTH_TARGET target, BG_AUTH_SCHEME scheme);
97}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette