update mingw-w64 headers to v10.0.0

This commit is contained in:
Andrew Kelley 2022-10-06 07:04:29 -07:00
parent b316c25cc6
commit e52931e50f
296 changed files with 34897 additions and 3009 deletions

View File

@ -221,13 +221,19 @@ limitations in handling dllimport attribute. */
#ifndef __MSVCRT_VERSION__
/* High byte is the major version, low byte is the minor. */
# ifndef _UCRT
# define __MSVCRT_VERSION__ 0x700
# else
# if defined(__CRTDLL__)
# define __MSVCRT_VERSION__ 0x00
# elif defined(_UCRT)
# define __MSVCRT_VERSION__ 0xE00
# else
# define __MSVCRT_VERSION__ 0x700
# endif
#endif
#if !defined(_UCRT) && ((__MSVCRT_VERSION__ >= 0x1400) || (__MSVCRT_VERSION__ >= 0xE00 && __MSVCRT_VERSION__ < 0x1000))
/* Allow both 0x1400 and 0xE00 to identify UCRT */
#define _UCRT
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0603
@ -583,7 +589,7 @@ __MINGW_INTRIN_INLINE void __cdecl __debugbreak(void)
#if defined(__i386__) || defined(__x86_64__)
__asm__ __volatile__("int {$}3":);
#elif defined(__arm__)
__asm__ __volatile__("udf #1");
__asm__ __volatile__("udf #0xfe");
#elif defined(__aarch64__)
__asm__ __volatile__("brk #0xf000");
#else

View File

@ -11,7 +11,7 @@
#define __MINGW64_STRINGIFY(x) \
__STRINGIFY(x)
#define __MINGW64_VERSION_MAJOR 9
#define __MINGW64_VERSION_MAJOR 10
#define __MINGW64_VERSION_MINOR 0
#define __MINGW64_VERSION_BUGFIX 0
@ -301,6 +301,8 @@
# define __mingw_attribute_artificial
#endif
#define __MINGW_SELECTANY __attribute__((__selectany__))
#if _FORTIFY_SOURCE > 0 && __OPTIMIZE__ > 0 && __MINGW_GNUC_PREREQ(4, 1)
# if _FORTIFY_SOURCE > 1
# define __MINGW_FORTIFY_LEVEL 2
@ -353,7 +355,7 @@
/* Enable workaround for ABI incompatibility on affected platforms */
#ifndef WIDL_EXPLICIT_AGGREGATE_RETURNS
#if defined(__GNUC__) && defined(__cplusplus) && (defined(__x86_64__) || defined(__i386__))
#if defined(__GNUC__) && defined(__cplusplus)
#define WIDL_EXPLICIT_AGGREGATE_RETURNS
#endif
#endif

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/activation.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/activation.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/activaut.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/activaut.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/activdbg.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/activdbg.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/activdbg100.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/activdbg100.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/activprof.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/activprof.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/activscp.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/activscp.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/adhoc.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/adhoc.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -0,0 +1,19 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _AFUNIX_
#define _AFUNIX_
#define UNIX_PATH_MAX 108
typedef struct sockaddr_un {
ADDRESS_FAMILY sun_family;
char sun_path[UNIX_PATH_MAX];
} SOCKADDR_UN, *PSOCKADDR_UN;
#define SIO_AF_UNIX_GETPEERPID _WSAIOR(IOC_VENDOR, 256)
#endif /* _AFUNIX_ */

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/alg.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/alg.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/amstream.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/amstream.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/amvideo.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/amvideo.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/asyncinfo.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/asyncinfo.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/audioclient.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/audioclient.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/audioendpoints.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/audioendpoints.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/audiopolicy.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/audiopolicy.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/austream.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/austream.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/bdaiface.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/bdaiface.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +1,29 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
/*** Autogenerated by WIDL 7.0 from include/bits1_5.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __bits1_5_h__
#define __bits1_5_h__
/* Forward declarations */
#ifndef __IBackgroundCopyJob2_FWD_DEFINED__
#define __IBackgroundCopyJob2_FWD_DEFINED__
typedef struct IBackgroundCopyJob2 IBackgroundCopyJob2;
typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2;
#ifdef __cplusplus
interface IBackgroundCopyJob2;
#endif /* __cplusplus */
#endif
#ifndef __BackgroundCopyManager1_5_FWD_DEFINED__
@ -33,130 +32,286 @@ typedef struct IBackgroundCopyJob2 IBackgroundCopyJob2;
typedef class BackgroundCopyManager1_5 BackgroundCopyManager1_5;
#else
typedef struct BackgroundCopyManager1_5 BackgroundCopyManager1_5;
#endif
#endif
#endif /* defined __cplusplus */
#endif /* defined __BackgroundCopyManager1_5_FWD_DEFINED__ */
#ifndef __IBackgroundCopyJob2_FWD_DEFINED__
#define __IBackgroundCopyJob2_FWD_DEFINED__
typedef struct IBackgroundCopyJob2 IBackgroundCopyJob2;
#endif
/* Headers for imported files */
#include "bits.h"
#include <bits.h>
#ifdef __cplusplus
extern "C"{
#endif
#ifndef __MIDL_user_allocate_free_DEFINED__
#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
void __RPC_API MIDL_user_free(void *);
extern "C" {
#endif
/*****************************************************************************
* IBackgroundCopyJob2 interface
*/
#ifndef __IBackgroundCopyJob2_INTERFACE_DEFINED__
#define __IBackgroundCopyJob2_INTERFACE_DEFINED__
typedef struct _BG_JOB_REPLY_PROGRESS {
typedef struct _BG_JOB_REPLY_PROGRESS {
UINT64 BytesTotal;
UINT64 BytesTransferred;
} BG_JOB_REPLY_PROGRESS;
typedef enum __MIDL_IBackgroundCopyJob2_0001 {
BG_AUTH_TARGET_SERVER = 1,BG_AUTH_TARGET_PROXY = BG_AUTH_TARGET_SERVER + 1
} BG_AUTH_TARGET;
typedef enum __MIDL_IBackgroundCopyJob2_0002 {
BG_AUTH_SCHEME_BASIC = 1,BG_AUTH_SCHEME_DIGEST,BG_AUTH_SCHEME_NTLM,
BG_AUTH_SCHEME_NEGOTIATE,BG_AUTH_SCHEME_PASSPORT
} BG_AUTH_SCHEME;
typedef struct __MIDL_IBackgroundCopyJob2_0003 {
} BG_JOB_REPLY_PROGRESS;
typedef enum __WIDL_bits1_5_generated_name_00000011 {
BG_AUTH_TARGET_SERVER = 1,
BG_AUTH_TARGET_PROXY = 2
} BG_AUTH_TARGET;
typedef enum __WIDL_bits1_5_generated_name_00000012 {
BG_AUTH_SCHEME_BASIC = 1,
BG_AUTH_SCHEME_DIGEST = 2,
BG_AUTH_SCHEME_NTLM = 3,
BG_AUTH_SCHEME_NEGOTIATE = 4,
BG_AUTH_SCHEME_PASSPORT = 5
} BG_AUTH_SCHEME;
typedef struct __WIDL_bits1_5_generated_name_00000013 {
LPWSTR UserName;
LPWSTR Password;
} BG_BASIC_CREDENTIALS;
typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS;
typedef union __MIDL_IBackgroundCopyJob2_0004 {
} BG_BASIC_CREDENTIALS;
typedef BG_BASIC_CREDENTIALS *PBG_BASIC_CREDENTIALS;
typedef union __WIDL_bits1_5_generated_name_00000014 {
BG_BASIC_CREDENTIALS Basic;
} BG_AUTH_CREDENTIALS_UNION;
typedef struct __MIDL_IBackgroundCopyJob2_0005 {
} BG_AUTH_CREDENTIALS_UNION;
typedef struct __WIDL_bits1_5_generated_name_00000015 {
BG_AUTH_TARGET Target;
BG_AUTH_SCHEME Scheme;
BG_AUTH_CREDENTIALS_UNION Credentials;
} BG_AUTH_CREDENTIALS;
typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS;
EXTERN_C const IID IID_IBackgroundCopyJob2;
} BG_AUTH_CREDENTIALS;
typedef BG_AUTH_CREDENTIALS *PBG_AUTH_CREDENTIALS;
DEFINE_GUID(IID_IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf);
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IBackgroundCopyJob2 : public IBackgroundCopyJob {
public:
virtual HRESULT WINAPI SetNotifyCmdLine(LPCWSTR Program,LPCWSTR Parameters) = 0;
virtual HRESULT WINAPI GetNotifyCmdLine(LPWSTR *pProgram,LPWSTR *pParameters) = 0;
virtual HRESULT WINAPI GetReplyProgress(BG_JOB_REPLY_PROGRESS *pProgress) = 0;
virtual HRESULT WINAPI GetReplyData(byte **ppBuffer,UINT64 *pLength) = 0;
virtual HRESULT WINAPI SetReplyFileName(LPCWSTR ReplyFileName) = 0;
virtual HRESULT WINAPI GetReplyFileName(LPWSTR *pReplyFileName) = 0;
virtual HRESULT WINAPI SetCredentials(BG_AUTH_CREDENTIALS *credentials) = 0;
virtual HRESULT WINAPI RemoveCredentials(BG_AUTH_TARGET Target,BG_AUTH_SCHEME Scheme) = 0;
};
MIDL_INTERFACE("54b50739-686f-45eb-9dff-d6a9a0faa9af")
IBackgroundCopyJob2 : public IBackgroundCopyJob
{
virtual HRESULT STDMETHODCALLTYPE SetNotifyCmdLine(
LPCWSTR prog,
LPCWSTR params) = 0;
virtual HRESULT STDMETHODCALLTYPE GetNotifyCmdLine(
LPWSTR *prog,
LPWSTR *params) = 0;
virtual HRESULT STDMETHODCALLTYPE GetReplyProgress(
BG_JOB_REPLY_PROGRESS *progress) = 0;
virtual HRESULT STDMETHODCALLTYPE GetReplyData(
byte **pBuffer,
UINT64 *pLength) = 0;
virtual HRESULT STDMETHODCALLTYPE SetReplyFileName(
LPCWSTR filename) = 0;
virtual HRESULT STDMETHODCALLTYPE GetReplyFileName(
LPWSTR *pFilename) = 0;
virtual HRESULT STDMETHODCALLTYPE SetCredentials(
BG_AUTH_CREDENTIALS *cred) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveCredentials(
BG_AUTH_TARGET target,
BG_AUTH_SCHEME scheme) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyJob2, 0x54b50739, 0x686f, 0x45eb, 0x9d,0xff, 0xd6,0xa9,0xa0,0xfa,0xa9,0xaf)
#endif
#else
typedef struct IBackgroundCopyJob2Vtbl {
typedef struct IBackgroundCopyJob2Vtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IBackgroundCopyJob2 *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IBackgroundCopyJob2 *This);
ULONG (WINAPI *Release)(IBackgroundCopyJob2 *This);
HRESULT (WINAPI *AddFileSet)(IBackgroundCopyJob2 *This,ULONG cFileCount,BG_FILE_INFO *pFileSet);
HRESULT (WINAPI *AddFile)(IBackgroundCopyJob2 *This,LPCWSTR RemoteUrl,LPCWSTR LocalName);
HRESULT (WINAPI *EnumFiles)(IBackgroundCopyJob2 *This,IEnumBackgroundCopyFiles **pEnum);
HRESULT (WINAPI *Suspend)(IBackgroundCopyJob2 *This);
HRESULT (WINAPI *Resume)(IBackgroundCopyJob2 *This);
HRESULT (WINAPI *Cancel)(IBackgroundCopyJob2 *This);
HRESULT (WINAPI *Complete)(IBackgroundCopyJob2 *This);
HRESULT (WINAPI *GetId)(IBackgroundCopyJob2 *This,GUID *pVal);
HRESULT (WINAPI *GetType)(IBackgroundCopyJob2 *This,BG_JOB_TYPE *pVal);
HRESULT (WINAPI *GetProgress)(IBackgroundCopyJob2 *This,BG_JOB_PROGRESS *pVal);
HRESULT (WINAPI *GetTimes)(IBackgroundCopyJob2 *This,BG_JOB_TIMES *pVal);
HRESULT (WINAPI *GetState)(IBackgroundCopyJob2 *This,BG_JOB_STATE *pVal);
HRESULT (WINAPI *GetError)(IBackgroundCopyJob2 *This,IBackgroundCopyError **ppError);
HRESULT (WINAPI *GetOwner)(IBackgroundCopyJob2 *This,LPWSTR *pVal);
HRESULT (WINAPI *SetDisplayName)(IBackgroundCopyJob2 *This,LPCWSTR Val);
HRESULT (WINAPI *GetDisplayName)(IBackgroundCopyJob2 *This,LPWSTR *pVal);
HRESULT (WINAPI *SetDescription)(IBackgroundCopyJob2 *This,LPCWSTR Val);
HRESULT (WINAPI *GetDescription)(IBackgroundCopyJob2 *This,LPWSTR *pVal);
HRESULT (WINAPI *SetPriority)(IBackgroundCopyJob2 *This,BG_JOB_PRIORITY Val);
HRESULT (WINAPI *GetPriority)(IBackgroundCopyJob2 *This,BG_JOB_PRIORITY *pVal);
HRESULT (WINAPI *SetNotifyFlags)(IBackgroundCopyJob2 *This,ULONG Val);
HRESULT (WINAPI *GetNotifyFlags)(IBackgroundCopyJob2 *This,ULONG *pVal);
HRESULT (WINAPI *SetNotifyInterface)(IBackgroundCopyJob2 *This,IUnknown *Val);
HRESULT (WINAPI *GetNotifyInterface)(IBackgroundCopyJob2 *This,IUnknown **pVal);
HRESULT (WINAPI *SetMinimumRetryDelay)(IBackgroundCopyJob2 *This,ULONG Seconds);
HRESULT (WINAPI *GetMinimumRetryDelay)(IBackgroundCopyJob2 *This,ULONG *Seconds);
HRESULT (WINAPI *SetNoProgressTimeout)(IBackgroundCopyJob2 *This,ULONG Seconds);
HRESULT (WINAPI *GetNoProgressTimeout)(IBackgroundCopyJob2 *This,ULONG *Seconds);
HRESULT (WINAPI *GetErrorCount)(IBackgroundCopyJob2 *This,ULONG *Errors);
HRESULT (WINAPI *SetProxySettings)(IBackgroundCopyJob2 *This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList);
HRESULT (WINAPI *GetProxySettings)(IBackgroundCopyJob2 *This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList);
HRESULT (WINAPI *TakeOwnership)(IBackgroundCopyJob2 *This);
HRESULT (WINAPI *SetNotifyCmdLine)(IBackgroundCopyJob2 *This,LPCWSTR Program,LPCWSTR Parameters);
HRESULT (WINAPI *GetNotifyCmdLine)(IBackgroundCopyJob2 *This,LPWSTR *pProgram,LPWSTR *pParameters);
HRESULT (WINAPI *GetReplyProgress)(IBackgroundCopyJob2 *This,BG_JOB_REPLY_PROGRESS *pProgress);
HRESULT (WINAPI *GetReplyData)(IBackgroundCopyJob2 *This,byte **ppBuffer,UINT64 *pLength);
HRESULT (WINAPI *SetReplyFileName)(IBackgroundCopyJob2 *This,LPCWSTR ReplyFileName);
HRESULT (WINAPI *GetReplyFileName)(IBackgroundCopyJob2 *This,LPWSTR *pReplyFileName);
HRESULT (WINAPI *SetCredentials)(IBackgroundCopyJob2 *This,BG_AUTH_CREDENTIALS *credentials);
HRESULT (WINAPI *RemoveCredentials)(IBackgroundCopyJob2 *This,BG_AUTH_TARGET Target,BG_AUTH_SCHEME Scheme);
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyJob2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyJob2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyJob2 *This);
/*** IBackgroundCopyJob methods ***/
HRESULT (STDMETHODCALLTYPE *AddFileSet)(
IBackgroundCopyJob2 *This,
ULONG cFileCount,
BG_FILE_INFO *pFileSet);
HRESULT (STDMETHODCALLTYPE *AddFile)(
IBackgroundCopyJob2 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName);
HRESULT (STDMETHODCALLTYPE *EnumFiles)(
IBackgroundCopyJob2 *This,
IEnumBackgroundCopyFiles **pEnum);
HRESULT (STDMETHODCALLTYPE *Suspend)(
IBackgroundCopyJob2 *This);
HRESULT (STDMETHODCALLTYPE *Resume)(
IBackgroundCopyJob2 *This);
HRESULT (STDMETHODCALLTYPE *Cancel)(
IBackgroundCopyJob2 *This);
HRESULT (STDMETHODCALLTYPE *Complete)(
IBackgroundCopyJob2 *This);
HRESULT (STDMETHODCALLTYPE *GetId)(
IBackgroundCopyJob2 *This,
GUID *pVal);
HRESULT (STDMETHODCALLTYPE *GetType)(
IBackgroundCopyJob2 *This,
BG_JOB_TYPE *pVal);
HRESULT (STDMETHODCALLTYPE *GetProgress)(
IBackgroundCopyJob2 *This,
BG_JOB_PROGRESS *pVal);
HRESULT (STDMETHODCALLTYPE *GetTimes)(
IBackgroundCopyJob2 *This,
BG_JOB_TIMES *pVal);
HRESULT (STDMETHODCALLTYPE *GetState)(
IBackgroundCopyJob2 *This,
BG_JOB_STATE *pVal);
HRESULT (STDMETHODCALLTYPE *GetError)(
IBackgroundCopyJob2 *This,
IBackgroundCopyError **ppError);
HRESULT (STDMETHODCALLTYPE *GetOwner)(
IBackgroundCopyJob2 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
IBackgroundCopyJob2 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
IBackgroundCopyJob2 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDescription)(
IBackgroundCopyJob2 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDescription)(
IBackgroundCopyJob2 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetPriority)(
IBackgroundCopyJob2 *This,
BG_JOB_PRIORITY Val);
HRESULT (STDMETHODCALLTYPE *GetPriority)(
IBackgroundCopyJob2 *This,
BG_JOB_PRIORITY *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
IBackgroundCopyJob2 *This,
ULONG Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
IBackgroundCopyJob2 *This,
ULONG *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
IBackgroundCopyJob2 *This,
IUnknown *Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
IBackgroundCopyJob2 *This,
IUnknown **pVal);
HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
IBackgroundCopyJob2 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
IBackgroundCopyJob2 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
IBackgroundCopyJob2 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
IBackgroundCopyJob2 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
IBackgroundCopyJob2 *This,
ULONG *Errors);
HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
IBackgroundCopyJob2 *This,
BG_JOB_PROXY_USAGE ProxyUsage,
const WCHAR *ProxyList,
const WCHAR *ProxyBypassList);
HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
IBackgroundCopyJob2 *This,
BG_JOB_PROXY_USAGE *pProxyUsage,
LPWSTR *pProxyList,
LPWSTR *pProxyBypassList);
HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
IBackgroundCopyJob2 *This);
/*** IBackgroundCopyJob2 methods ***/
HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
IBackgroundCopyJob2 *This,
LPCWSTR prog,
LPCWSTR params);
HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
IBackgroundCopyJob2 *This,
LPWSTR *prog,
LPWSTR *params);
HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
IBackgroundCopyJob2 *This,
BG_JOB_REPLY_PROGRESS *progress);
HRESULT (STDMETHODCALLTYPE *GetReplyData)(
IBackgroundCopyJob2 *This,
byte **pBuffer,
UINT64 *pLength);
HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
IBackgroundCopyJob2 *This,
LPCWSTR filename);
HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
IBackgroundCopyJob2 *This,
LPWSTR *pFilename);
HRESULT (STDMETHODCALLTYPE *SetCredentials)(
IBackgroundCopyJob2 *This,
BG_AUTH_CREDENTIALS *cred);
HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
IBackgroundCopyJob2 *This,
BG_AUTH_TARGET target,
BG_AUTH_SCHEME scheme);
END_INTERFACE
} IBackgroundCopyJob2Vtbl;
struct IBackgroundCopyJob2 {
CONST_VTBL struct IBackgroundCopyJob2Vtbl *lpVtbl;
};
} IBackgroundCopyJob2Vtbl;
interface IBackgroundCopyJob2 {
CONST_VTBL IBackgroundCopyJob2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyJob2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyJob2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyJob2_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyJob methods ***/
#define IBackgroundCopyJob2_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
#define IBackgroundCopyJob2_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
#define IBackgroundCopyJob2_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
@ -189,49 +344,199 @@ extern "C"{
#define IBackgroundCopyJob2_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
#define IBackgroundCopyJob2_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
#define IBackgroundCopyJob2_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
#define IBackgroundCopyJob2_SetNotifyCmdLine(This,Program,Parameters) (This)->lpVtbl->SetNotifyCmdLine(This,Program,Parameters)
#define IBackgroundCopyJob2_GetNotifyCmdLine(This,pProgram,pParameters) (This)->lpVtbl->GetNotifyCmdLine(This,pProgram,pParameters)
#define IBackgroundCopyJob2_GetReplyProgress(This,pProgress) (This)->lpVtbl->GetReplyProgress(This,pProgress)
#define IBackgroundCopyJob2_GetReplyData(This,ppBuffer,pLength) (This)->lpVtbl->GetReplyData(This,ppBuffer,pLength)
#define IBackgroundCopyJob2_SetReplyFileName(This,ReplyFileName) (This)->lpVtbl->SetReplyFileName(This,ReplyFileName)
#define IBackgroundCopyJob2_GetReplyFileName(This,pReplyFileName) (This)->lpVtbl->GetReplyFileName(This,pReplyFileName)
#define IBackgroundCopyJob2_SetCredentials(This,credentials) (This)->lpVtbl->SetCredentials(This,credentials)
#define IBackgroundCopyJob2_RemoveCredentials(This,Target,Scheme) (This)->lpVtbl->RemoveCredentials(This,Target,Scheme)
/*** IBackgroundCopyJob2 methods ***/
#define IBackgroundCopyJob2_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob2_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob2_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
#define IBackgroundCopyJob2_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
#define IBackgroundCopyJob2_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
#define IBackgroundCopyJob2_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
#define IBackgroundCopyJob2_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
#define IBackgroundCopyJob2_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob2_QueryInterface(IBackgroundCopyJob2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyJob2_AddRef(IBackgroundCopyJob2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyJob2_Release(IBackgroundCopyJob2* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyJob methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob2_AddFileSet(IBackgroundCopyJob2* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_AddFile(IBackgroundCopyJob2* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_EnumFiles(IBackgroundCopyJob2* This,IEnumBackgroundCopyFiles **pEnum) {
return This->lpVtbl->EnumFiles(This,pEnum);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_Suspend(IBackgroundCopyJob2* This) {
return This->lpVtbl->Suspend(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_Resume(IBackgroundCopyJob2* This) {
return This->lpVtbl->Resume(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_Cancel(IBackgroundCopyJob2* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_Complete(IBackgroundCopyJob2* This) {
return This->lpVtbl->Complete(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetId(IBackgroundCopyJob2* This,GUID *pVal) {
return This->lpVtbl->GetId(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetType(IBackgroundCopyJob2* This,BG_JOB_TYPE *pVal) {
return This->lpVtbl->GetType(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetProgress(IBackgroundCopyJob2* This,BG_JOB_PROGRESS *pVal) {
return This->lpVtbl->GetProgress(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetTimes(IBackgroundCopyJob2* This,BG_JOB_TIMES *pVal) {
return This->lpVtbl->GetTimes(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetState(IBackgroundCopyJob2* This,BG_JOB_STATE *pVal) {
return This->lpVtbl->GetState(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetError(IBackgroundCopyJob2* This,IBackgroundCopyError **ppError) {
return This->lpVtbl->GetError(This,ppError);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetOwner(IBackgroundCopyJob2* This,LPWSTR *pVal) {
return This->lpVtbl->GetOwner(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetDisplayName(IBackgroundCopyJob2* This,LPCWSTR Val) {
return This->lpVtbl->SetDisplayName(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetDisplayName(IBackgroundCopyJob2* This,LPWSTR *pVal) {
return This->lpVtbl->GetDisplayName(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetDescription(IBackgroundCopyJob2* This,LPCWSTR Val) {
return This->lpVtbl->SetDescription(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetDescription(IBackgroundCopyJob2* This,LPWSTR *pVal) {
return This->lpVtbl->GetDescription(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY Val) {
return This->lpVtbl->SetPriority(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetPriority(IBackgroundCopyJob2* This,BG_JOB_PRIORITY *pVal) {
return This->lpVtbl->GetPriority(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyFlags(IBackgroundCopyJob2* This,ULONG Val) {
return This->lpVtbl->SetNotifyFlags(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyFlags(IBackgroundCopyJob2* This,ULONG *pVal) {
return This->lpVtbl->GetNotifyFlags(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyInterface(IBackgroundCopyJob2* This,IUnknown *Val) {
return This->lpVtbl->SetNotifyInterface(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyInterface(IBackgroundCopyJob2* This,IUnknown **pVal) {
return This->lpVtbl->GetNotifyInterface(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG Seconds) {
return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetMinimumRetryDelay(IBackgroundCopyJob2* This,ULONG *Seconds) {
return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG Seconds) {
return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNoProgressTimeout(IBackgroundCopyJob2* This,ULONG *Seconds) {
return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetErrorCount(IBackgroundCopyJob2* This,ULONG *Errors) {
return This->lpVtbl->GetErrorCount(This,Errors);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetProxySettings(IBackgroundCopyJob2* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_TakeOwnership(IBackgroundCopyJob2* This) {
return This->lpVtbl->TakeOwnership(This);
}
/*** IBackgroundCopyJob2 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetNotifyCmdLine(IBackgroundCopyJob2* This,LPCWSTR prog,LPCWSTR params) {
return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetNotifyCmdLine(IBackgroundCopyJob2* This,LPWSTR *prog,LPWSTR *params) {
return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyProgress(IBackgroundCopyJob2* This,BG_JOB_REPLY_PROGRESS *progress) {
return This->lpVtbl->GetReplyProgress(This,progress);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyData(IBackgroundCopyJob2* This,byte **pBuffer,UINT64 *pLength) {
return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetReplyFileName(IBackgroundCopyJob2* This,LPCWSTR filename) {
return This->lpVtbl->SetReplyFileName(This,filename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_GetReplyFileName(IBackgroundCopyJob2* This,LPWSTR *pFilename) {
return This->lpVtbl->GetReplyFileName(This,pFilename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_SetCredentials(IBackgroundCopyJob2* This,BG_AUTH_CREDENTIALS *cred) {
return This->lpVtbl->SetCredentials(This,cred);
}
static FORCEINLINE HRESULT IBackgroundCopyJob2_RemoveCredentials(IBackgroundCopyJob2* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
return This->lpVtbl->RemoveCredentials(This,target,scheme);
}
#endif
#endif
HRESULT WINAPI IBackgroundCopyJob2_SetNotifyCmdLine_Proxy(IBackgroundCopyJob2 *This,LPCWSTR Program,LPCWSTR Parameters);
void __RPC_STUB IBackgroundCopyJob2_SetNotifyCmdLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_GetNotifyCmdLine_Proxy(IBackgroundCopyJob2 *This,LPWSTR *pProgram,LPWSTR *pParameters);
void __RPC_STUB IBackgroundCopyJob2_GetNotifyCmdLine_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_GetReplyProgress_Proxy(IBackgroundCopyJob2 *This,BG_JOB_REPLY_PROGRESS *pProgress);
void __RPC_STUB IBackgroundCopyJob2_GetReplyProgress_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_GetReplyData_Proxy(IBackgroundCopyJob2 *This,byte **ppBuffer,UINT64 *pLength);
void __RPC_STUB IBackgroundCopyJob2_GetReplyData_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_SetReplyFileName_Proxy(IBackgroundCopyJob2 *This,LPCWSTR ReplyFileName);
void __RPC_STUB IBackgroundCopyJob2_SetReplyFileName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_GetReplyFileName_Proxy(IBackgroundCopyJob2 *This,LPWSTR *pReplyFileName);
void __RPC_STUB IBackgroundCopyJob2_GetReplyFileName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_SetCredentials_Proxy(IBackgroundCopyJob2 *This,BG_AUTH_CREDENTIALS *credentials);
void __RPC_STUB IBackgroundCopyJob2_SetCredentials_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob2_RemoveCredentials_Proxy(IBackgroundCopyJob2 *This,BG_AUTH_TARGET Target,BG_AUTH_SCHEME Scheme);
void __RPC_STUB IBackgroundCopyJob2_RemoveCredentials_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#endif /* __IBackgroundCopyJob2_INTERFACE_DEFINED__ */
#ifndef __BackgroundCopyManager1_5_LIBRARY_DEFINED__
#define __BackgroundCopyManager1_5_LIBRARY_DEFINED__
EXTERN_C const IID LIBID_BackgroundCopyManager1_5;
EXTERN_C const CLSID CLSID_BackgroundCopyManager1_5;
DEFINE_GUID(LIBID_BackgroundCopyManager1_5, 0xea9319ea, 0xc628, 0x480f, 0x83,0x31, 0x76,0x8f,0xac,0x39,0x7e,0x4e);
/*****************************************************************************
* BackgroundCopyManager1_5 coclass
*/
DEFINE_GUID(CLSID_BackgroundCopyManager1_5, 0xf087771f, 0xd74f, 0x4c1a, 0xbb,0x8a, 0xe1,0x6a,0xca,0x91,0x24,0xea);
#ifdef __cplusplus
class BackgroundCopyManager1_5;
class DECLSPEC_UUID("f087771f-d74f-4c1a-bb8a-e16aca9124ea") BackgroundCopyManager1_5;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(BackgroundCopyManager1_5, 0xf087771f, 0xd74f, 0x4c1a, 0xbb,0x8a, 0xe1,0x6a,0xca,0x91,0x24,0xea)
#endif
#endif
#ifndef __IBackgroundCopyCallback_FWD_DEFINED__
#define __IBackgroundCopyCallback_FWD_DEFINED__
typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
#ifdef __cplusplus
interface IBackgroundCopyCallback;
#endif /* __cplusplus */
#endif
#ifndef __IBackgroundCopyJob2_FWD_DEFINED__
#define __IBackgroundCopyJob2_FWD_DEFINED__
typedef interface IBackgroundCopyJob2 IBackgroundCopyJob2;
#ifdef __cplusplus
interface IBackgroundCopyJob2;
#endif /* __cplusplus */
#endif
#endif /* __BackgroundCopyManager1_5_LIBRARY_DEFINED__ */
#include "bits2_0.h"
/* Begin additional prototypes for all interfaces */
extern RPC_IF_HANDLE __MIDL_itf_bits1_5_0124_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_bits1_5_0124_v0_0_s_ifspec;
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif
#endif /* __bits1_5_h__ */

View File

@ -1,34 +1,37 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
/*** Autogenerated by WIDL 7.0 from include/bits2_0.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include "rpc.h"
#include "rpcndr.h"
#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __bits2_0_h__
#define __bits2_0_h__
/* Forward declarations */
#ifndef __IBackgroundCopyJob3_FWD_DEFINED__
#define __IBackgroundCopyJob3_FWD_DEFINED__
typedef struct IBackgroundCopyJob3 IBackgroundCopyJob3;
typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3;
#ifdef __cplusplus
interface IBackgroundCopyJob3;
#endif /* __cplusplus */
#endif
#ifndef __IBackgroundCopyFile2_FWD_DEFINED__
#define __IBackgroundCopyFile2_FWD_DEFINED__
typedef struct IBackgroundCopyFile2 IBackgroundCopyFile2;
typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2;
#ifdef __cplusplus
interface IBackgroundCopyFile2;
#endif /* __cplusplus */
#endif
#ifndef __BackgroundCopyManager2_0_FWD_DEFINED__
@ -37,220 +40,648 @@ typedef struct IBackgroundCopyFile2 IBackgroundCopyFile2;
typedef class BackgroundCopyManager2_0 BackgroundCopyManager2_0;
#else
typedef struct BackgroundCopyManager2_0 BackgroundCopyManager2_0;
#endif /* defined __cplusplus */
#endif /* defined __BackgroundCopyManager2_0_FWD_DEFINED__ */
/* Headers for imported files */
#include <bits.h>
#include <bits1_5.h>
#ifdef __cplusplus
extern "C" {
#endif
#define BG_COPY_FILE_OWNER 1
#define BG_COPY_FILE_GROUP 2
#define BG_COPY_FILE_DACL 4
#define BG_COPY_FILE_SACL 8
#define BG_COPY_FILE_ALL 15
#define BG_LENGTH_TO_EOF (UINT64)(-1)
#ifndef _BG_FILE_RANGE_DEFINED
#define _BG_FILE_RANGE_DEFINED
typedef struct _BG_FILE_RANGE {
UINT64 InitialOffset;
UINT64 Length;
} BG_FILE_RANGE;
#endif
/*****************************************************************************
* IBackgroundCopyJob3 interface
*/
#ifndef __IBackgroundCopyJob3_INTERFACE_DEFINED__
#define __IBackgroundCopyJob3_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBackgroundCopyJob3, 0x443c8934, 0x90ff, 0x48ed, 0xbc,0xde, 0x26,0xf5,0xc7,0x45,0x00,0x42);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("443c8934-90ff-48ed-bcde-26f5c7450042")
IBackgroundCopyJob3 : public IBackgroundCopyJob2
{
virtual HRESULT STDMETHODCALLTYPE ReplaceRemotePrefix(
LPCWSTR OldPrefix,
LPCWSTR NewPrefix) = 0;
virtual HRESULT STDMETHODCALLTYPE AddFileWithRanges(
LPCWSTR RemoteUrl,
LPCWSTR LocalName,
DWORD RangeCount,
BG_FILE_RANGE Ranges[]) = 0;
virtual HRESULT STDMETHODCALLTYPE SetFileACLFlags(
DWORD Flags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetFileACLFlags(
DWORD *Flags) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyJob3, 0x443c8934, 0x90ff, 0x48ed, 0xbc,0xde, 0x26,0xf5,0xc7,0x45,0x00,0x42)
#endif
#else
typedef struct IBackgroundCopyJob3Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyJob3 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyJob3 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyJob3 *This);
/*** IBackgroundCopyJob methods ***/
HRESULT (STDMETHODCALLTYPE *AddFileSet)(
IBackgroundCopyJob3 *This,
ULONG cFileCount,
BG_FILE_INFO *pFileSet);
HRESULT (STDMETHODCALLTYPE *AddFile)(
IBackgroundCopyJob3 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName);
HRESULT (STDMETHODCALLTYPE *EnumFiles)(
IBackgroundCopyJob3 *This,
IEnumBackgroundCopyFiles **pEnum);
HRESULT (STDMETHODCALLTYPE *Suspend)(
IBackgroundCopyJob3 *This);
HRESULT (STDMETHODCALLTYPE *Resume)(
IBackgroundCopyJob3 *This);
HRESULT (STDMETHODCALLTYPE *Cancel)(
IBackgroundCopyJob3 *This);
HRESULT (STDMETHODCALLTYPE *Complete)(
IBackgroundCopyJob3 *This);
HRESULT (STDMETHODCALLTYPE *GetId)(
IBackgroundCopyJob3 *This,
GUID *pVal);
HRESULT (STDMETHODCALLTYPE *GetType)(
IBackgroundCopyJob3 *This,
BG_JOB_TYPE *pVal);
HRESULT (STDMETHODCALLTYPE *GetProgress)(
IBackgroundCopyJob3 *This,
BG_JOB_PROGRESS *pVal);
HRESULT (STDMETHODCALLTYPE *GetTimes)(
IBackgroundCopyJob3 *This,
BG_JOB_TIMES *pVal);
HRESULT (STDMETHODCALLTYPE *GetState)(
IBackgroundCopyJob3 *This,
BG_JOB_STATE *pVal);
HRESULT (STDMETHODCALLTYPE *GetError)(
IBackgroundCopyJob3 *This,
IBackgroundCopyError **ppError);
HRESULT (STDMETHODCALLTYPE *GetOwner)(
IBackgroundCopyJob3 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
IBackgroundCopyJob3 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
IBackgroundCopyJob3 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDescription)(
IBackgroundCopyJob3 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDescription)(
IBackgroundCopyJob3 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetPriority)(
IBackgroundCopyJob3 *This,
BG_JOB_PRIORITY Val);
HRESULT (STDMETHODCALLTYPE *GetPriority)(
IBackgroundCopyJob3 *This,
BG_JOB_PRIORITY *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
IBackgroundCopyJob3 *This,
ULONG Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
IBackgroundCopyJob3 *This,
ULONG *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
IBackgroundCopyJob3 *This,
IUnknown *Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
IBackgroundCopyJob3 *This,
IUnknown **pVal);
HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
IBackgroundCopyJob3 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
IBackgroundCopyJob3 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
IBackgroundCopyJob3 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
IBackgroundCopyJob3 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
IBackgroundCopyJob3 *This,
ULONG *Errors);
HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
IBackgroundCopyJob3 *This,
BG_JOB_PROXY_USAGE ProxyUsage,
const WCHAR *ProxyList,
const WCHAR *ProxyBypassList);
HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
IBackgroundCopyJob3 *This,
BG_JOB_PROXY_USAGE *pProxyUsage,
LPWSTR *pProxyList,
LPWSTR *pProxyBypassList);
HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
IBackgroundCopyJob3 *This);
/*** IBackgroundCopyJob2 methods ***/
HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
IBackgroundCopyJob3 *This,
LPCWSTR prog,
LPCWSTR params);
HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
IBackgroundCopyJob3 *This,
LPWSTR *prog,
LPWSTR *params);
HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
IBackgroundCopyJob3 *This,
BG_JOB_REPLY_PROGRESS *progress);
HRESULT (STDMETHODCALLTYPE *GetReplyData)(
IBackgroundCopyJob3 *This,
byte **pBuffer,
UINT64 *pLength);
HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
IBackgroundCopyJob3 *This,
LPCWSTR filename);
HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
IBackgroundCopyJob3 *This,
LPWSTR *pFilename);
HRESULT (STDMETHODCALLTYPE *SetCredentials)(
IBackgroundCopyJob3 *This,
BG_AUTH_CREDENTIALS *cred);
HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
IBackgroundCopyJob3 *This,
BG_AUTH_TARGET target,
BG_AUTH_SCHEME scheme);
/*** IBackgroundCopyJob3 methods ***/
HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)(
IBackgroundCopyJob3 *This,
LPCWSTR OldPrefix,
LPCWSTR NewPrefix);
HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)(
IBackgroundCopyJob3 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName,
DWORD RangeCount,
BG_FILE_RANGE Ranges[]);
HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)(
IBackgroundCopyJob3 *This,
DWORD Flags);
HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)(
IBackgroundCopyJob3 *This,
DWORD *Flags);
END_INTERFACE
} IBackgroundCopyJob3Vtbl;
interface IBackgroundCopyJob3 {
CONST_VTBL IBackgroundCopyJob3Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyJob3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyJob3_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyJob3_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyJob methods ***/
#define IBackgroundCopyJob3_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
#define IBackgroundCopyJob3_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
#define IBackgroundCopyJob3_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
#define IBackgroundCopyJob3_Suspend(This) (This)->lpVtbl->Suspend(This)
#define IBackgroundCopyJob3_Resume(This) (This)->lpVtbl->Resume(This)
#define IBackgroundCopyJob3_Cancel(This) (This)->lpVtbl->Cancel(This)
#define IBackgroundCopyJob3_Complete(This) (This)->lpVtbl->Complete(This)
#define IBackgroundCopyJob3_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
#define IBackgroundCopyJob3_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
#define IBackgroundCopyJob3_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
#define IBackgroundCopyJob3_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
#define IBackgroundCopyJob3_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
#define IBackgroundCopyJob3_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
#define IBackgroundCopyJob3_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
#define IBackgroundCopyJob3_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
#define IBackgroundCopyJob3_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
#define IBackgroundCopyJob3_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
#define IBackgroundCopyJob3_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
#define IBackgroundCopyJob3_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
#define IBackgroundCopyJob3_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
#define IBackgroundCopyJob3_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
#define IBackgroundCopyJob3_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
#define IBackgroundCopyJob3_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
#define IBackgroundCopyJob3_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
#define IBackgroundCopyJob3_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob3_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob3_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob3_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob3_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
#define IBackgroundCopyJob3_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
#define IBackgroundCopyJob3_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
#define IBackgroundCopyJob3_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
/*** IBackgroundCopyJob2 methods ***/
#define IBackgroundCopyJob3_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob3_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob3_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
#define IBackgroundCopyJob3_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
#define IBackgroundCopyJob3_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
#define IBackgroundCopyJob3_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
#define IBackgroundCopyJob3_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
#define IBackgroundCopyJob3_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
/*** IBackgroundCopyJob3 methods ***/
#define IBackgroundCopyJob3_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
#define IBackgroundCopyJob3_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
#define IBackgroundCopyJob3_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags)
#define IBackgroundCopyJob3_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob3_QueryInterface(IBackgroundCopyJob3* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyJob3_AddRef(IBackgroundCopyJob3* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyJob3_Release(IBackgroundCopyJob3* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyJob methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob3_AddFileSet(IBackgroundCopyJob3* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_AddFile(IBackgroundCopyJob3* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_EnumFiles(IBackgroundCopyJob3* This,IEnumBackgroundCopyFiles **pEnum) {
return This->lpVtbl->EnumFiles(This,pEnum);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_Suspend(IBackgroundCopyJob3* This) {
return This->lpVtbl->Suspend(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_Resume(IBackgroundCopyJob3* This) {
return This->lpVtbl->Resume(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_Cancel(IBackgroundCopyJob3* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_Complete(IBackgroundCopyJob3* This) {
return This->lpVtbl->Complete(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetId(IBackgroundCopyJob3* This,GUID *pVal) {
return This->lpVtbl->GetId(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetType(IBackgroundCopyJob3* This,BG_JOB_TYPE *pVal) {
return This->lpVtbl->GetType(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetProgress(IBackgroundCopyJob3* This,BG_JOB_PROGRESS *pVal) {
return This->lpVtbl->GetProgress(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetTimes(IBackgroundCopyJob3* This,BG_JOB_TIMES *pVal) {
return This->lpVtbl->GetTimes(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetState(IBackgroundCopyJob3* This,BG_JOB_STATE *pVal) {
return This->lpVtbl->GetState(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetError(IBackgroundCopyJob3* This,IBackgroundCopyError **ppError) {
return This->lpVtbl->GetError(This,ppError);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetOwner(IBackgroundCopyJob3* This,LPWSTR *pVal) {
return This->lpVtbl->GetOwner(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetDisplayName(IBackgroundCopyJob3* This,LPCWSTR Val) {
return This->lpVtbl->SetDisplayName(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetDisplayName(IBackgroundCopyJob3* This,LPWSTR *pVal) {
return This->lpVtbl->GetDisplayName(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetDescription(IBackgroundCopyJob3* This,LPCWSTR Val) {
return This->lpVtbl->SetDescription(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetDescription(IBackgroundCopyJob3* This,LPWSTR *pVal) {
return This->lpVtbl->GetDescription(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetPriority(IBackgroundCopyJob3* This,BG_JOB_PRIORITY Val) {
return This->lpVtbl->SetPriority(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetPriority(IBackgroundCopyJob3* This,BG_JOB_PRIORITY *pVal) {
return This->lpVtbl->GetPriority(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNotifyFlags(IBackgroundCopyJob3* This,ULONG Val) {
return This->lpVtbl->SetNotifyFlags(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNotifyFlags(IBackgroundCopyJob3* This,ULONG *pVal) {
return This->lpVtbl->GetNotifyFlags(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNotifyInterface(IBackgroundCopyJob3* This,IUnknown *Val) {
return This->lpVtbl->SetNotifyInterface(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNotifyInterface(IBackgroundCopyJob3* This,IUnknown **pVal) {
return This->lpVtbl->GetNotifyInterface(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetMinimumRetryDelay(IBackgroundCopyJob3* This,ULONG Seconds) {
return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetMinimumRetryDelay(IBackgroundCopyJob3* This,ULONG *Seconds) {
return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNoProgressTimeout(IBackgroundCopyJob3* This,ULONG Seconds) {
return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNoProgressTimeout(IBackgroundCopyJob3* This,ULONG *Seconds) {
return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetErrorCount(IBackgroundCopyJob3* This,ULONG *Errors) {
return This->lpVtbl->GetErrorCount(This,Errors);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetProxySettings(IBackgroundCopyJob3* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetProxySettings(IBackgroundCopyJob3* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_TakeOwnership(IBackgroundCopyJob3* This) {
return This->lpVtbl->TakeOwnership(This);
}
/*** IBackgroundCopyJob2 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetNotifyCmdLine(IBackgroundCopyJob3* This,LPCWSTR prog,LPCWSTR params) {
return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetNotifyCmdLine(IBackgroundCopyJob3* This,LPWSTR *prog,LPWSTR *params) {
return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetReplyProgress(IBackgroundCopyJob3* This,BG_JOB_REPLY_PROGRESS *progress) {
return This->lpVtbl->GetReplyProgress(This,progress);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetReplyData(IBackgroundCopyJob3* This,byte **pBuffer,UINT64 *pLength) {
return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetReplyFileName(IBackgroundCopyJob3* This,LPCWSTR filename) {
return This->lpVtbl->SetReplyFileName(This,filename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetReplyFileName(IBackgroundCopyJob3* This,LPWSTR *pFilename) {
return This->lpVtbl->GetReplyFileName(This,pFilename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetCredentials(IBackgroundCopyJob3* This,BG_AUTH_CREDENTIALS *cred) {
return This->lpVtbl->SetCredentials(This,cred);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_RemoveCredentials(IBackgroundCopyJob3* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
return This->lpVtbl->RemoveCredentials(This,target,scheme);
}
/*** IBackgroundCopyJob3 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob3_ReplaceRemotePrefix(IBackgroundCopyJob3* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) {
return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_AddFileWithRanges(IBackgroundCopyJob3* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) {
return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_SetFileACLFlags(IBackgroundCopyJob3* This,DWORD Flags) {
return This->lpVtbl->SetFileACLFlags(This,Flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob3_GetFileACLFlags(IBackgroundCopyJob3* This,DWORD *Flags) {
return This->lpVtbl->GetFileACLFlags(This,Flags);
}
#endif
#endif
#endif
#endif /* __IBackgroundCopyJob3_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBackgroundCopyFile2 interface
*/
#ifndef __IBackgroundCopyFile2_INTERFACE_DEFINED__
#define __IBackgroundCopyFile2_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBackgroundCopyFile2, 0x83e81b93, 0x0873, 0x474d, 0x8a,0x8c, 0xf2,0x01,0x8b,0x1a,0x93,0x9c);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("83e81b93-0873-474d-8a8c-f2018b1a939c")
IBackgroundCopyFile2 : public IBackgroundCopyFile
{
virtual HRESULT STDMETHODCALLTYPE GetFileRanges(
DWORD *RangeCount,
BG_FILE_RANGE **Ranges) = 0;
virtual HRESULT STDMETHODCALLTYPE SetRemoteName(
LPCWSTR Val) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyFile2, 0x83e81b93, 0x0873, 0x474d, 0x8a,0x8c, 0xf2,0x01,0x8b,0x1a,0x93,0x9c)
#endif
#else
typedef struct IBackgroundCopyFile2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyFile2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyFile2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyFile2 *This);
/*** IBackgroundCopyFile methods ***/
HRESULT (STDMETHODCALLTYPE *GetRemoteName)(
IBackgroundCopyFile2 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *GetLocalName)(
IBackgroundCopyFile2 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *GetProgress)(
IBackgroundCopyFile2 *This,
BG_FILE_PROGRESS *pVal);
/*** IBackgroundCopyFile2 methods ***/
HRESULT (STDMETHODCALLTYPE *GetFileRanges)(
IBackgroundCopyFile2 *This,
DWORD *RangeCount,
BG_FILE_RANGE **Ranges);
HRESULT (STDMETHODCALLTYPE *SetRemoteName)(
IBackgroundCopyFile2 *This,
LPCWSTR Val);
END_INTERFACE
} IBackgroundCopyFile2Vtbl;
interface IBackgroundCopyFile2 {
CONST_VTBL IBackgroundCopyFile2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyFile2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyFile2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyFile2_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyFile methods ***/
#define IBackgroundCopyFile2_GetRemoteName(This,pVal) (This)->lpVtbl->GetRemoteName(This,pVal)
#define IBackgroundCopyFile2_GetLocalName(This,pVal) (This)->lpVtbl->GetLocalName(This,pVal)
#define IBackgroundCopyFile2_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
/*** IBackgroundCopyFile2 methods ***/
#define IBackgroundCopyFile2_GetFileRanges(This,RangeCount,Ranges) (This)->lpVtbl->GetFileRanges(This,RangeCount,Ranges)
#define IBackgroundCopyFile2_SetRemoteName(This,Val) (This)->lpVtbl->SetRemoteName(This,Val)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyFile2_QueryInterface(IBackgroundCopyFile2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyFile2_AddRef(IBackgroundCopyFile2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyFile2_Release(IBackgroundCopyFile2* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyFile methods ***/
static FORCEINLINE HRESULT IBackgroundCopyFile2_GetRemoteName(IBackgroundCopyFile2* This,LPWSTR *pVal) {
return This->lpVtbl->GetRemoteName(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyFile2_GetLocalName(IBackgroundCopyFile2* This,LPWSTR *pVal) {
return This->lpVtbl->GetLocalName(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyFile2_GetProgress(IBackgroundCopyFile2* This,BG_FILE_PROGRESS *pVal) {
return This->lpVtbl->GetProgress(This,pVal);
}
/*** IBackgroundCopyFile2 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyFile2_GetFileRanges(IBackgroundCopyFile2* This,DWORD *RangeCount,BG_FILE_RANGE **Ranges) {
return This->lpVtbl->GetFileRanges(This,RangeCount,Ranges);
}
static FORCEINLINE HRESULT IBackgroundCopyFile2_SetRemoteName(IBackgroundCopyFile2* This,LPCWSTR Val) {
return This->lpVtbl->SetRemoteName(This,Val);
}
#endif
#endif
#endif
#endif /* __IBackgroundCopyFile2_INTERFACE_DEFINED__ */
#ifndef __BackgroundCopyManager2_0_LIBRARY_DEFINED__
#define __BackgroundCopyManager2_0_LIBRARY_DEFINED__
DEFINE_GUID(LIBID_BackgroundCopyManager2_0, 0x2289a9af, 0xdc96, 0x486e, 0xb2,0x68, 0x89,0xc9,0xe3,0x39,0x7c,0x3d);
/*****************************************************************************
* BackgroundCopyManager2_0 coclass
*/
DEFINE_GUID(CLSID_BackgroundCopyManager2_0, 0x6d18ad12, 0xbde3, 0x4393, 0xb3,0x11, 0x09,0x9c,0x34,0x6e,0x6d,0xf9);
#ifdef __cplusplus
class DECLSPEC_UUID("6d18ad12-bde3-4393-b311-099c346e6df9") BackgroundCopyManager2_0;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(BackgroundCopyManager2_0, 0x6d18ad12, 0xbde3, 0x4393, 0xb3,0x11, 0x09,0x9c,0x34,0x6e,0x6d,0xf9)
#endif
#endif
#ifndef __IBackgroundCopyCallback_FWD_DEFINED__
#define __IBackgroundCopyCallback_FWD_DEFINED__
typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
#ifdef __cplusplus
interface IBackgroundCopyCallback;
#endif /* __cplusplus */
#endif
#ifndef __IBackgroundCopyJob3_FWD_DEFINED__
#define __IBackgroundCopyJob3_FWD_DEFINED__
typedef struct IBackgroundCopyJob3 IBackgroundCopyJob3;
#endif
#include "bits.h"
#include "bits1_5.h"
typedef interface IBackgroundCopyJob3 IBackgroundCopyJob3;
#ifdef __cplusplus
extern "C"{
interface IBackgroundCopyJob3;
#endif /* __cplusplus */
#endif
#ifndef __MIDL_user_allocate_free_DEFINED__
#define __MIDL_user_allocate_free_DEFINED__
void *__RPC_API MIDL_user_allocate(size_t);
void __RPC_API MIDL_user_free(void *);
#endif
#define BG_LENGTH_TO_EOF (UINT64)(-1)
typedef struct _BG_FILE_RANGE {
UINT64 InitialOffset;
UINT64 Length;
} BG_FILE_RANGE;
#define BG_COPY_FILE_OWNER 1
#define BG_COPY_FILE_GROUP 2
#define BG_COPY_FILE_DACL 4
#define BG_COPY_FILE_SACL 8
#define BG_COPY_FILE_ALL 15
extern RPC_IF_HANDLE __MIDL_itf_bits2_0_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_bits2_0_0000_v0_0_s_ifspec;
#ifndef __IBackgroundCopyJob3_INTERFACE_DEFINED__
#define __IBackgroundCopyJob3_INTERFACE_DEFINED__
EXTERN_C const IID IID_IBackgroundCopyJob3;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IBackgroundCopyJob3 : public IBackgroundCopyJob2 {
public:
virtual HRESULT WINAPI ReplaceRemotePrefix(LPCWSTR OldPrefix,LPCWSTR NewPrefix) = 0;
virtual HRESULT WINAPI AddFileWithRanges(LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) = 0;
virtual HRESULT WINAPI SetFileACLFlags(DWORD Flags) = 0;
virtual HRESULT WINAPI GetFileACLFlags(DWORD *Flags) = 0;
};
#else
typedef struct IBackgroundCopyJob3Vtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IBackgroundCopyJob3 *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IBackgroundCopyJob3 *This);
ULONG (WINAPI *Release)(IBackgroundCopyJob3 *This);
HRESULT (WINAPI *AddFileSet)(IBackgroundCopyJob3 *This,ULONG cFileCount,BG_FILE_INFO *pFileSet);
HRESULT (WINAPI *AddFile)(IBackgroundCopyJob3 *This,LPCWSTR RemoteUrl,LPCWSTR LocalName);
HRESULT (WINAPI *EnumFiles)(IBackgroundCopyJob3 *This,IEnumBackgroundCopyFiles **pEnum);
HRESULT (WINAPI *Suspend)(IBackgroundCopyJob3 *This);
HRESULT (WINAPI *Resume)(IBackgroundCopyJob3 *This);
HRESULT (WINAPI *Cancel)(IBackgroundCopyJob3 *This);
HRESULT (WINAPI *Complete)(IBackgroundCopyJob3 *This);
HRESULT (WINAPI *GetId)(IBackgroundCopyJob3 *This,GUID *pVal);
HRESULT (WINAPI *GetType)(IBackgroundCopyJob3 *This,BG_JOB_TYPE *pVal);
HRESULT (WINAPI *GetProgress)(IBackgroundCopyJob3 *This,BG_JOB_PROGRESS *pVal);
HRESULT (WINAPI *GetTimes)(IBackgroundCopyJob3 *This,BG_JOB_TIMES *pVal);
HRESULT (WINAPI *GetState)(IBackgroundCopyJob3 *This,BG_JOB_STATE *pVal);
HRESULT (WINAPI *GetError)(IBackgroundCopyJob3 *This,IBackgroundCopyError **ppError);
HRESULT (WINAPI *GetOwner)(IBackgroundCopyJob3 *This,LPWSTR *pVal);
HRESULT (WINAPI *SetDisplayName)(IBackgroundCopyJob3 *This,LPCWSTR Val);
HRESULT (WINAPI *GetDisplayName)(IBackgroundCopyJob3 *This,LPWSTR *pVal);
HRESULT (WINAPI *SetDescription)(IBackgroundCopyJob3 *This,LPCWSTR Val);
HRESULT (WINAPI *GetDescription)(IBackgroundCopyJob3 *This,LPWSTR *pVal);
HRESULT (WINAPI *SetPriority)(IBackgroundCopyJob3 *This,BG_JOB_PRIORITY Val);
HRESULT (WINAPI *GetPriority)(IBackgroundCopyJob3 *This,BG_JOB_PRIORITY *pVal);
HRESULT (WINAPI *SetNotifyFlags)(IBackgroundCopyJob3 *This,ULONG Val);
HRESULT (WINAPI *GetNotifyFlags)(IBackgroundCopyJob3 *This,ULONG *pVal);
HRESULT (WINAPI *SetNotifyInterface)(IBackgroundCopyJob3 *This,IUnknown *Val);
HRESULT (WINAPI *GetNotifyInterface)(IBackgroundCopyJob3 *This,IUnknown **pVal);
HRESULT (WINAPI *SetMinimumRetryDelay)(IBackgroundCopyJob3 *This,ULONG Seconds);
HRESULT (WINAPI *GetMinimumRetryDelay)(IBackgroundCopyJob3 *This,ULONG *Seconds);
HRESULT (WINAPI *SetNoProgressTimeout)(IBackgroundCopyJob3 *This,ULONG Seconds);
HRESULT (WINAPI *GetNoProgressTimeout)(IBackgroundCopyJob3 *This,ULONG *Seconds);
HRESULT (WINAPI *GetErrorCount)(IBackgroundCopyJob3 *This,ULONG *Errors);
HRESULT (WINAPI *SetProxySettings)(IBackgroundCopyJob3 *This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList);
HRESULT (WINAPI *GetProxySettings)(IBackgroundCopyJob3 *This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList);
HRESULT (WINAPI *TakeOwnership)(IBackgroundCopyJob3 *This);
HRESULT (WINAPI *SetNotifyCmdLine)(IBackgroundCopyJob3 *This,LPCWSTR Program,LPCWSTR Parameters);
HRESULT (WINAPI *GetNotifyCmdLine)(IBackgroundCopyJob3 *This,LPWSTR *pProgram,LPWSTR *pParameters);
HRESULT (WINAPI *GetReplyProgress)(IBackgroundCopyJob3 *This,BG_JOB_REPLY_PROGRESS *pProgress);
HRESULT (WINAPI *GetReplyData)(IBackgroundCopyJob3 *This,byte **ppBuffer,UINT64 *pLength);
HRESULT (WINAPI *SetReplyFileName)(IBackgroundCopyJob3 *This,LPCWSTR ReplyFileName);
HRESULT (WINAPI *GetReplyFileName)(IBackgroundCopyJob3 *This,LPWSTR *pReplyFileName);
HRESULT (WINAPI *SetCredentials)(IBackgroundCopyJob3 *This,BG_AUTH_CREDENTIALS *credentials);
HRESULT (WINAPI *RemoveCredentials)(IBackgroundCopyJob3 *This,BG_AUTH_TARGET Target,BG_AUTH_SCHEME Scheme);
HRESULT (WINAPI *ReplaceRemotePrefix)(IBackgroundCopyJob3 *This,LPCWSTR OldPrefix,LPCWSTR NewPrefix);
HRESULT (WINAPI *AddFileWithRanges)(IBackgroundCopyJob3 *This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]);
HRESULT (WINAPI *SetFileACLFlags)(IBackgroundCopyJob3 *This,DWORD Flags);
HRESULT (WINAPI *GetFileACLFlags)(IBackgroundCopyJob3 *This,DWORD *Flags);
END_INTERFACE
} IBackgroundCopyJob3Vtbl;
struct IBackgroundCopyJob3 {
CONST_VTBL struct IBackgroundCopyJob3Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IBackgroundCopyJob3_QueryInterface(This,riid,ppvObject) (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyJob3_AddRef(This) (This)->lpVtbl -> AddRef(This)
#define IBackgroundCopyJob3_Release(This) (This)->lpVtbl -> Release(This)
#define IBackgroundCopyJob3_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl -> AddFileSet(This,cFileCount,pFileSet)
#define IBackgroundCopyJob3_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl -> AddFile(This,RemoteUrl,LocalName)
#define IBackgroundCopyJob3_EnumFiles(This,pEnum) (This)->lpVtbl -> EnumFiles(This,pEnum)
#define IBackgroundCopyJob3_Suspend(This) (This)->lpVtbl -> Suspend(This)
#define IBackgroundCopyJob3_Resume(This) (This)->lpVtbl -> Resume(This)
#define IBackgroundCopyJob3_Cancel(This) (This)->lpVtbl -> Cancel(This)
#define IBackgroundCopyJob3_Complete(This) (This)->lpVtbl -> Complete(This)
#define IBackgroundCopyJob3_GetId(This,pVal) (This)->lpVtbl -> GetId(This,pVal)
#define IBackgroundCopyJob3_GetType(This,pVal) (This)->lpVtbl -> GetType(This,pVal)
#define IBackgroundCopyJob3_GetProgress(This,pVal) (This)->lpVtbl -> GetProgress(This,pVal)
#define IBackgroundCopyJob3_GetTimes(This,pVal) (This)->lpVtbl -> GetTimes(This,pVal)
#define IBackgroundCopyJob3_GetState(This,pVal) (This)->lpVtbl -> GetState(This,pVal)
#define IBackgroundCopyJob3_GetError(This,ppError) (This)->lpVtbl -> GetError(This,ppError)
#define IBackgroundCopyJob3_GetOwner(This,pVal) (This)->lpVtbl -> GetOwner(This,pVal)
#define IBackgroundCopyJob3_SetDisplayName(This,Val) (This)->lpVtbl -> SetDisplayName(This,Val)
#define IBackgroundCopyJob3_GetDisplayName(This,pVal) (This)->lpVtbl -> GetDisplayName(This,pVal)
#define IBackgroundCopyJob3_SetDescription(This,Val) (This)->lpVtbl -> SetDescription(This,Val)
#define IBackgroundCopyJob3_GetDescription(This,pVal) (This)->lpVtbl -> GetDescription(This,pVal)
#define IBackgroundCopyJob3_SetPriority(This,Val) (This)->lpVtbl -> SetPriority(This,Val)
#define IBackgroundCopyJob3_GetPriority(This,pVal) (This)->lpVtbl -> GetPriority(This,pVal)
#define IBackgroundCopyJob3_SetNotifyFlags(This,Val) (This)->lpVtbl -> SetNotifyFlags(This,Val)
#define IBackgroundCopyJob3_GetNotifyFlags(This,pVal) (This)->lpVtbl -> GetNotifyFlags(This,pVal)
#define IBackgroundCopyJob3_SetNotifyInterface(This,Val) (This)->lpVtbl -> SetNotifyInterface(This,Val)
#define IBackgroundCopyJob3_GetNotifyInterface(This,pVal) (This)->lpVtbl -> GetNotifyInterface(This,pVal)
#define IBackgroundCopyJob3_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl -> SetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob3_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl -> GetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob3_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl -> SetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob3_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl -> GetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob3_GetErrorCount(This,Errors) (This)->lpVtbl -> GetErrorCount(This,Errors)
#define IBackgroundCopyJob3_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl -> SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
#define IBackgroundCopyJob3_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl -> GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
#define IBackgroundCopyJob3_TakeOwnership(This) (This)->lpVtbl -> TakeOwnership(This)
#define IBackgroundCopyJob3_SetNotifyCmdLine(This,Program,Parameters) (This)->lpVtbl -> SetNotifyCmdLine(This,Program,Parameters)
#define IBackgroundCopyJob3_GetNotifyCmdLine(This,pProgram,pParameters) (This)->lpVtbl -> GetNotifyCmdLine(This,pProgram,pParameters)
#define IBackgroundCopyJob3_GetReplyProgress(This,pProgress) (This)->lpVtbl -> GetReplyProgress(This,pProgress)
#define IBackgroundCopyJob3_GetReplyData(This,ppBuffer,pLength) (This)->lpVtbl -> GetReplyData(This,ppBuffer,pLength)
#define IBackgroundCopyJob3_SetReplyFileName(This,ReplyFileName) (This)->lpVtbl -> SetReplyFileName(This,ReplyFileName)
#define IBackgroundCopyJob3_GetReplyFileName(This,pReplyFileName) (This)->lpVtbl -> GetReplyFileName(This,pReplyFileName)
#define IBackgroundCopyJob3_SetCredentials(This,credentials) (This)->lpVtbl -> SetCredentials(This,credentials)
#define IBackgroundCopyJob3_RemoveCredentials(This,Target,Scheme) (This)->lpVtbl -> RemoveCredentials(This,Target,Scheme)
#define IBackgroundCopyJob3_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl -> ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
#define IBackgroundCopyJob3_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl -> AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
#define IBackgroundCopyJob3_SetFileACLFlags(This,Flags) (This)->lpVtbl -> SetFileACLFlags(This,Flags)
#define IBackgroundCopyJob3_GetFileACLFlags(This,Flags) (This)->lpVtbl -> GetFileACLFlags(This,Flags)
#endif
#endif
HRESULT WINAPI IBackgroundCopyJob3_ReplaceRemotePrefix_Proxy(IBackgroundCopyJob3 *This,LPCWSTR OldPrefix,LPCWSTR NewPrefix);
void __RPC_STUB IBackgroundCopyJob3_ReplaceRemotePrefix_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob3_AddFileWithRanges_Proxy(IBackgroundCopyJob3 *This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]);
void __RPC_STUB IBackgroundCopyJob3_AddFileWithRanges_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob3_SetFileACLFlags_Proxy(IBackgroundCopyJob3 *This,DWORD Flags);
void __RPC_STUB IBackgroundCopyJob3_SetFileACLFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyJob3_GetFileACLFlags_Proxy(IBackgroundCopyJob3 *This,DWORD *Flags);
void __RPC_STUB IBackgroundCopyJob3_GetFileACLFlags_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#ifndef __IBackgroundCopyFile2_INTERFACE_DEFINED__
#define __IBackgroundCopyFile2_INTERFACE_DEFINED__
EXTERN_C const IID IID_IBackgroundCopyFile2;
#if defined(__cplusplus) && !defined(CINTERFACE)
struct IBackgroundCopyFile2 : public IBackgroundCopyFile {
public:
virtual HRESULT WINAPI GetFileRanges(DWORD *RangeCount,BG_FILE_RANGE **Ranges) = 0;
virtual HRESULT WINAPI SetRemoteName(LPCWSTR Val) = 0;
};
#else
typedef struct IBackgroundCopyFile2Vtbl {
BEGIN_INTERFACE
HRESULT (WINAPI *QueryInterface)(IBackgroundCopyFile2 *This,REFIID riid,void **ppvObject);
ULONG (WINAPI *AddRef)(IBackgroundCopyFile2 *This);
ULONG (WINAPI *Release)(IBackgroundCopyFile2 *This);
HRESULT (WINAPI *GetRemoteName)(IBackgroundCopyFile2 *This,LPWSTR *pVal);
HRESULT (WINAPI *GetLocalName)(IBackgroundCopyFile2 *This,LPWSTR *pVal);
HRESULT (WINAPI *GetProgress)(IBackgroundCopyFile2 *This,BG_FILE_PROGRESS *pVal);
HRESULT (WINAPI *GetFileRanges)(IBackgroundCopyFile2 *This,DWORD *RangeCount,BG_FILE_RANGE **Ranges);
HRESULT (WINAPI *SetRemoteName)(IBackgroundCopyFile2 *This,LPCWSTR Val);
END_INTERFACE
} IBackgroundCopyFile2Vtbl;
struct IBackgroundCopyFile2 {
CONST_VTBL struct IBackgroundCopyFile2Vtbl *lpVtbl;
};
#ifdef COBJMACROS
#define IBackgroundCopyFile2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyFile2_AddRef(This) (This)->lpVtbl -> AddRef(This)
#define IBackgroundCopyFile2_Release(This) (This)->lpVtbl -> Release(This)
#define IBackgroundCopyFile2_GetRemoteName(This,pVal) (This)->lpVtbl -> GetRemoteName(This,pVal)
#define IBackgroundCopyFile2_GetLocalName(This,pVal) (This)->lpVtbl -> GetLocalName(This,pVal)
#define IBackgroundCopyFile2_GetProgress(This,pVal) (This)->lpVtbl -> GetProgress(This,pVal)
#define IBackgroundCopyFile2_GetFileRanges(This,RangeCount,Ranges) (This)->lpVtbl -> GetFileRanges(This,RangeCount,Ranges)
#define IBackgroundCopyFile2_SetRemoteName(This,Val) (This)->lpVtbl -> SetRemoteName(This,Val)
#endif
#endif
HRESULT WINAPI IBackgroundCopyFile2_GetFileRanges_Proxy(IBackgroundCopyFile2 *This,DWORD *RangeCount,BG_FILE_RANGE **Ranges);
void __RPC_STUB IBackgroundCopyFile2_GetFileRanges_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
HRESULT WINAPI IBackgroundCopyFile2_SetRemoteName_Proxy(IBackgroundCopyFile2 *This,LPCWSTR Val);
void __RPC_STUB IBackgroundCopyFile2_SetRemoteName_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);
#endif
#ifndef __BackgroundCopyManager2_0_LIBRARY_DEFINED__
#define __BackgroundCopyManager2_0_LIBRARY_DEFINED__
EXTERN_C const IID LIBID_BackgroundCopyManager2_0;
EXTERN_C const CLSID CLSID_BackgroundCopyManager2_0;
#ifndef __IBackgroundCopyFile2_FWD_DEFINED__
#define __IBackgroundCopyFile2_FWD_DEFINED__
typedef interface IBackgroundCopyFile2 IBackgroundCopyFile2;
#ifdef __cplusplus
class BackgroundCopyManager2_0;
#endif
interface IBackgroundCopyFile2;
#endif /* __cplusplus */
#endif
#endif /* __BackgroundCopyManager2_0_LIBRARY_DEFINED__ */
#include "bits2_5.h"
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif
#endif /* __bits2_0_h__ */

View File

@ -0,0 +1,270 @@
/*** Autogenerated by WIDL 7.0 from include/bits2_5.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __bits2_5_h__
#define __bits2_5_h__
/* Forward declarations */
#ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
#define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions;
#ifdef __cplusplus
interface IBackgroundCopyJobHttpOptions;
#endif /* __cplusplus */
#endif
#ifndef __BackgroundCopyManager2_5_FWD_DEFINED__
#define __BackgroundCopyManager2_5_FWD_DEFINED__
#ifdef __cplusplus
typedef class BackgroundCopyManager2_5 BackgroundCopyManager2_5;
#else
typedef struct BackgroundCopyManager2_5 BackgroundCopyManager2_5;
#endif /* defined __cplusplus */
#endif /* defined __BackgroundCopyManager2_5_FWD_DEFINED__ */
/* Headers for imported files */
#include <bits.h>
#include <bits1_5.h>
#include <bits2_0.h>
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************************
* IBackgroundCopyJobHttpOptions interface
*/
#ifndef __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__
#define __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__
typedef enum __WIDL_bits2_5_generated_name_00000016 {
BG_CERT_STORE_LOCATION_CURRENT_USER = 0,
BG_CERT_STORE_LOCATION_LOCAL_MACHINE = 1,
BG_CERT_STORE_LOCATION_CURRENT_SERVICE = 2,
BG_CERT_STORE_LOCATION_SERVICES = 3,
BG_CERT_STORE_LOCATION_USERS = 4,
BG_CERT_STORE_LOCATION_CURRENT_USER_GROUP_POLICY = 5,
BG_CERT_STORE_LOCATION_LOCAL_MACHINE_GROUP_POLICY = 6,
BG_CERT_STORE_LOCATION_LOCAL_MACHINE_ENTERPRISE = 7
} BG_CERT_STORE_LOCATION;
DEFINE_GUID(IID_IBackgroundCopyJobHttpOptions, 0xf1bd1079, 0x9f01, 0x4bdc, 0x80,0x36, 0xf0,0x9b,0x70,0x09,0x50,0x66);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("f1bd1079-9f01-4bdc-8036-f09b70095066")
IBackgroundCopyJobHttpOptions : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByID(
BG_CERT_STORE_LOCATION StoreLocation,
LPCWSTR StoreName,
BYTE *pCertHashBlob) = 0;
virtual HRESULT STDMETHODCALLTYPE SetClientCertificateByName(
BG_CERT_STORE_LOCATION StoreLocation,
LPCWSTR StoreName,
LPCWSTR SubjectName) = 0;
virtual HRESULT STDMETHODCALLTYPE RemoveClientCertificate(
) = 0;
virtual HRESULT STDMETHODCALLTYPE GetClientCertificate(
BG_CERT_STORE_LOCATION *pStoreLocation,
LPWSTR *pStoreName,
BYTE **ppCertHashBlob,
LPWSTR *pSubjectName) = 0;
virtual HRESULT STDMETHODCALLTYPE SetCustomHeaders(
LPCWSTR RequestHeaders) = 0;
virtual HRESULT STDMETHODCALLTYPE GetCustomHeaders(
LPWSTR *pRequestHeaders) = 0;
virtual HRESULT STDMETHODCALLTYPE SetSecurityFlags(
ULONG Flags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetSecurityFlags(
ULONG *pFlags) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyJobHttpOptions, 0xf1bd1079, 0x9f01, 0x4bdc, 0x80,0x36, 0xf0,0x9b,0x70,0x09,0x50,0x66)
#endif
#else
typedef struct IBackgroundCopyJobHttpOptionsVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyJobHttpOptions *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyJobHttpOptions *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyJobHttpOptions *This);
/*** IBackgroundCopyJobHttpOptions methods ***/
HRESULT (STDMETHODCALLTYPE *SetClientCertificateByID)(
IBackgroundCopyJobHttpOptions *This,
BG_CERT_STORE_LOCATION StoreLocation,
LPCWSTR StoreName,
BYTE *pCertHashBlob);
HRESULT (STDMETHODCALLTYPE *SetClientCertificateByName)(
IBackgroundCopyJobHttpOptions *This,
BG_CERT_STORE_LOCATION StoreLocation,
LPCWSTR StoreName,
LPCWSTR SubjectName);
HRESULT (STDMETHODCALLTYPE *RemoveClientCertificate)(
IBackgroundCopyJobHttpOptions *This);
HRESULT (STDMETHODCALLTYPE *GetClientCertificate)(
IBackgroundCopyJobHttpOptions *This,
BG_CERT_STORE_LOCATION *pStoreLocation,
LPWSTR *pStoreName,
BYTE **ppCertHashBlob,
LPWSTR *pSubjectName);
HRESULT (STDMETHODCALLTYPE *SetCustomHeaders)(
IBackgroundCopyJobHttpOptions *This,
LPCWSTR RequestHeaders);
HRESULT (STDMETHODCALLTYPE *GetCustomHeaders)(
IBackgroundCopyJobHttpOptions *This,
LPWSTR *pRequestHeaders);
HRESULT (STDMETHODCALLTYPE *SetSecurityFlags)(
IBackgroundCopyJobHttpOptions *This,
ULONG Flags);
HRESULT (STDMETHODCALLTYPE *GetSecurityFlags)(
IBackgroundCopyJobHttpOptions *This,
ULONG *pFlags);
END_INTERFACE
} IBackgroundCopyJobHttpOptionsVtbl;
interface IBackgroundCopyJobHttpOptions {
CONST_VTBL IBackgroundCopyJobHttpOptionsVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyJobHttpOptions_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyJobHttpOptions_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyJobHttpOptions_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyJobHttpOptions methods ***/
#define IBackgroundCopyJobHttpOptions_SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob) (This)->lpVtbl->SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob)
#define IBackgroundCopyJobHttpOptions_SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName) (This)->lpVtbl->SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName)
#define IBackgroundCopyJobHttpOptions_RemoveClientCertificate(This) (This)->lpVtbl->RemoveClientCertificate(This)
#define IBackgroundCopyJobHttpOptions_GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName) (This)->lpVtbl->GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName)
#define IBackgroundCopyJobHttpOptions_SetCustomHeaders(This,RequestHeaders) (This)->lpVtbl->SetCustomHeaders(This,RequestHeaders)
#define IBackgroundCopyJobHttpOptions_GetCustomHeaders(This,pRequestHeaders) (This)->lpVtbl->GetCustomHeaders(This,pRequestHeaders)
#define IBackgroundCopyJobHttpOptions_SetSecurityFlags(This,Flags) (This)->lpVtbl->SetSecurityFlags(This,Flags)
#define IBackgroundCopyJobHttpOptions_GetSecurityFlags(This,pFlags) (This)->lpVtbl->GetSecurityFlags(This,pFlags)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_QueryInterface(IBackgroundCopyJobHttpOptions* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyJobHttpOptions_AddRef(IBackgroundCopyJobHttpOptions* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyJobHttpOptions_Release(IBackgroundCopyJobHttpOptions* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyJobHttpOptions methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetClientCertificateByID(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION StoreLocation,LPCWSTR StoreName,BYTE *pCertHashBlob) {
return This->lpVtbl->SetClientCertificateByID(This,StoreLocation,StoreName,pCertHashBlob);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetClientCertificateByName(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION StoreLocation,LPCWSTR StoreName,LPCWSTR SubjectName) {
return This->lpVtbl->SetClientCertificateByName(This,StoreLocation,StoreName,SubjectName);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_RemoveClientCertificate(IBackgroundCopyJobHttpOptions* This) {
return This->lpVtbl->RemoveClientCertificate(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_GetClientCertificate(IBackgroundCopyJobHttpOptions* This,BG_CERT_STORE_LOCATION *pStoreLocation,LPWSTR *pStoreName,BYTE **ppCertHashBlob,LPWSTR *pSubjectName) {
return This->lpVtbl->GetClientCertificate(This,pStoreLocation,pStoreName,ppCertHashBlob,pSubjectName);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetCustomHeaders(IBackgroundCopyJobHttpOptions* This,LPCWSTR RequestHeaders) {
return This->lpVtbl->SetCustomHeaders(This,RequestHeaders);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_GetCustomHeaders(IBackgroundCopyJobHttpOptions* This,LPWSTR *pRequestHeaders) {
return This->lpVtbl->GetCustomHeaders(This,pRequestHeaders);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_SetSecurityFlags(IBackgroundCopyJobHttpOptions* This,ULONG Flags) {
return This->lpVtbl->SetSecurityFlags(This,Flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJobHttpOptions_GetSecurityFlags(IBackgroundCopyJobHttpOptions* This,ULONG *pFlags) {
return This->lpVtbl->GetSecurityFlags(This,pFlags);
}
#endif
#endif
#endif
#endif /* __IBackgroundCopyJobHttpOptions_INTERFACE_DEFINED__ */
#ifndef __BackgroundCopyManager2_5_LIBRARY_DEFINED__
#define __BackgroundCopyManager2_5_LIBRARY_DEFINED__
DEFINE_GUID(LIBID_BackgroundCopyManager2_5, 0x4974177c, 0x3bb6, 0x4c37, 0x9f,0xf0, 0x6b,0x74,0x26,0xf0,0xab,0xa9);
/*****************************************************************************
* BackgroundCopyManager2_5 coclass
*/
DEFINE_GUID(CLSID_BackgroundCopyManager2_5, 0x03ca98d6, 0xff5d, 0x49b8, 0xab,0xc6, 0x03,0xdd,0x84,0x12,0x70,0x20);
#ifdef __cplusplus
class DECLSPEC_UUID("03ca98d6-ff5d-49b8-abc6-03dd84127020") BackgroundCopyManager2_5;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(BackgroundCopyManager2_5, 0x03ca98d6, 0xff5d, 0x49b8, 0xab,0xc6, 0x03,0xdd,0x84,0x12,0x70,0x20)
#endif
#endif
#ifndef __IBackgroundCopyCallback_FWD_DEFINED__
#define __IBackgroundCopyCallback_FWD_DEFINED__
typedef interface IBackgroundCopyCallback IBackgroundCopyCallback;
#ifdef __cplusplus
interface IBackgroundCopyCallback;
#endif /* __cplusplus */
#endif
#ifndef __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
#define __IBackgroundCopyJobHttpOptions_FWD_DEFINED__
typedef interface IBackgroundCopyJobHttpOptions IBackgroundCopyJobHttpOptions;
#ifdef __cplusplus
interface IBackgroundCopyJobHttpOptions;
#endif /* __cplusplus */
#endif
#endif /* __BackgroundCopyManager2_5_LIBRARY_DEFINED__ */
#include "bits3_0.h"
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __bits2_5_h__ */

View File

@ -0,0 +1,704 @@
/*** Autogenerated by WIDL 7.0 from include/bits3_0.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __bits3_0_h__
#define __bits3_0_h__
/* Forward declarations */
#ifndef __IBackgroundCopyCallback2_FWD_DEFINED__
#define __IBackgroundCopyCallback2_FWD_DEFINED__
typedef interface IBackgroundCopyCallback2 IBackgroundCopyCallback2;
#ifdef __cplusplus
interface IBackgroundCopyCallback2;
#endif /* __cplusplus */
#endif
#ifndef __IBackgroundCopyJob4_FWD_DEFINED__
#define __IBackgroundCopyJob4_FWD_DEFINED__
typedef interface IBackgroundCopyJob4 IBackgroundCopyJob4;
#ifdef __cplusplus
interface IBackgroundCopyJob4;
#endif /* __cplusplus */
#endif
#ifndef __BackgroundCopyManager3_0_FWD_DEFINED__
#define __BackgroundCopyManager3_0_FWD_DEFINED__
#ifdef __cplusplus
typedef class BackgroundCopyManager3_0 BackgroundCopyManager3_0;
#else
typedef struct BackgroundCopyManager3_0 BackgroundCopyManager3_0;
#endif /* defined __cplusplus */
#endif /* defined __BackgroundCopyManager3_0_FWD_DEFINED__ */
/* Headers for imported files */
#include <bits.h>
#include <bits2_0.h>
#ifdef __cplusplus
extern "C" {
#endif
/*****************************************************************************
* IBackgroundCopyCallback2 interface
*/
#ifndef __IBackgroundCopyCallback2_INTERFACE_DEFINED__
#define __IBackgroundCopyCallback2_INTERFACE_DEFINED__
DEFINE_GUID(IID_IBackgroundCopyCallback2, 0x659cdeac, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("659cdeac-489e-11d9-a9cd-000d56965251")
IBackgroundCopyCallback2 : public IBackgroundCopyCallback
{
virtual HRESULT STDMETHODCALLTYPE FileTransferred(
IBackgroundCopyJob *job,
IBackgroundCopyFile *file) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyCallback2, 0x659cdeac, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51)
#endif
#else
typedef struct IBackgroundCopyCallback2Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyCallback2 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyCallback2 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyCallback2 *This);
/*** IBackgroundCopyCallback methods ***/
HRESULT (STDMETHODCALLTYPE *JobTransferred)(
IBackgroundCopyCallback2 *This,
IBackgroundCopyJob *pJob);
HRESULT (STDMETHODCALLTYPE *JobError)(
IBackgroundCopyCallback2 *This,
IBackgroundCopyJob *pJob,
IBackgroundCopyError *pError);
HRESULT (STDMETHODCALLTYPE *JobModification)(
IBackgroundCopyCallback2 *This,
IBackgroundCopyJob *pJob,
DWORD dwReserved);
/*** IBackgroundCopyCallback2 methods ***/
HRESULT (STDMETHODCALLTYPE *FileTransferred)(
IBackgroundCopyCallback2 *This,
IBackgroundCopyJob *job,
IBackgroundCopyFile *file);
END_INTERFACE
} IBackgroundCopyCallback2Vtbl;
interface IBackgroundCopyCallback2 {
CONST_VTBL IBackgroundCopyCallback2Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyCallback2_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyCallback2_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyCallback2_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyCallback methods ***/
#define IBackgroundCopyCallback2_JobTransferred(This,pJob) (This)->lpVtbl->JobTransferred(This,pJob)
#define IBackgroundCopyCallback2_JobError(This,pJob,pError) (This)->lpVtbl->JobError(This,pJob,pError)
#define IBackgroundCopyCallback2_JobModification(This,pJob,dwReserved) (This)->lpVtbl->JobModification(This,pJob,dwReserved)
/*** IBackgroundCopyCallback2 methods ***/
#define IBackgroundCopyCallback2_FileTransferred(This,job,file) (This)->lpVtbl->FileTransferred(This,job,file)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyCallback2_QueryInterface(IBackgroundCopyCallback2* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyCallback2_AddRef(IBackgroundCopyCallback2* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyCallback2_Release(IBackgroundCopyCallback2* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyCallback methods ***/
static FORCEINLINE HRESULT IBackgroundCopyCallback2_JobTransferred(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob) {
return This->lpVtbl->JobTransferred(This,pJob);
}
static FORCEINLINE HRESULT IBackgroundCopyCallback2_JobError(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob,IBackgroundCopyError *pError) {
return This->lpVtbl->JobError(This,pJob,pError);
}
static FORCEINLINE HRESULT IBackgroundCopyCallback2_JobModification(IBackgroundCopyCallback2* This,IBackgroundCopyJob *pJob,DWORD dwReserved) {
return This->lpVtbl->JobModification(This,pJob,dwReserved);
}
/*** IBackgroundCopyCallback2 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyCallback2_FileTransferred(IBackgroundCopyCallback2* This,IBackgroundCopyJob *job,IBackgroundCopyFile *file) {
return This->lpVtbl->FileTransferred(This,job,file);
}
#endif
#endif
#endif
#endif /* __IBackgroundCopyCallback2_INTERFACE_DEFINED__ */
/*****************************************************************************
* IBackgroundCopyJob4 interface
*/
#ifndef __IBackgroundCopyJob4_INTERFACE_DEFINED__
#define __IBackgroundCopyJob4_INTERFACE_DEFINED__
#define BG_JOB_ENABLE_PEERCACHING_CLIENT 0x0001
#define BG_JOB_ENABLE_PEERCACHING_SERVER 0x0002
#define BG_JOB_DISABLE_BRANCH_CACHE 0x0004
DEFINE_GUID(IID_IBackgroundCopyJob4, 0x659cdeae, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("659cdeae-489e-11d9-a9cd-000d56965251")
IBackgroundCopyJob4 : public IBackgroundCopyJob3
{
virtual HRESULT STDMETHODCALLTYPE SetPeerCachingFlags(
DWORD flags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetPeerCachingFlags(
DWORD *flags) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOwnerIntegrityLevel(
ULONG *level) = 0;
virtual HRESULT STDMETHODCALLTYPE GetOwnerElevationState(
WINBOOL *elevated) = 0;
virtual HRESULT STDMETHODCALLTYPE SetMaximumDownloadTime(
ULONG timeout) = 0;
virtual HRESULT STDMETHODCALLTYPE GetMaximumDownloadTime(
ULONG *timeout) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyJob4, 0x659cdeae, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51)
#endif
#else
typedef struct IBackgroundCopyJob4Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyJob4 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyJob4 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyJob4 *This);
/*** IBackgroundCopyJob methods ***/
HRESULT (STDMETHODCALLTYPE *AddFileSet)(
IBackgroundCopyJob4 *This,
ULONG cFileCount,
BG_FILE_INFO *pFileSet);
HRESULT (STDMETHODCALLTYPE *AddFile)(
IBackgroundCopyJob4 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName);
HRESULT (STDMETHODCALLTYPE *EnumFiles)(
IBackgroundCopyJob4 *This,
IEnumBackgroundCopyFiles **pEnum);
HRESULT (STDMETHODCALLTYPE *Suspend)(
IBackgroundCopyJob4 *This);
HRESULT (STDMETHODCALLTYPE *Resume)(
IBackgroundCopyJob4 *This);
HRESULT (STDMETHODCALLTYPE *Cancel)(
IBackgroundCopyJob4 *This);
HRESULT (STDMETHODCALLTYPE *Complete)(
IBackgroundCopyJob4 *This);
HRESULT (STDMETHODCALLTYPE *GetId)(
IBackgroundCopyJob4 *This,
GUID *pVal);
HRESULT (STDMETHODCALLTYPE *GetType)(
IBackgroundCopyJob4 *This,
BG_JOB_TYPE *pVal);
HRESULT (STDMETHODCALLTYPE *GetProgress)(
IBackgroundCopyJob4 *This,
BG_JOB_PROGRESS *pVal);
HRESULT (STDMETHODCALLTYPE *GetTimes)(
IBackgroundCopyJob4 *This,
BG_JOB_TIMES *pVal);
HRESULT (STDMETHODCALLTYPE *GetState)(
IBackgroundCopyJob4 *This,
BG_JOB_STATE *pVal);
HRESULT (STDMETHODCALLTYPE *GetError)(
IBackgroundCopyJob4 *This,
IBackgroundCopyError **ppError);
HRESULT (STDMETHODCALLTYPE *GetOwner)(
IBackgroundCopyJob4 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
IBackgroundCopyJob4 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
IBackgroundCopyJob4 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDescription)(
IBackgroundCopyJob4 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDescription)(
IBackgroundCopyJob4 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetPriority)(
IBackgroundCopyJob4 *This,
BG_JOB_PRIORITY Val);
HRESULT (STDMETHODCALLTYPE *GetPriority)(
IBackgroundCopyJob4 *This,
BG_JOB_PRIORITY *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
IBackgroundCopyJob4 *This,
ULONG Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
IBackgroundCopyJob4 *This,
ULONG *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
IBackgroundCopyJob4 *This,
IUnknown *Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
IBackgroundCopyJob4 *This,
IUnknown **pVal);
HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
IBackgroundCopyJob4 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
IBackgroundCopyJob4 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
IBackgroundCopyJob4 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
IBackgroundCopyJob4 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
IBackgroundCopyJob4 *This,
ULONG *Errors);
HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
IBackgroundCopyJob4 *This,
BG_JOB_PROXY_USAGE ProxyUsage,
const WCHAR *ProxyList,
const WCHAR *ProxyBypassList);
HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
IBackgroundCopyJob4 *This,
BG_JOB_PROXY_USAGE *pProxyUsage,
LPWSTR *pProxyList,
LPWSTR *pProxyBypassList);
HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
IBackgroundCopyJob4 *This);
/*** IBackgroundCopyJob2 methods ***/
HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
IBackgroundCopyJob4 *This,
LPCWSTR prog,
LPCWSTR params);
HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
IBackgroundCopyJob4 *This,
LPWSTR *prog,
LPWSTR *params);
HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
IBackgroundCopyJob4 *This,
BG_JOB_REPLY_PROGRESS *progress);
HRESULT (STDMETHODCALLTYPE *GetReplyData)(
IBackgroundCopyJob4 *This,
byte **pBuffer,
UINT64 *pLength);
HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
IBackgroundCopyJob4 *This,
LPCWSTR filename);
HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
IBackgroundCopyJob4 *This,
LPWSTR *pFilename);
HRESULT (STDMETHODCALLTYPE *SetCredentials)(
IBackgroundCopyJob4 *This,
BG_AUTH_CREDENTIALS *cred);
HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
IBackgroundCopyJob4 *This,
BG_AUTH_TARGET target,
BG_AUTH_SCHEME scheme);
/*** IBackgroundCopyJob3 methods ***/
HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)(
IBackgroundCopyJob4 *This,
LPCWSTR OldPrefix,
LPCWSTR NewPrefix);
HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)(
IBackgroundCopyJob4 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName,
DWORD RangeCount,
BG_FILE_RANGE Ranges[]);
HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)(
IBackgroundCopyJob4 *This,
DWORD Flags);
HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)(
IBackgroundCopyJob4 *This,
DWORD *Flags);
/*** IBackgroundCopyJob4 methods ***/
HRESULT (STDMETHODCALLTYPE *SetPeerCachingFlags)(
IBackgroundCopyJob4 *This,
DWORD flags);
HRESULT (STDMETHODCALLTYPE *GetPeerCachingFlags)(
IBackgroundCopyJob4 *This,
DWORD *flags);
HRESULT (STDMETHODCALLTYPE *GetOwnerIntegrityLevel)(
IBackgroundCopyJob4 *This,
ULONG *level);
HRESULT (STDMETHODCALLTYPE *GetOwnerElevationState)(
IBackgroundCopyJob4 *This,
WINBOOL *elevated);
HRESULT (STDMETHODCALLTYPE *SetMaximumDownloadTime)(
IBackgroundCopyJob4 *This,
ULONG timeout);
HRESULT (STDMETHODCALLTYPE *GetMaximumDownloadTime)(
IBackgroundCopyJob4 *This,
ULONG *timeout);
END_INTERFACE
} IBackgroundCopyJob4Vtbl;
interface IBackgroundCopyJob4 {
CONST_VTBL IBackgroundCopyJob4Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyJob4_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyJob4_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyJob4_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyJob methods ***/
#define IBackgroundCopyJob4_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
#define IBackgroundCopyJob4_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
#define IBackgroundCopyJob4_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
#define IBackgroundCopyJob4_Suspend(This) (This)->lpVtbl->Suspend(This)
#define IBackgroundCopyJob4_Resume(This) (This)->lpVtbl->Resume(This)
#define IBackgroundCopyJob4_Cancel(This) (This)->lpVtbl->Cancel(This)
#define IBackgroundCopyJob4_Complete(This) (This)->lpVtbl->Complete(This)
#define IBackgroundCopyJob4_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
#define IBackgroundCopyJob4_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
#define IBackgroundCopyJob4_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
#define IBackgroundCopyJob4_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
#define IBackgroundCopyJob4_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
#define IBackgroundCopyJob4_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
#define IBackgroundCopyJob4_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
#define IBackgroundCopyJob4_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
#define IBackgroundCopyJob4_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
#define IBackgroundCopyJob4_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
#define IBackgroundCopyJob4_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
#define IBackgroundCopyJob4_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
#define IBackgroundCopyJob4_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
#define IBackgroundCopyJob4_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
#define IBackgroundCopyJob4_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
#define IBackgroundCopyJob4_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
#define IBackgroundCopyJob4_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
#define IBackgroundCopyJob4_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob4_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob4_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob4_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob4_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
#define IBackgroundCopyJob4_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
#define IBackgroundCopyJob4_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
#define IBackgroundCopyJob4_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
/*** IBackgroundCopyJob2 methods ***/
#define IBackgroundCopyJob4_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob4_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob4_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
#define IBackgroundCopyJob4_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
#define IBackgroundCopyJob4_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
#define IBackgroundCopyJob4_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
#define IBackgroundCopyJob4_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
#define IBackgroundCopyJob4_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
/*** IBackgroundCopyJob3 methods ***/
#define IBackgroundCopyJob4_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
#define IBackgroundCopyJob4_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
#define IBackgroundCopyJob4_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags)
#define IBackgroundCopyJob4_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags)
/*** IBackgroundCopyJob4 methods ***/
#define IBackgroundCopyJob4_SetPeerCachingFlags(This,flags) (This)->lpVtbl->SetPeerCachingFlags(This,flags)
#define IBackgroundCopyJob4_GetPeerCachingFlags(This,flags) (This)->lpVtbl->GetPeerCachingFlags(This,flags)
#define IBackgroundCopyJob4_GetOwnerIntegrityLevel(This,level) (This)->lpVtbl->GetOwnerIntegrityLevel(This,level)
#define IBackgroundCopyJob4_GetOwnerElevationState(This,elevated) (This)->lpVtbl->GetOwnerElevationState(This,elevated)
#define IBackgroundCopyJob4_SetMaximumDownloadTime(This,timeout) (This)->lpVtbl->SetMaximumDownloadTime(This,timeout)
#define IBackgroundCopyJob4_GetMaximumDownloadTime(This,timeout) (This)->lpVtbl->GetMaximumDownloadTime(This,timeout)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob4_QueryInterface(IBackgroundCopyJob4* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyJob4_AddRef(IBackgroundCopyJob4* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyJob4_Release(IBackgroundCopyJob4* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyJob methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob4_AddFileSet(IBackgroundCopyJob4* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_AddFile(IBackgroundCopyJob4* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_EnumFiles(IBackgroundCopyJob4* This,IEnumBackgroundCopyFiles **pEnum) {
return This->lpVtbl->EnumFiles(This,pEnum);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_Suspend(IBackgroundCopyJob4* This) {
return This->lpVtbl->Suspend(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_Resume(IBackgroundCopyJob4* This) {
return This->lpVtbl->Resume(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_Cancel(IBackgroundCopyJob4* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_Complete(IBackgroundCopyJob4* This) {
return This->lpVtbl->Complete(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetId(IBackgroundCopyJob4* This,GUID *pVal) {
return This->lpVtbl->GetId(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetType(IBackgroundCopyJob4* This,BG_JOB_TYPE *pVal) {
return This->lpVtbl->GetType(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetProgress(IBackgroundCopyJob4* This,BG_JOB_PROGRESS *pVal) {
return This->lpVtbl->GetProgress(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetTimes(IBackgroundCopyJob4* This,BG_JOB_TIMES *pVal) {
return This->lpVtbl->GetTimes(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetState(IBackgroundCopyJob4* This,BG_JOB_STATE *pVal) {
return This->lpVtbl->GetState(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetError(IBackgroundCopyJob4* This,IBackgroundCopyError **ppError) {
return This->lpVtbl->GetError(This,ppError);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetOwner(IBackgroundCopyJob4* This,LPWSTR *pVal) {
return This->lpVtbl->GetOwner(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetDisplayName(IBackgroundCopyJob4* This,LPCWSTR Val) {
return This->lpVtbl->SetDisplayName(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetDisplayName(IBackgroundCopyJob4* This,LPWSTR *pVal) {
return This->lpVtbl->GetDisplayName(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetDescription(IBackgroundCopyJob4* This,LPCWSTR Val) {
return This->lpVtbl->SetDescription(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetDescription(IBackgroundCopyJob4* This,LPWSTR *pVal) {
return This->lpVtbl->GetDescription(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetPriority(IBackgroundCopyJob4* This,BG_JOB_PRIORITY Val) {
return This->lpVtbl->SetPriority(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetPriority(IBackgroundCopyJob4* This,BG_JOB_PRIORITY *pVal) {
return This->lpVtbl->GetPriority(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNotifyFlags(IBackgroundCopyJob4* This,ULONG Val) {
return This->lpVtbl->SetNotifyFlags(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNotifyFlags(IBackgroundCopyJob4* This,ULONG *pVal) {
return This->lpVtbl->GetNotifyFlags(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNotifyInterface(IBackgroundCopyJob4* This,IUnknown *Val) {
return This->lpVtbl->SetNotifyInterface(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNotifyInterface(IBackgroundCopyJob4* This,IUnknown **pVal) {
return This->lpVtbl->GetNotifyInterface(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetMinimumRetryDelay(IBackgroundCopyJob4* This,ULONG Seconds) {
return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetMinimumRetryDelay(IBackgroundCopyJob4* This,ULONG *Seconds) {
return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNoProgressTimeout(IBackgroundCopyJob4* This,ULONG Seconds) {
return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNoProgressTimeout(IBackgroundCopyJob4* This,ULONG *Seconds) {
return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetErrorCount(IBackgroundCopyJob4* This,ULONG *Errors) {
return This->lpVtbl->GetErrorCount(This,Errors);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetProxySettings(IBackgroundCopyJob4* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetProxySettings(IBackgroundCopyJob4* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_TakeOwnership(IBackgroundCopyJob4* This) {
return This->lpVtbl->TakeOwnership(This);
}
/*** IBackgroundCopyJob2 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetNotifyCmdLine(IBackgroundCopyJob4* This,LPCWSTR prog,LPCWSTR params) {
return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetNotifyCmdLine(IBackgroundCopyJob4* This,LPWSTR *prog,LPWSTR *params) {
return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetReplyProgress(IBackgroundCopyJob4* This,BG_JOB_REPLY_PROGRESS *progress) {
return This->lpVtbl->GetReplyProgress(This,progress);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetReplyData(IBackgroundCopyJob4* This,byte **pBuffer,UINT64 *pLength) {
return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetReplyFileName(IBackgroundCopyJob4* This,LPCWSTR filename) {
return This->lpVtbl->SetReplyFileName(This,filename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetReplyFileName(IBackgroundCopyJob4* This,LPWSTR *pFilename) {
return This->lpVtbl->GetReplyFileName(This,pFilename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetCredentials(IBackgroundCopyJob4* This,BG_AUTH_CREDENTIALS *cred) {
return This->lpVtbl->SetCredentials(This,cred);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_RemoveCredentials(IBackgroundCopyJob4* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
return This->lpVtbl->RemoveCredentials(This,target,scheme);
}
/*** IBackgroundCopyJob3 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob4_ReplaceRemotePrefix(IBackgroundCopyJob4* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) {
return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_AddFileWithRanges(IBackgroundCopyJob4* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) {
return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetFileACLFlags(IBackgroundCopyJob4* This,DWORD Flags) {
return This->lpVtbl->SetFileACLFlags(This,Flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetFileACLFlags(IBackgroundCopyJob4* This,DWORD *Flags) {
return This->lpVtbl->GetFileACLFlags(This,Flags);
}
/*** IBackgroundCopyJob4 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetPeerCachingFlags(IBackgroundCopyJob4* This,DWORD flags) {
return This->lpVtbl->SetPeerCachingFlags(This,flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetPeerCachingFlags(IBackgroundCopyJob4* This,DWORD *flags) {
return This->lpVtbl->GetPeerCachingFlags(This,flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetOwnerIntegrityLevel(IBackgroundCopyJob4* This,ULONG *level) {
return This->lpVtbl->GetOwnerIntegrityLevel(This,level);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetOwnerElevationState(IBackgroundCopyJob4* This,WINBOOL *elevated) {
return This->lpVtbl->GetOwnerElevationState(This,elevated);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_SetMaximumDownloadTime(IBackgroundCopyJob4* This,ULONG timeout) {
return This->lpVtbl->SetMaximumDownloadTime(This,timeout);
}
static FORCEINLINE HRESULT IBackgroundCopyJob4_GetMaximumDownloadTime(IBackgroundCopyJob4* This,ULONG *timeout) {
return This->lpVtbl->GetMaximumDownloadTime(This,timeout);
}
#endif
#endif
#endif
#endif /* __IBackgroundCopyJob4_INTERFACE_DEFINED__ */
#ifndef __BackgroundCopyManager3_0_LIBRARY_DEFINED__
#define __BackgroundCopyManager3_0_LIBRARY_DEFINED__
DEFINE_GUID(LIBID_BackgroundCopyManager3_0, 0x659cdea6, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51);
/*****************************************************************************
* BackgroundCopyManager3_0 coclass
*/
DEFINE_GUID(CLSID_BackgroundCopyManager3_0, 0x659cdea7, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51);
#ifdef __cplusplus
class DECLSPEC_UUID("659cdea7-489e-11d9-a9cd-000d56965251") BackgroundCopyManager3_0;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(BackgroundCopyManager3_0, 0x659cdea7, 0x489e, 0x11d9, 0xa9,0xcd, 0x00,0x0d,0x56,0x96,0x52,0x51)
#endif
#endif
#ifndef __IBackgroundCopyJob4_FWD_DEFINED__
#define __IBackgroundCopyJob4_FWD_DEFINED__
typedef interface IBackgroundCopyJob4 IBackgroundCopyJob4;
#ifdef __cplusplus
interface IBackgroundCopyJob4;
#endif /* __cplusplus */
#endif
#endif /* __BackgroundCopyManager3_0_LIBRARY_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __bits3_0_h__ */

View File

@ -0,0 +1,581 @@
/*** Autogenerated by WIDL 7.0 from include/bits5_0.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __bits5_0_h__
#define __bits5_0_h__
/* Forward declarations */
#ifndef __IBackgroundCopyJob5_FWD_DEFINED__
#define __IBackgroundCopyJob5_FWD_DEFINED__
typedef interface IBackgroundCopyJob5 IBackgroundCopyJob5;
#ifdef __cplusplus
interface IBackgroundCopyJob5;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <bits.h>
#include <bits1_5.h>
#include <bits2_0.h>
#include <bits2_5.h>
#include <bits3_0.h>
#ifdef __cplusplus
extern "C" {
#endif
#define BITS_COST_STATE_TRANSFER_ALWAYS 0x800000ff
/*****************************************************************************
* IBackgroundCopyJob5 interface
*/
#ifndef __IBackgroundCopyJob5_INTERFACE_DEFINED__
#define __IBackgroundCopyJob5_INTERFACE_DEFINED__
typedef enum __WIDL_bits5_0_generated_name_00000017 {
BITS_JOB_PROPERTY_ID_COST_FLAGS = 1,
BITS_JOB_PROPERTY_NOTIFICATION_CLSID = 2,
BITS_JOB_PROPERTY_DYNAMIC_CONTENT = 3,
BITS_JOB_PROPERTY_HIGH_PERFORMANCE = 4,
BITS_JOB_PROPERTY_MAX_DOWNLOAD_SIZE = 5,
BITS_JOB_PROPERTY_USE_STORED_CREDENTIALS = 7,
BITS_JOB_PROPERTY_MINIMUM_NOTIFICATION_INTERVAL_MS = 9,
BITS_JOB_PROPERTY_ON_DEMAND_MODE = 10
} BITS_JOB_PROPERTY_ID;
typedef union _BITS_JOB_PROPERTY_VALUE {
DWORD Dword;
GUID ClsID;
WINBOOL Enable;
UINT64 Uint64;
BG_AUTH_TARGET Target;
} BITS_JOB_PROPERTY_VALUE;
DEFINE_GUID(IID_IBackgroundCopyJob5, 0xe847030c, 0xbbba, 0x4657, 0xaf,0x6d, 0x48,0x4a,0xa4,0x2b,0xf1,0xfe);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("e847030c-bbba-4657-af6d-484aa42bf1fe")
IBackgroundCopyJob5 : public IBackgroundCopyJob4
{
virtual HRESULT STDMETHODCALLTYPE SetProperty(
BITS_JOB_PROPERTY_ID id,
BITS_JOB_PROPERTY_VALUE value) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProperty(
BITS_JOB_PROPERTY_ID id,
BITS_JOB_PROPERTY_VALUE *value) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IBackgroundCopyJob5, 0xe847030c, 0xbbba, 0x4657, 0xaf,0x6d, 0x48,0x4a,0xa4,0x2b,0xf1,0xfe)
#endif
#else
typedef struct IBackgroundCopyJob5Vtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IBackgroundCopyJob5 *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IBackgroundCopyJob5 *This);
ULONG (STDMETHODCALLTYPE *Release)(
IBackgroundCopyJob5 *This);
/*** IBackgroundCopyJob methods ***/
HRESULT (STDMETHODCALLTYPE *AddFileSet)(
IBackgroundCopyJob5 *This,
ULONG cFileCount,
BG_FILE_INFO *pFileSet);
HRESULT (STDMETHODCALLTYPE *AddFile)(
IBackgroundCopyJob5 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName);
HRESULT (STDMETHODCALLTYPE *EnumFiles)(
IBackgroundCopyJob5 *This,
IEnumBackgroundCopyFiles **pEnum);
HRESULT (STDMETHODCALLTYPE *Suspend)(
IBackgroundCopyJob5 *This);
HRESULT (STDMETHODCALLTYPE *Resume)(
IBackgroundCopyJob5 *This);
HRESULT (STDMETHODCALLTYPE *Cancel)(
IBackgroundCopyJob5 *This);
HRESULT (STDMETHODCALLTYPE *Complete)(
IBackgroundCopyJob5 *This);
HRESULT (STDMETHODCALLTYPE *GetId)(
IBackgroundCopyJob5 *This,
GUID *pVal);
HRESULT (STDMETHODCALLTYPE *GetType)(
IBackgroundCopyJob5 *This,
BG_JOB_TYPE *pVal);
HRESULT (STDMETHODCALLTYPE *GetProgress)(
IBackgroundCopyJob5 *This,
BG_JOB_PROGRESS *pVal);
HRESULT (STDMETHODCALLTYPE *GetTimes)(
IBackgroundCopyJob5 *This,
BG_JOB_TIMES *pVal);
HRESULT (STDMETHODCALLTYPE *GetState)(
IBackgroundCopyJob5 *This,
BG_JOB_STATE *pVal);
HRESULT (STDMETHODCALLTYPE *GetError)(
IBackgroundCopyJob5 *This,
IBackgroundCopyError **ppError);
HRESULT (STDMETHODCALLTYPE *GetOwner)(
IBackgroundCopyJob5 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDisplayName)(
IBackgroundCopyJob5 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDisplayName)(
IBackgroundCopyJob5 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetDescription)(
IBackgroundCopyJob5 *This,
LPCWSTR Val);
HRESULT (STDMETHODCALLTYPE *GetDescription)(
IBackgroundCopyJob5 *This,
LPWSTR *pVal);
HRESULT (STDMETHODCALLTYPE *SetPriority)(
IBackgroundCopyJob5 *This,
BG_JOB_PRIORITY Val);
HRESULT (STDMETHODCALLTYPE *GetPriority)(
IBackgroundCopyJob5 *This,
BG_JOB_PRIORITY *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyFlags)(
IBackgroundCopyJob5 *This,
ULONG Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyFlags)(
IBackgroundCopyJob5 *This,
ULONG *pVal);
HRESULT (STDMETHODCALLTYPE *SetNotifyInterface)(
IBackgroundCopyJob5 *This,
IUnknown *Val);
HRESULT (STDMETHODCALLTYPE *GetNotifyInterface)(
IBackgroundCopyJob5 *This,
IUnknown **pVal);
HRESULT (STDMETHODCALLTYPE *SetMinimumRetryDelay)(
IBackgroundCopyJob5 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetMinimumRetryDelay)(
IBackgroundCopyJob5 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *SetNoProgressTimeout)(
IBackgroundCopyJob5 *This,
ULONG Seconds);
HRESULT (STDMETHODCALLTYPE *GetNoProgressTimeout)(
IBackgroundCopyJob5 *This,
ULONG *Seconds);
HRESULT (STDMETHODCALLTYPE *GetErrorCount)(
IBackgroundCopyJob5 *This,
ULONG *Errors);
HRESULT (STDMETHODCALLTYPE *SetProxySettings)(
IBackgroundCopyJob5 *This,
BG_JOB_PROXY_USAGE ProxyUsage,
const WCHAR *ProxyList,
const WCHAR *ProxyBypassList);
HRESULT (STDMETHODCALLTYPE *GetProxySettings)(
IBackgroundCopyJob5 *This,
BG_JOB_PROXY_USAGE *pProxyUsage,
LPWSTR *pProxyList,
LPWSTR *pProxyBypassList);
HRESULT (STDMETHODCALLTYPE *TakeOwnership)(
IBackgroundCopyJob5 *This);
/*** IBackgroundCopyJob2 methods ***/
HRESULT (STDMETHODCALLTYPE *SetNotifyCmdLine)(
IBackgroundCopyJob5 *This,
LPCWSTR prog,
LPCWSTR params);
HRESULT (STDMETHODCALLTYPE *GetNotifyCmdLine)(
IBackgroundCopyJob5 *This,
LPWSTR *prog,
LPWSTR *params);
HRESULT (STDMETHODCALLTYPE *GetReplyProgress)(
IBackgroundCopyJob5 *This,
BG_JOB_REPLY_PROGRESS *progress);
HRESULT (STDMETHODCALLTYPE *GetReplyData)(
IBackgroundCopyJob5 *This,
byte **pBuffer,
UINT64 *pLength);
HRESULT (STDMETHODCALLTYPE *SetReplyFileName)(
IBackgroundCopyJob5 *This,
LPCWSTR filename);
HRESULT (STDMETHODCALLTYPE *GetReplyFileName)(
IBackgroundCopyJob5 *This,
LPWSTR *pFilename);
HRESULT (STDMETHODCALLTYPE *SetCredentials)(
IBackgroundCopyJob5 *This,
BG_AUTH_CREDENTIALS *cred);
HRESULT (STDMETHODCALLTYPE *RemoveCredentials)(
IBackgroundCopyJob5 *This,
BG_AUTH_TARGET target,
BG_AUTH_SCHEME scheme);
/*** IBackgroundCopyJob3 methods ***/
HRESULT (STDMETHODCALLTYPE *ReplaceRemotePrefix)(
IBackgroundCopyJob5 *This,
LPCWSTR OldPrefix,
LPCWSTR NewPrefix);
HRESULT (STDMETHODCALLTYPE *AddFileWithRanges)(
IBackgroundCopyJob5 *This,
LPCWSTR RemoteUrl,
LPCWSTR LocalName,
DWORD RangeCount,
BG_FILE_RANGE Ranges[]);
HRESULT (STDMETHODCALLTYPE *SetFileACLFlags)(
IBackgroundCopyJob5 *This,
DWORD Flags);
HRESULT (STDMETHODCALLTYPE *GetFileACLFlags)(
IBackgroundCopyJob5 *This,
DWORD *Flags);
/*** IBackgroundCopyJob4 methods ***/
HRESULT (STDMETHODCALLTYPE *SetPeerCachingFlags)(
IBackgroundCopyJob5 *This,
DWORD flags);
HRESULT (STDMETHODCALLTYPE *GetPeerCachingFlags)(
IBackgroundCopyJob5 *This,
DWORD *flags);
HRESULT (STDMETHODCALLTYPE *GetOwnerIntegrityLevel)(
IBackgroundCopyJob5 *This,
ULONG *level);
HRESULT (STDMETHODCALLTYPE *GetOwnerElevationState)(
IBackgroundCopyJob5 *This,
WINBOOL *elevated);
HRESULT (STDMETHODCALLTYPE *SetMaximumDownloadTime)(
IBackgroundCopyJob5 *This,
ULONG timeout);
HRESULT (STDMETHODCALLTYPE *GetMaximumDownloadTime)(
IBackgroundCopyJob5 *This,
ULONG *timeout);
/*** IBackgroundCopyJob5 methods ***/
HRESULT (STDMETHODCALLTYPE *SetProperty)(
IBackgroundCopyJob5 *This,
BITS_JOB_PROPERTY_ID id,
BITS_JOB_PROPERTY_VALUE value);
HRESULT (STDMETHODCALLTYPE *GetProperty)(
IBackgroundCopyJob5 *This,
BITS_JOB_PROPERTY_ID id,
BITS_JOB_PROPERTY_VALUE *value);
END_INTERFACE
} IBackgroundCopyJob5Vtbl;
interface IBackgroundCopyJob5 {
CONST_VTBL IBackgroundCopyJob5Vtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IBackgroundCopyJob5_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IBackgroundCopyJob5_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IBackgroundCopyJob5_Release(This) (This)->lpVtbl->Release(This)
/*** IBackgroundCopyJob methods ***/
#define IBackgroundCopyJob5_AddFileSet(This,cFileCount,pFileSet) (This)->lpVtbl->AddFileSet(This,cFileCount,pFileSet)
#define IBackgroundCopyJob5_AddFile(This,RemoteUrl,LocalName) (This)->lpVtbl->AddFile(This,RemoteUrl,LocalName)
#define IBackgroundCopyJob5_EnumFiles(This,pEnum) (This)->lpVtbl->EnumFiles(This,pEnum)
#define IBackgroundCopyJob5_Suspend(This) (This)->lpVtbl->Suspend(This)
#define IBackgroundCopyJob5_Resume(This) (This)->lpVtbl->Resume(This)
#define IBackgroundCopyJob5_Cancel(This) (This)->lpVtbl->Cancel(This)
#define IBackgroundCopyJob5_Complete(This) (This)->lpVtbl->Complete(This)
#define IBackgroundCopyJob5_GetId(This,pVal) (This)->lpVtbl->GetId(This,pVal)
#define IBackgroundCopyJob5_GetType(This,pVal) (This)->lpVtbl->GetType(This,pVal)
#define IBackgroundCopyJob5_GetProgress(This,pVal) (This)->lpVtbl->GetProgress(This,pVal)
#define IBackgroundCopyJob5_GetTimes(This,pVal) (This)->lpVtbl->GetTimes(This,pVal)
#define IBackgroundCopyJob5_GetState(This,pVal) (This)->lpVtbl->GetState(This,pVal)
#define IBackgroundCopyJob5_GetError(This,ppError) (This)->lpVtbl->GetError(This,ppError)
#define IBackgroundCopyJob5_GetOwner(This,pVal) (This)->lpVtbl->GetOwner(This,pVal)
#define IBackgroundCopyJob5_SetDisplayName(This,Val) (This)->lpVtbl->SetDisplayName(This,Val)
#define IBackgroundCopyJob5_GetDisplayName(This,pVal) (This)->lpVtbl->GetDisplayName(This,pVal)
#define IBackgroundCopyJob5_SetDescription(This,Val) (This)->lpVtbl->SetDescription(This,Val)
#define IBackgroundCopyJob5_GetDescription(This,pVal) (This)->lpVtbl->GetDescription(This,pVal)
#define IBackgroundCopyJob5_SetPriority(This,Val) (This)->lpVtbl->SetPriority(This,Val)
#define IBackgroundCopyJob5_GetPriority(This,pVal) (This)->lpVtbl->GetPriority(This,pVal)
#define IBackgroundCopyJob5_SetNotifyFlags(This,Val) (This)->lpVtbl->SetNotifyFlags(This,Val)
#define IBackgroundCopyJob5_GetNotifyFlags(This,pVal) (This)->lpVtbl->GetNotifyFlags(This,pVal)
#define IBackgroundCopyJob5_SetNotifyInterface(This,Val) (This)->lpVtbl->SetNotifyInterface(This,Val)
#define IBackgroundCopyJob5_GetNotifyInterface(This,pVal) (This)->lpVtbl->GetNotifyInterface(This,pVal)
#define IBackgroundCopyJob5_SetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->SetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob5_GetMinimumRetryDelay(This,Seconds) (This)->lpVtbl->GetMinimumRetryDelay(This,Seconds)
#define IBackgroundCopyJob5_SetNoProgressTimeout(This,Seconds) (This)->lpVtbl->SetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob5_GetNoProgressTimeout(This,Seconds) (This)->lpVtbl->GetNoProgressTimeout(This,Seconds)
#define IBackgroundCopyJob5_GetErrorCount(This,Errors) (This)->lpVtbl->GetErrorCount(This,Errors)
#define IBackgroundCopyJob5_SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList) (This)->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList)
#define IBackgroundCopyJob5_GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList) (This)->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList)
#define IBackgroundCopyJob5_TakeOwnership(This) (This)->lpVtbl->TakeOwnership(This)
/*** IBackgroundCopyJob2 methods ***/
#define IBackgroundCopyJob5_SetNotifyCmdLine(This,prog,params) (This)->lpVtbl->SetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob5_GetNotifyCmdLine(This,prog,params) (This)->lpVtbl->GetNotifyCmdLine(This,prog,params)
#define IBackgroundCopyJob5_GetReplyProgress(This,progress) (This)->lpVtbl->GetReplyProgress(This,progress)
#define IBackgroundCopyJob5_GetReplyData(This,pBuffer,pLength) (This)->lpVtbl->GetReplyData(This,pBuffer,pLength)
#define IBackgroundCopyJob5_SetReplyFileName(This,filename) (This)->lpVtbl->SetReplyFileName(This,filename)
#define IBackgroundCopyJob5_GetReplyFileName(This,pFilename) (This)->lpVtbl->GetReplyFileName(This,pFilename)
#define IBackgroundCopyJob5_SetCredentials(This,cred) (This)->lpVtbl->SetCredentials(This,cred)
#define IBackgroundCopyJob5_RemoveCredentials(This,target,scheme) (This)->lpVtbl->RemoveCredentials(This,target,scheme)
/*** IBackgroundCopyJob3 methods ***/
#define IBackgroundCopyJob5_ReplaceRemotePrefix(This,OldPrefix,NewPrefix) (This)->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix)
#define IBackgroundCopyJob5_AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges) (This)->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges)
#define IBackgroundCopyJob5_SetFileACLFlags(This,Flags) (This)->lpVtbl->SetFileACLFlags(This,Flags)
#define IBackgroundCopyJob5_GetFileACLFlags(This,Flags) (This)->lpVtbl->GetFileACLFlags(This,Flags)
/*** IBackgroundCopyJob4 methods ***/
#define IBackgroundCopyJob5_SetPeerCachingFlags(This,flags) (This)->lpVtbl->SetPeerCachingFlags(This,flags)
#define IBackgroundCopyJob5_GetPeerCachingFlags(This,flags) (This)->lpVtbl->GetPeerCachingFlags(This,flags)
#define IBackgroundCopyJob5_GetOwnerIntegrityLevel(This,level) (This)->lpVtbl->GetOwnerIntegrityLevel(This,level)
#define IBackgroundCopyJob5_GetOwnerElevationState(This,elevated) (This)->lpVtbl->GetOwnerElevationState(This,elevated)
#define IBackgroundCopyJob5_SetMaximumDownloadTime(This,timeout) (This)->lpVtbl->SetMaximumDownloadTime(This,timeout)
#define IBackgroundCopyJob5_GetMaximumDownloadTime(This,timeout) (This)->lpVtbl->GetMaximumDownloadTime(This,timeout)
/*** IBackgroundCopyJob5 methods ***/
#define IBackgroundCopyJob5_SetProperty(This,id,value) (This)->lpVtbl->SetProperty(This,id,value)
#define IBackgroundCopyJob5_GetProperty(This,id,value) (This)->lpVtbl->GetProperty(This,id,value)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob5_QueryInterface(IBackgroundCopyJob5* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IBackgroundCopyJob5_AddRef(IBackgroundCopyJob5* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IBackgroundCopyJob5_Release(IBackgroundCopyJob5* This) {
return This->lpVtbl->Release(This);
}
/*** IBackgroundCopyJob methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob5_AddFileSet(IBackgroundCopyJob5* This,ULONG cFileCount,BG_FILE_INFO *pFileSet) {
return This->lpVtbl->AddFileSet(This,cFileCount,pFileSet);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_AddFile(IBackgroundCopyJob5* This,LPCWSTR RemoteUrl,LPCWSTR LocalName) {
return This->lpVtbl->AddFile(This,RemoteUrl,LocalName);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_EnumFiles(IBackgroundCopyJob5* This,IEnumBackgroundCopyFiles **pEnum) {
return This->lpVtbl->EnumFiles(This,pEnum);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_Suspend(IBackgroundCopyJob5* This) {
return This->lpVtbl->Suspend(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_Resume(IBackgroundCopyJob5* This) {
return This->lpVtbl->Resume(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_Cancel(IBackgroundCopyJob5* This) {
return This->lpVtbl->Cancel(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_Complete(IBackgroundCopyJob5* This) {
return This->lpVtbl->Complete(This);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetId(IBackgroundCopyJob5* This,GUID *pVal) {
return This->lpVtbl->GetId(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetType(IBackgroundCopyJob5* This,BG_JOB_TYPE *pVal) {
return This->lpVtbl->GetType(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetProgress(IBackgroundCopyJob5* This,BG_JOB_PROGRESS *pVal) {
return This->lpVtbl->GetProgress(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetTimes(IBackgroundCopyJob5* This,BG_JOB_TIMES *pVal) {
return This->lpVtbl->GetTimes(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetState(IBackgroundCopyJob5* This,BG_JOB_STATE *pVal) {
return This->lpVtbl->GetState(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetError(IBackgroundCopyJob5* This,IBackgroundCopyError **ppError) {
return This->lpVtbl->GetError(This,ppError);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetOwner(IBackgroundCopyJob5* This,LPWSTR *pVal) {
return This->lpVtbl->GetOwner(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetDisplayName(IBackgroundCopyJob5* This,LPCWSTR Val) {
return This->lpVtbl->SetDisplayName(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetDisplayName(IBackgroundCopyJob5* This,LPWSTR *pVal) {
return This->lpVtbl->GetDisplayName(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetDescription(IBackgroundCopyJob5* This,LPCWSTR Val) {
return This->lpVtbl->SetDescription(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetDescription(IBackgroundCopyJob5* This,LPWSTR *pVal) {
return This->lpVtbl->GetDescription(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetPriority(IBackgroundCopyJob5* This,BG_JOB_PRIORITY Val) {
return This->lpVtbl->SetPriority(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetPriority(IBackgroundCopyJob5* This,BG_JOB_PRIORITY *pVal) {
return This->lpVtbl->GetPriority(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetNotifyFlags(IBackgroundCopyJob5* This,ULONG Val) {
return This->lpVtbl->SetNotifyFlags(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetNotifyFlags(IBackgroundCopyJob5* This,ULONG *pVal) {
return This->lpVtbl->GetNotifyFlags(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetNotifyInterface(IBackgroundCopyJob5* This,IUnknown *Val) {
return This->lpVtbl->SetNotifyInterface(This,Val);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetNotifyInterface(IBackgroundCopyJob5* This,IUnknown **pVal) {
return This->lpVtbl->GetNotifyInterface(This,pVal);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetMinimumRetryDelay(IBackgroundCopyJob5* This,ULONG Seconds) {
return This->lpVtbl->SetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetMinimumRetryDelay(IBackgroundCopyJob5* This,ULONG *Seconds) {
return This->lpVtbl->GetMinimumRetryDelay(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetNoProgressTimeout(IBackgroundCopyJob5* This,ULONG Seconds) {
return This->lpVtbl->SetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetNoProgressTimeout(IBackgroundCopyJob5* This,ULONG *Seconds) {
return This->lpVtbl->GetNoProgressTimeout(This,Seconds);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetErrorCount(IBackgroundCopyJob5* This,ULONG *Errors) {
return This->lpVtbl->GetErrorCount(This,Errors);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetProxySettings(IBackgroundCopyJob5* This,BG_JOB_PROXY_USAGE ProxyUsage,const WCHAR *ProxyList,const WCHAR *ProxyBypassList) {
return This->lpVtbl->SetProxySettings(This,ProxyUsage,ProxyList,ProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetProxySettings(IBackgroundCopyJob5* This,BG_JOB_PROXY_USAGE *pProxyUsage,LPWSTR *pProxyList,LPWSTR *pProxyBypassList) {
return This->lpVtbl->GetProxySettings(This,pProxyUsage,pProxyList,pProxyBypassList);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_TakeOwnership(IBackgroundCopyJob5* This) {
return This->lpVtbl->TakeOwnership(This);
}
/*** IBackgroundCopyJob2 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetNotifyCmdLine(IBackgroundCopyJob5* This,LPCWSTR prog,LPCWSTR params) {
return This->lpVtbl->SetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetNotifyCmdLine(IBackgroundCopyJob5* This,LPWSTR *prog,LPWSTR *params) {
return This->lpVtbl->GetNotifyCmdLine(This,prog,params);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetReplyProgress(IBackgroundCopyJob5* This,BG_JOB_REPLY_PROGRESS *progress) {
return This->lpVtbl->GetReplyProgress(This,progress);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetReplyData(IBackgroundCopyJob5* This,byte **pBuffer,UINT64 *pLength) {
return This->lpVtbl->GetReplyData(This,pBuffer,pLength);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetReplyFileName(IBackgroundCopyJob5* This,LPCWSTR filename) {
return This->lpVtbl->SetReplyFileName(This,filename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetReplyFileName(IBackgroundCopyJob5* This,LPWSTR *pFilename) {
return This->lpVtbl->GetReplyFileName(This,pFilename);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetCredentials(IBackgroundCopyJob5* This,BG_AUTH_CREDENTIALS *cred) {
return This->lpVtbl->SetCredentials(This,cred);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_RemoveCredentials(IBackgroundCopyJob5* This,BG_AUTH_TARGET target,BG_AUTH_SCHEME scheme) {
return This->lpVtbl->RemoveCredentials(This,target,scheme);
}
/*** IBackgroundCopyJob3 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob5_ReplaceRemotePrefix(IBackgroundCopyJob5* This,LPCWSTR OldPrefix,LPCWSTR NewPrefix) {
return This->lpVtbl->ReplaceRemotePrefix(This,OldPrefix,NewPrefix);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_AddFileWithRanges(IBackgroundCopyJob5* This,LPCWSTR RemoteUrl,LPCWSTR LocalName,DWORD RangeCount,BG_FILE_RANGE Ranges[]) {
return This->lpVtbl->AddFileWithRanges(This,RemoteUrl,LocalName,RangeCount,Ranges);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetFileACLFlags(IBackgroundCopyJob5* This,DWORD Flags) {
return This->lpVtbl->SetFileACLFlags(This,Flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetFileACLFlags(IBackgroundCopyJob5* This,DWORD *Flags) {
return This->lpVtbl->GetFileACLFlags(This,Flags);
}
/*** IBackgroundCopyJob4 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetPeerCachingFlags(IBackgroundCopyJob5* This,DWORD flags) {
return This->lpVtbl->SetPeerCachingFlags(This,flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetPeerCachingFlags(IBackgroundCopyJob5* This,DWORD *flags) {
return This->lpVtbl->GetPeerCachingFlags(This,flags);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetOwnerIntegrityLevel(IBackgroundCopyJob5* This,ULONG *level) {
return This->lpVtbl->GetOwnerIntegrityLevel(This,level);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetOwnerElevationState(IBackgroundCopyJob5* This,WINBOOL *elevated) {
return This->lpVtbl->GetOwnerElevationState(This,elevated);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetMaximumDownloadTime(IBackgroundCopyJob5* This,ULONG timeout) {
return This->lpVtbl->SetMaximumDownloadTime(This,timeout);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetMaximumDownloadTime(IBackgroundCopyJob5* This,ULONG *timeout) {
return This->lpVtbl->GetMaximumDownloadTime(This,timeout);
}
/*** IBackgroundCopyJob5 methods ***/
static FORCEINLINE HRESULT IBackgroundCopyJob5_SetProperty(IBackgroundCopyJob5* This,BITS_JOB_PROPERTY_ID id,BITS_JOB_PROPERTY_VALUE value) {
return This->lpVtbl->SetProperty(This,id,value);
}
static FORCEINLINE HRESULT IBackgroundCopyJob5_GetProperty(IBackgroundCopyJob5* This,BITS_JOB_PROPERTY_ID id,BITS_JOB_PROPERTY_VALUE *value) {
return This->lpVtbl->GetProperty(This,id,value);
}
#endif
#endif
#endif
#endif /* __IBackgroundCopyJob5_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __bits5_0_h__ */

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/comadmin.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/comadmin.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/comcat.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/comcat.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -29,8 +29,6 @@
#ifdef __cplusplus
class _com_error;
void WINAPI _com_raise_error(HRESULT hr,IErrorInfo *perrinfo = 0);
void WINAPI _set_com_error_handler(void (WINAPI *pHandler)(HRESULT hr,IErrorInfo *perrinfo));
void WINAPI _com_issue_errorex(HRESULT,IUnknown*,REFIID);
HRESULT WINAPI _com_dispatch_propget(IDispatch*,DISPID,VARTYPE,void*);
HRESULT __cdecl _com_dispatch_propput(IDispatch*,DISPID,VARTYPE,...);
@ -165,15 +163,25 @@ inline void _com_error::Ctor(const _com_error &that) throw() {
if(m_perrinfo!=NULL) m_perrinfo->AddRef();
}
inline void _com_issue_error(HRESULT hr) {
inline void WINAPI _com_raise_error(HRESULT hr, IErrorInfo *perrinfo = 0) {
#if __EXCEPTIONS
throw _com_error(hr);
throw _com_error(hr, perrinfo);
#else
/* This is designed to use exceptions. If exceptions are disabled, there is not much we can do here. */
__debugbreak();
#endif
}
__MINGW_SELECTANY void (WINAPI *__mingw_com_error_handler)(HRESULT hr,IErrorInfo *perrinfo) = _com_raise_error;
inline void WINAPI _set_com_error_handler(void (WINAPI *pHandler)(HRESULT hr,IErrorInfo *perrinfo)) {
__mingw_com_error_handler = pHandler;
}
inline void WINAPI _com_issue_error(HRESULT hr) {
__mingw_com_error_handler(hr, NULL);
}
typedef int __missing_type__;

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/commoncontrols.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/commoncontrols.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -0,0 +1,82 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _HYPERV_COMPUTECORE_H_
#define _HYPERV_COMPUTECORE_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#include <computedefs.h>
#ifdef __cplusplus
extern "C" {
#endif
HRESULT WINAPI HcsEnumerateComputeSystems (PCWSTR query, HCS_OPERATION operation);
HRESULT WINAPI HcsEnumerateComputeSystemsInNamespace (PCWSTR idNamespace, PCWSTR query, HCS_OPERATION operation);
HCS_OPERATION WINAPI HcsCreateOperation (const void *context, HCS_OPERATION_COMPLETION callback);
void WINAPI HcsCloseOperation (HCS_OPERATION operation);
void* WINAPI HcsGetOperationContext (HCS_OPERATION operation);
HRESULT WINAPI HcsSetOperationContext (HCS_OPERATION operation, const void *context);
HCS_SYSTEM WINAPI HcsGetComputeSystemFromOperation (HCS_OPERATION operation);
HCS_PROCESS WINAPI HcsGetProcessFromOperation (HCS_OPERATION operation);
HCS_OPERATION_TYPE WINAPI HcsGetOperationType (HCS_OPERATION operation);
UINT64 WINAPI HcsGetOperationId (HCS_OPERATION operation);
HRESULT WINAPI HcsGetOperationResult (HCS_OPERATION operation, PWSTR *resultDocument);
HRESULT WINAPI HcsGetOperationResultAndProcessInfo (HCS_OPERATION operation, HCS_PROCESS_INFORMATION *processInformation, PWSTR *resultDocument);
HRESULT WINAPI HcsGetProcessorCompatibilityFromSavedState (PCWSTR RuntimeFileName, PCWSTR *ProcessorFeaturesString);
HRESULT WINAPI HcsWaitForOperationResult (HCS_OPERATION operation, DWORD timeoutMs, PWSTR *resultDocument);
HRESULT WINAPI HcsWaitForOperationResultAndProcessInfo (HCS_OPERATION operation, DWORD timeoutMs, HCS_PROCESS_INFORMATION *processInformation, PWSTR *resultDocument);
HRESULT WINAPI HcsSetOperationCallback (HCS_OPERATION operation, const void *context, HCS_OPERATION_COMPLETION callback);
HRESULT WINAPI HcsCancelOperation (HCS_OPERATION operation);
HRESULT WINAPI HcsCreateComputeSystem (PCWSTR id, PCWSTR configuration, HCS_OPERATION operation, const SECURITY_DESCRIPTOR *securityDescriptor, HCS_SYSTEM *computeSystem);
HRESULT WINAPI HcsCreateComputeSystemInNamespace (PCWSTR idNamespace, PCWSTR id, PCWSTR configuration, HCS_OPERATION operation, const HCS_CREATE_OPTIONS *options, HCS_SYSTEM *computeSystem);
HRESULT WINAPI HcsOpenComputeSystem (PCWSTR id, DWORD requestedAccess, HCS_SYSTEM *computeSystem);
HRESULT WINAPI HcsOpenComputeSystemInNamespace (PCWSTR idNamespace, PCWSTR id, DWORD requestedAccess, HCS_SYSTEM *computeSystem);
void WINAPI HcsCloseComputeSystem (HCS_SYSTEM computeSystem);
HRESULT WINAPI HcsStartComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsShutDownComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsTerminateComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsCrashComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsPauseComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsResumeComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsSaveComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsGetComputeSystemProperties (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR propertyQuery);
HRESULT WINAPI HcsModifyComputeSystem (HCS_SYSTEM computeSystem, HCS_OPERATION operation, PCWSTR configuration, HANDLE identity);
HRESULT WINAPI HcsWaitForComputeSystemExit (HCS_SYSTEM computeSystem, DWORD timeoutMs, PWSTR *result);
HRESULT WINAPI HcsSetComputeSystemCallback (HCS_SYSTEM computeSystem, HCS_EVENT_OPTIONS callbackOptions, const void *context, HCS_EVENT_CALLBACK callback);
HRESULT WINAPI HcsCreateProcess (HCS_SYSTEM computeSystem, PCWSTR processParameters, HCS_OPERATION operation, const SECURITY_DESCRIPTOR *securityDescriptor, HCS_PROCESS *process);
HRESULT WINAPI HcsOpenProcess (HCS_SYSTEM computeSystem, DWORD processId, DWORD requestedAccess, HCS_PROCESS *process);
void WINAPI HcsCloseProcess (HCS_PROCESS process);
HRESULT WINAPI HcsTerminateProcess (HCS_PROCESS process, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsSignalProcess (HCS_PROCESS process, HCS_OPERATION operation, PCWSTR options);
HRESULT WINAPI HcsGetProcessInfo (HCS_PROCESS process, HCS_OPERATION operation);
HRESULT WINAPI HcsGetProcessProperties (HCS_PROCESS process, HCS_OPERATION operation, PCWSTR propertyQuery);
HRESULT WINAPI HcsModifyProcess (HCS_PROCESS process, HCS_OPERATION operation, PCWSTR settings);
HRESULT WINAPI HcsSetProcessCallback (HCS_PROCESS process, HCS_EVENT_OPTIONS callbackOptions, void *context, HCS_EVENT_CALLBACK callback);
HRESULT WINAPI HcsWaitForProcessExit (HCS_PROCESS computeSystem, DWORD timeoutMs, PWSTR *result);
HRESULT WINAPI HcsGetServiceProperties (PCWSTR propertyQuery, PWSTR *result);
HRESULT WINAPI HcsModifyServiceSettings (PCWSTR settings, PWSTR *result);
HRESULT WINAPI HcsSubmitWerReport (PCWSTR settings);
HRESULT WINAPI HcsCreateEmptyGuestStateFile (PCWSTR guestStateFilePath);
HRESULT WINAPI HcsCreateEmptyRuntimeStateFile (PCWSTR runtimeStateFilePath);
HRESULT WINAPI HcsGrantVmAccess (PCWSTR vmId, PCWSTR filePath);
HRESULT WINAPI HcsRevokeVmAccess (PCWSTR vmId, PCWSTR filePath);
HRESULT WINAPI HcsGrantVmGroupAccess (PCWSTR filePath);
HRESULT WINAPI HcsRevokeVmGroupAccess (PCWSTR filePath);
#ifdef __cplusplus
}
#endif
#endif /* WINAPI_PARTITION_DESKTOP */
#endif /* _HYPERV_COMPUTECORE_H_ */

View File

@ -0,0 +1,119 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _HYPERV_COMPUTEDEFS_H_
#define _HYPERV_COMPUTEDEFS_H_
DECLARE_HANDLE(HCS_SYSTEM);
DECLARE_HANDLE(HCS_PROCESS);
DECLARE_HANDLE(HCS_OPERATION);
DECLARE_HANDLE(HCS_CALLBACK);
typedef enum HCS_OPERATION_TYPE {
HcsOperationTypeNone = -1,
HcsOperationTypeEnumerate = 0,
HcsOperationTypeCreate = 1,
HcsOperationTypeStart = 2,
HcsOperationTypeShutdown = 3,
HcsOperationTypePause = 4,
HcsOperationTypeResume = 5,
HcsOperationTypeSave = 6,
HcsOperationTypeTerminate = 7,
HcsOperationTypeModify = 8,
HcsOperationTypeGetProperties = 9,
HcsOperationTypeCreateProcess = 10,
HcsOperationTypeSignalProcess = 11,
HcsOperationTypeGetProcessInfo = 12,
HcsOperationTypeGetProcessProperties = 13,
HcsOperationTypeModifyProcess = 14,
HcsOperationTypeCrash = 15
} HCS_OPERATION_TYPE;
#define HCS_INVALID_OPERATION_ID (UINT64)(-1)
typedef void (CALLBACK *HCS_OPERATION_COMPLETION)(HCS_OPERATION operation, void *context);
typedef enum HCS_EVENT_TYPE {
HcsEventInvalid = 0x00000000,
HcsEventSystemExited = 0x00000001,
HcsEventSystemCrashInitiated = 0x00000002,
HcsEventSystemCrashReport = 0x00000003,
HcsEventSystemRdpEnhancedModeStateChanged = 0x00000004,
HcsEventSystemSiloJobCreated = 0x00000005,
HcsEventSystemGuestConnectionClosed = 0x00000006,
HcsEventProcessExited = 0x00010000,
HcsEventOperationCallback = 0x01000000,
HcsEventServiceDisconnect = 0x02000000
} HCS_EVENT_TYPE;
typedef struct HCS_EVENT {
HCS_EVENT_TYPE Type;
PCWSTR EventData;
HCS_OPERATION Operation;
} HCS_EVENT;
typedef enum HCS_EVENT_OPTIONS {
HcsEventOptionNone = 0x00000000,
HcsEventOptionEnableOperationCallbacks = 0x00000001
} HCS_EVENT_OPTIONS;
DEFINE_ENUM_FLAG_OPERATORS(HCS_EVENT_OPTIONS);
typedef void (CALLBACK *HCS_EVENT_CALLBACK)(HCS_EVENT *event, void *context);
typedef enum HCS_NOTIFICATION_FLAGS {
HcsNotificationFlagSuccess = 0x00000000,
HcsNotificationFlagFailure = 0x80000000
} HCS_NOTIFICATION_FLAGS;
typedef enum HCS_NOTIFICATIONS {
HcsNotificationInvalid = 0x00000000,
HcsNotificationSystemExited = 0x00000001,
HcsNotificationSystemCreateCompleted = 0x00000002,
HcsNotificationSystemStartCompleted = 0x00000003,
HcsNotificationSystemPauseCompleted = 0x00000004,
HcsNotificationSystemResumeCompleted = 0x00000005,
HcsNotificationSystemCrashReport = 0x00000006,
HcsNotificationSystemSiloJobCreated = 0x00000007,
HcsNotificationSystemSaveCompleted = 0x00000008,
HcsNotificationSystemRdpEnhancedModeStateChanged = 0x00000009,
HcsNotificationSystemShutdownFailed = 0x0000000A,
HcsNotificationSystemShutdownCompleted = 0x0000000A,
HcsNotificationSystemGetPropertiesCompleted = 0x0000000B,
HcsNotificationSystemModifyCompleted = 0x0000000C,
HcsNotificationSystemCrashInitiated = 0x0000000D,
HcsNotificationSystemGuestConnectionClosed = 0x0000000E,
HcsNotificationSystemOperationCompletion = 0x0000000F,
HcsNotificationSystemPassThru = 0x00000010,
HcsNotificationProcessExited = 0x00010000,
HcsNotificationServiceDisconnect = 0x01000000,
HcsNotificationFlagsReserved = 0xF0000000
} HCS_NOTIFICATIONS;
typedef void (CALLBACK *HCS_NOTIFICATION_CALLBACK)(DWORD notificationType, void *context, HRESULT notificationStatus, PCWSTR notificationData);
typedef struct {
DWORD ProcessId;
DWORD Reserved;
HANDLE StdInput;
HANDLE StdOutput;
HANDLE StdError;
} HCS_PROCESS_INFORMATION;
typedef enum HCS_CREATE_OPTIONS {
HcsCreateOptions_1 = 0x00010000
}HCS_CREATE_OPTIONS;
typedef struct {
HCS_CREATE_OPTIONS Version;
HANDLE UserToken;
SECURITY_DESCRIPTOR* SecurityDescriptor;
HCS_EVENT_OPTIONS CallbackOptions;
void* CallbackContext;
HCS_EVENT_CALLBACK Callback;
} HCS_CREATE_OPTIONS_1;
#endif /* _HYPERV_COMPUTEDEFS_H_ */

View File

@ -0,0 +1,142 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef HCN_CLIENT_H
#define HCN_CLIENT_H
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus
extern "C" {
#endif
typedef enum HCN_NOTIFICATIONS {
HcnNotificationInvalid = 0x00000000,
HcnNotificationNetworkPreCreate = 0x00000001,
HcnNotificationNetworkCreate = 0x00000002,
HcnNotificationNetworkPreDelete = 0x00000003,
HcnNotificationNetworkDelete = 0x00000004,
HcnNotificationNamespaceCreate = 0x00000005,
HcnNotificationNamespaceDelete = 0x00000006,
HcnNotificationGuestNetworkServiceCreate = 0x00000007,
HcnNotificationGuestNetworkServiceDelete = 0x00000008,
HcnNotificationNetworkEndpointAttached = 0x00000009,
HcnNotificationNetworkEndpointDetached = 0x00000010,
HcnNotificationGuestNetworkServiceStateChanged = 0x00000011,
HcnNotificationGuestNetworkServiceInterfaceStateChanged = 0x00000012,
HcnNotificationServiceDisconnect = 0x01000000,
HcnNotificationFlagsReserved = 0xF0000000
} HCN_NOTIFICATIONS;
typedef void* HCN_CALLBACK;
typedef void (CALLBACK *HCN_NOTIFICATION_CALLBACK)(DWORD NotificationType, void *Context, HRESULT NotificationStatus, PCWSTR NotificationData);
typedef void* HCN_NETWORK;
typedef HCN_NETWORK* PHCN_NETWORK;
HRESULT WINAPI HcnEnumerateNetworks (PCWSTR Query, PWSTR *Networks, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCreateNetwork (REFGUID Id, PCWSTR Settings, PHCN_NETWORK Network, PWSTR *ErrorRecord);
HRESULT WINAPI HcnOpenNetwork (REFGUID Id, PHCN_NETWORK Network, PWSTR *ErrorRecord);
HRESULT WINAPI HcnModifyNetwork (HCN_NETWORK Network, PCWSTR Settings, PWSTR *ErrorRecord);
HRESULT WINAPI HcnQueryNetworkProperties (HCN_NETWORK Network, PCWSTR Query, PWSTR *Properties, PWSTR *ErrorRecord);
HRESULT WINAPI HcnDeleteNetwork (REFGUID Id, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCloseNetwork (HCN_NETWORK Network);
typedef void* HCN_NAMESPACE;
typedef HCN_NAMESPACE* PHCN_NAMESPACE;
HRESULT WINAPI HcnEnumerateNamespaces (PCWSTR Query, PWSTR *Namespaces, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCreateNamespace (REFGUID Id, PCWSTR Settings, PHCN_NAMESPACE Namespace, PWSTR *ErrorRecord);
HRESULT WINAPI HcnOpenNamespace (REFGUID Id, PHCN_NAMESPACE Namespace, PWSTR *ErrorRecord);
HRESULT WINAPI HcnModifyNamespace (HCN_NAMESPACE Namespace, PCWSTR Settings, PWSTR *ErrorRecord);
HRESULT WINAPI HcnQueryNamespaceProperties (HCN_NAMESPACE Namespace, PCWSTR Query, PWSTR *Properties, PWSTR *ErrorRecord);
HRESULT WINAPI HcnDeleteNamespace (REFGUID Id, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCloseNamespace (HCN_NAMESPACE Namespace);
typedef void* HCN_ENDPOINT;
typedef HCN_ENDPOINT* PHCN_ENDPOINT;
HRESULT WINAPI HcnEnumerateEndpoints (PCWSTR Query, PWSTR *Endpoints, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCreateEndpoint (HCN_NETWORK Network, REFGUID Id, PCWSTR Settings, PHCN_ENDPOINT Endpoint, PWSTR *ErrorRecord);
HRESULT WINAPI HcnOpenEndpoint (REFGUID Id, PHCN_ENDPOINT Endpoint, PWSTR *ErrorRecord);
HRESULT WINAPI HcnModifyEndpoint (HCN_ENDPOINT Endpoint, PCWSTR Settings, PWSTR *ErrorRecord);
HRESULT WINAPI HcnQueryEndpointProperties (HCN_ENDPOINT Endpoint, PCWSTR Query, PWSTR *Properties, PWSTR *ErrorRecord);
HRESULT WINAPI HcnDeleteEndpoint (REFGUID Id, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCloseEndpoint (HCN_ENDPOINT Endpoint);
typedef void* HCN_LOADBALANCER;
typedef HCN_LOADBALANCER* PHCN_LOADBALANCER;
HRESULT WINAPI HcnEnumerateLoadBalancers (PCWSTR Query, PWSTR *LoadBalancer, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCreateLoadBalancer (REFGUID Id, PCWSTR Settings, PHCN_LOADBALANCER LoadBalancer, PWSTR *ErrorRecord);
HRESULT WINAPI HcnOpenLoadBalancer (REFGUID Id, PHCN_LOADBALANCER LoadBalancer, PWSTR *ErrorRecord);
HRESULT WINAPI HcnModifyLoadBalancer (HCN_LOADBALANCER LoadBalancer, PCWSTR Settings, PWSTR *ErrorRecord);
HRESULT WINAPI HcnQueryLoadBalancerProperties (HCN_LOADBALANCER LoadBalancer, PCWSTR Query, PWSTR *Properties, PWSTR *ErrorRecord);
HRESULT WINAPI HcnDeleteLoadBalancer (REFGUID Id, PWSTR *ErrorRecord);
HRESULT WINAPI HcnCloseLoadBalancer (HCN_LOADBALANCER LoadBalancer);
typedef void* HCN_SERVICE;
typedef HCN_SERVICE* PHCN_SERVICE;
HRESULT WINAPI HcnRegisterServiceCallback (HCN_NOTIFICATION_CALLBACK Callback, void *Context, HCN_CALLBACK *CallbackHandle);
HRESULT WINAPI HcnUnregisterServiceCallback (HCN_CALLBACK CallbackHandle);
typedef void* HCN_GUESTNETWORKSERVICE;
typedef HCN_GUESTNETWORKSERVICE* PHCN_GUESTNETWORKSERVICE;
HRESULT WINAPI HcnRegisterGuestNetworkServiceCallback (HCN_GUESTNETWORKSERVICE GuestNetworkService, HCN_NOTIFICATION_CALLBACK Callback, void* Context, HCN_CALLBACK* CallbackHandle);
HRESULT WINAPI HcnUnregisterGuestNetworkServiceCallback (HCN_CALLBACK CallbackHandle);
HRESULT WINAPI HcnCreateGuestNetworkService (REFGUID Id, PCWSTR Settings, PHCN_GUESTNETWORKSERVICE GuestNetworkService, PWSTR* ErrorRecord);
HRESULT WINAPI HcnCloseGuestNetworkService (HCN_GUESTNETWORKSERVICE GuestNetworkService);
HRESULT WINAPI HcnModifyGuestNetworkService (HCN_GUESTNETWORKSERVICE GuestNetworkService, PCWSTR Settings, PWSTR* ErrorRecord);
HRESULT WINAPI HcnDeleteGuestNetworkService (REFGUID Id, PWSTR* ErrorRecord);
typedef enum tagHCN_PORT_PROTOCOL {
HCN_PORT_PROTOCOL_TCP = 0x01,
HCN_PORT_PROTOCOL_UDP = 0x02,
HCN_PORT_PROTOCOL_BOTH = 0x03
} HCN_PORT_PROTOCOL;
typedef enum tagHCN_PORT_ACCESS {
HCN_PORT_ACCESS_EXCLUSIVE = 0x01,
HCN_PORT_ACCESS_SHARED = 0x02
} HCN_PORT_ACCESS;
typedef struct tagHCN_PORT_RANGE_RESERVATION {
USHORT startingPort;
USHORT endingPort;
} HCN_PORT_RANGE_RESERVATION;
typedef struct tagHCN_PORT_RANGE_ENTRY {
GUID OwningPartitionId;
GUID TargetPartitionId;
HCN_PORT_PROTOCOL Protocol;
UINT64 Priority;
UINT32 ReservationType;
UINT32 SharingFlags;
UINT32 DeliveryMode;
UINT16 StartingPort;
UINT16 EndingPort;
} HCN_PORT_RANGE_ENTRY, *PHCN_PORT_RANGE_ENTRY;
HRESULT WINAPI HcnReserveGuestNetworkServicePort (HCN_GUESTNETWORKSERVICE GuestNetworkService, HCN_PORT_PROTOCOL Protocol, HCN_PORT_ACCESS Access, USHORT Port, HANDLE* PortReservationHandle);
HRESULT WINAPI HcnReserveGuestNetworkServicePortRange (HCN_GUESTNETWORKSERVICE GuestNetworkService, USHORT PortCount, HCN_PORT_RANGE_RESERVATION* PortRangeReservation, HANDLE* PortReservationHandle);
HRESULT WINAPI HcnReleaseGuestNetworkServicePortReservationHandle (HANDLE PortReservationHandle);
HRESULT WINAPI HcnEnumerateGuestNetworkPortReservations (ULONG* ReturnCount, HCN_PORT_RANGE_ENTRY** PortEntries);
VOID WINAPI HcnFreeGuestNetworkPortReservations (HCN_PORT_RANGE_ENTRY* PortEntries);
#ifdef __cplusplus
}
#endif
#endif /* WINAPI_PARTITION_DESKTOP */
#endif /* HCN_CLIENT_H */

View File

@ -0,0 +1,40 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _HYPERV_COMPUTESTORAGE_H_
#define _HYPERV_COMPUTESTORAGE_H_
#include <apiset.h>
#include <apisetcconv.h>
#include <minwindef.h>
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus
extern "C" {
#endif
HRESULT WINAPI HcsImportLayer (PCWSTR layerPath, PCWSTR sourceFolderPath, PCWSTR layerData);
HRESULT WINAPI HcsExportLayer (PCWSTR layerPath, PCWSTR exportFolderPath, PCWSTR layerData, PCWSTR options);
HRESULT WINAPI HcsExportLegacyWritableLayer (PCWSTR writableLayerMountPath, PCWSTR writableLayerFolderPath, PCWSTR exportFolderPath, PCWSTR layerData);
HRESULT WINAPI HcsDestroyLayer (PCWSTR layerPath);
HRESULT WINAPI HcsSetupBaseOSLayer (PCWSTR layerPath, HANDLE vhdHandle, PCWSTR options);
HRESULT WINAPI HcsInitializeWritableLayer (PCWSTR writableLayerPath, PCWSTR layerData, PCWSTR options);
HRESULT WINAPI HcsInitializeLegacyWritableLayer (PCWSTR writableLayerMountPath, PCWSTR writableLayerFolderPath, PCWSTR layerData, PCWSTR options);
HRESULT WINAPI HcsAttachLayerStorageFilter (PCWSTR layerPath, PCWSTR layerData);
HRESULT WINAPI HcsDetachLayerStorageFilter (PCWSTR layerPath);
HRESULT WINAPI HcsFormatWritableLayerVhd (HANDLE vhdHandle);
HRESULT WINAPI HcsGetLayerVhdMountPath (HANDLE vhdHandle, PWSTR *mountPath);
HRESULT WINAPI HcsSetupBaseOSVolume (PCWSTR layerPath, PCWSTR volumePath, PCWSTR options);
#ifdef __cplusplus
}
#endif
#endif /* WINAPI_PARTITION_DESKTOP */
#endif /* _HYPERV_COMPUTESTORAGE_H_ */

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/control.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/control.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -15,11 +15,6 @@
#pragma pack(push,_CRT_PACKING)
#endif
#if !defined(_UCRT) && ((__MSVCRT_VERSION__ >= 0x1400) || (__MSVCRT_VERSION__ >= 0xE00 && __MSVCRT_VERSION__ < 0x1000))
/* Allow both 0x1400 and 0xE00 to identify UCRT */
#define _UCRT
#endif
#ifdef __ERRCODE_DEFINED_MS
/* #define __ERRCODE_DEFINED_MS */
typedef int errcode;

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/ctfutb.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/ctfutb.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -191,7 +191,7 @@ int __cdecl isblank(int _C);
int __cdecl is_wctype(wint_t _C,wctype_t _Type);
#endif /* _CRT_USE_WINAPI_FAMILY_DESKTOP_APP */
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES)
#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || !defined (NO_OLDNAMES) || defined (__cplusplus)
int __cdecl iswblank(wint_t _C);
#endif
#endif

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d10.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d10.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d10_1.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d10_1.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -35,8 +35,8 @@ typedef enum _D3D10_DEVICE_STATE_TYPES
{
D3D10_DST_SO_BUFFERS = 1,
D3D10_DST_OM_RENDER_TARGETS,
D3D10_DST_DEPTH_STENCIL_STATE,
D3D10_DST_BLEND_STATE,
D3D10_DST_OM_DEPTH_STENCIL_STATE,
D3D10_DST_OM_BLEND_STATE,
D3D10_DST_VS,
D3D10_DST_VS_SAMPLERS,
D3D10_DST_VS_SHADER_RESOURCES,

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d10sdklayers.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d10sdklayers.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11_1.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11_1.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11_2.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11_2.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11_3.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11_3.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11_4.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11_4.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11on12.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11on12.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d11sdklayers.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d11sdklayers.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d12.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d12.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d12sdklayers.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d12sdklayers.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3d12shader.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3d12shader.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/d3dcommon.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/d3dcommon.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
@ -534,19 +534,19 @@ typedef enum D3D_PRIMITIVE {
D3D_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
D3D_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
D3D_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 40,
D3D_PRIMITIVE_20_CONTROL_POINT_PATCH = 27,
D3D_PRIMITIVE_21_CONTROL_POINT_PATCH = 28,
D3D_PRIMITIVE_22_CONTROL_POINT_PATCH = 29,
D3D_PRIMITIVE_23_CONTROL_POINT_PATCH = 30,
D3D_PRIMITIVE_24_CONTROL_POINT_PATCH = 31,
D3D_PRIMITIVE_25_CONTROL_POINT_PATCH = 32,
D3D_PRIMITIVE_26_CONTROL_POINT_PATCH = 33,
D3D_PRIMITIVE_27_CONTROL_POINT_PATCH = 34,
D3D_PRIMITIVE_28_CONTROL_POINT_PATCH = 35,
D3D_PRIMITIVE_29_CONTROL_POINT_PATCH = 36,
D3D_PRIMITIVE_30_CONTROL_POINT_PATCH = 37,
D3D_PRIMITIVE_31_CONTROL_POINT_PATCH = 38,
D3D_PRIMITIVE_32_CONTROL_POINT_PATCH = 39,
D3D10_PRIMITIVE_UNDEFINED = 0,
D3D10_PRIMITIVE_POINT = 1,
D3D10_PRIMITIVE_LINE = 2,
@ -578,19 +578,19 @@ typedef enum D3D_PRIMITIVE {
D3D11_PRIMITIVE_17_CONTROL_POINT_PATCH = 24,
D3D11_PRIMITIVE_18_CONTROL_POINT_PATCH = 25,
D3D11_PRIMITIVE_19_CONTROL_POINT_PATCH = 26,
D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 28,
D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = 29,
D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = 30,
D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = 31,
D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = 32,
D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = 33,
D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = 34,
D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = 35,
D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = 36,
D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = 37,
D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = 38,
D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = 39,
D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = 40
D3D11_PRIMITIVE_20_CONTROL_POINT_PATCH = 27,
D3D11_PRIMITIVE_21_CONTROL_POINT_PATCH = 28,
D3D11_PRIMITIVE_22_CONTROL_POINT_PATCH = 29,
D3D11_PRIMITIVE_23_CONTROL_POINT_PATCH = 30,
D3D11_PRIMITIVE_24_CONTROL_POINT_PATCH = 31,
D3D11_PRIMITIVE_25_CONTROL_POINT_PATCH = 32,
D3D11_PRIMITIVE_26_CONTROL_POINT_PATCH = 33,
D3D11_PRIMITIVE_27_CONTROL_POINT_PATCH = 34,
D3D11_PRIMITIVE_28_CONTROL_POINT_PATCH = 35,
D3D11_PRIMITIVE_29_CONTROL_POINT_PATCH = 36,
D3D11_PRIMITIVE_30_CONTROL_POINT_PATCH = 37,
D3D11_PRIMITIVE_31_CONTROL_POINT_PATCH = 38,
D3D11_PRIMITIVE_32_CONTROL_POINT_PATCH = 39
} D3D_PRIMITIVE;
typedef enum D3D_PRIMITIVE_TOPOLOGY {
D3D_PRIMITIVE_TOPOLOGY_UNDEFINED = 0,

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dbgprop.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dbgprop.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dcommon.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dcommon.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -524,8 +524,82 @@ __CRT_UUID_DECL(IDCompositionVisualDebug,0xfed2b808,0x5eb4,0x43a0,0xae,0xa3,0x35
#endif
#undef INTERFACE
#define INTERFACE IDCompositionFilterEffect
DECLARE_INTERFACE_IID_(IDCompositionFilterEffect, IDCompositionEffect, "30C421D5-8CB2-4E9F-B133-37BE270D4AC2")
{
STDMETHOD(SetInput)(THIS_ UINT index, IUnknown *input, UINT flags) PURE;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDCompositionFilterEffect,0x30c421d5,0x8cb2,0x4e9f,0xb1,0x33,0x37,0xbe,0x27,0x0d,0x4a,0xc2);
#endif
#undef INTERFACE
#define INTERFACE IDCompositionSaturationEffect
DECLARE_INTERFACE_IID_(IDCompositionSaturationEffect, IDCompositionFilterEffect, "A08DEBDA-3258-4FA4-9F16-9174D3FE93B1")
{
#if defined(_MSC_VER) && defined(__cplusplus)
STDMETHOD(SetSaturation)(THIS_ float ratio) PURE;
STDMETHOD(SetSaturation)(THIS_ IDCompositionAnimation* animation) PURE;
#else
STDMETHOD(SetSaturation)(THIS_ IDCompositionAnimation* animation) PURE;
STDMETHOD(SetSaturation)(THIS_ float ratio ) PURE;
#endif
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDCompositionSaturationEffect,0xa08debda,0x3258,0x4fa4,0x9f,0x16,0x91,0x74,0xd3,0xfe,0x93,0xb1);
#endif
#undef INTERFACE
#define INTERFACE IDCompositionGaussianBlurEffect
DECLARE_INTERFACE_IID_(IDCompositionGaussianBlurEffect, IDCompositionFilterEffect, "45D4D0B7-1BD4-454E-8894-2BFA68443033")
{
#if defined(_MSC_VER) && defined(__cplusplus)
STDMETHOD(SetStandardDeviation)(THIS_ float amount) PURE;
STDMETHOD(SetStandardDeviation)(THIS_ IDCompositionAnimation* animation) PURE;
#else
STDMETHOD(SetStandardDeviation)(THIS_ IDCompositionAnimation* animation) PURE;
STDMETHOD(SetStandardDeviation)(THIS_ float amount) PURE;
#endif
STDMETHOD(SetBorderMode)(THIS_ D2D1_BORDER_MODE mode) PURE;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDCompositionGaussianBlurEffect,0x45d4d0b7,0x1bd4,0x454e,0x88,0x94,0x2b,0xfa,0x68,0x44,0x30,0x33);
#endif
/* WARNING: some of the arguments are replaced with void*, only what's used has been kept */
#undef INTERFACE
#define INTERFACE IDCompositionDevice3
DECLARE_INTERFACE_IID_(IDCompositionDevice3, IDCompositionDevice2, "0987CB06-F916-48BF-8D35-CE7641781BD9")
{
STDMETHOD(CreateGaussianBlurEffect)(THIS_ IDCompositionGaussianBlurEffect **gaussianBlurEffect) PURE;
STDMETHOD(CreateBrightnessEffect)(THIS_ /* TODO IDCompositionBrightnessEffect */ void **brightnessEffect) PURE;
STDMETHOD(CreateColorMatrixEffect)(THIS_ /* TODO IDCompositionColorMatrixEffect */ void **colorMatrixEffect) PURE;
STDMETHOD(CreateShadowEffect)(THIS_ /* TODO IDCompositionShadowEffect */ void **shadowEffect) PURE;
STDMETHOD(CreateHueRotationEffect)(THIS_ /* IDCompositionHueRotationEffect */ void **hueRotationEffect) PURE;
STDMETHOD(CreateSaturationEffect)(THIS_ IDCompositionSaturationEffect **saturationEffect) PURE;
STDMETHOD(CreateTurbulenceEffect)(THIS_ /* IDCompositionTurbulenceEffect */ void **turbulenceEffect) PURE;
STDMETHOD(CreateLinearTransferEffect)(THIS_ /* IDCompositionLinearTransferEffect */ void **linearTransferEffect) PURE;
STDMETHOD(CreateTableTransferEffect)(THIS_ /* IDCompositionTableTransferEffect */ void **tableTransferEffect) PURE;
STDMETHOD(CreateCompositeEffect)(THIS_ /* IDCompositionCompositeEffect */ void **compositeEffect) PURE;
STDMETHOD(CreateBlendEffect)(THIS_ /* TODO IDCompositionBlendEffect */ void **blendEffect) PURE;
STDMETHOD(CreateArithmeticCompositeEffect)(THIS_ /* IDCompositionArithmeticCompositeEffect */ void **arithmeticCompositeEffect) PURE;
STDMETHOD(CreateAffineTransform2DEffect)(THIS_ /* IDCompositionAffineTransform2DEffect */ void **affineTransform2dEffect) PURE;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDCompositionDevice3,0x0987cb06,0xf916,0x48bf,0x8d,0x35,0xce,0x76,0x41,0x78,0x1b,0xd9);
#endif
#endif /* WINAPI_PARTITION_DESKTOP */
#if (_WIN32_WINNT >= 0x0A00)
STDAPI DCompositionCreateDevice3(IUnknown *renderingDevice, REFIID iid, void **dcompositionDevice);

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dcompanimation.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dcompanimation.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

1732
lib/libc/include/any-windows-any/ddk/ata.h vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -2726,6 +2726,7 @@ typedef struct _MSV1_0_NTLM3_RESPONSE {
UCHAR Buffer[1];
} MSV1_0_NTLM3_RESPONSE, *PMSV1_0_NTLM3_RESPONSE;
/* MsvAvSingleHost present in MS-NLMP specifications but not in WinSDK */
typedef enum _MSV1_0_AVID {
MsvAvEOL,
MsvAvNbComputerName,
@ -2738,6 +2739,7 @@ typedef enum _MSV1_0_AVID {
#if (_WIN32_WINNT >= 0x0600)
MsvAvTimestamp,
MsvAvRestrictions,
MsvAvSingleHost = MsvAvRestrictions,
MsvAvTargetName,
MsvAvChannelBindings,
#endif

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/ddstream.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/ddstream.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/devicetopology.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/devicetopology.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dimm.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dimm.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -387,7 +387,7 @@ typedef struct DIDEVICEOBJECTINSTANCEA {
WORD wUsage;
DWORD dwDimension;
WORD wExponent;
WORD wReserved;
WORD wReportId;
#endif /* DIRECTINPUT_VERSION >= 0x0500 */
} DIDEVICEOBJECTINSTANCEA, *LPDIDEVICEOBJECTINSTANCEA;
typedef const DIDEVICEOBJECTINSTANCEA *LPCDIDEVICEOBJECTINSTANCEA;
@ -408,7 +408,7 @@ typedef struct DIDEVICEOBJECTINSTANCEW {
WORD wUsage;
DWORD dwDimension;
WORD wExponent;
WORD wReserved;
WORD wReportId;
#endif /* DIRECTINPUT_VERSION >= 0x0500 */
} DIDEVICEOBJECTINSTANCEW, *LPDIDEVICEOBJECTINSTANCEW;
typedef const DIDEVICEOBJECTINSTANCEW *LPCDIDEVICEOBJECTINSTANCEW;

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dinputd.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dinputd.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/directmanipulation.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/directmanipulation.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dispex.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dispex.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dmodshow.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dmodshow.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/docobj.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/docobj.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/docobjectservice.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/docobjectservice.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/documenttarget.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/documenttarget.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/downloadmgr.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/downloadmgr.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/drmexternals.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/drmexternals.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -83,13 +83,21 @@ typedef struct IDirectSoundBuffer8 *LPDIRECTSOUNDBUFFER8,**LPLPDIRECTSOUNDBUFFER
DEFINE_GUID(IID_IDirectSoundNotify, 0xB0210783,0x89cd,0x11d0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16);
typedef struct IDirectSoundNotify *LPDIRECTSOUNDNOTIFY,**LPLPDIRECTSOUNDNOTIFY;
#define IDirectSoundNotify8 IDirectSoundNotify
typedef struct IDirectSoundNotify8 *LPDIRECTSOUNDNOTIFY8;
#define IID_IDirectSoundNotify8 IID_IDirectSoundNotify
DEFINE_GUID(IID_IDirectSound3DListener, 0x279AFA84,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
typedef struct IDirectSound3DListener *LPDIRECTSOUND3DLISTENER,**LPLPDIRECTSOUND3DLISTENER;
#define IDirectSound3DListener8 IDirectSound3DListener
typedef struct IDirectSound3DListener8 *LPDIRECTSOUND3DLISTENER8;
#define IID_IDirectSound3DListener8 IID_IDirectSound3DListener
DEFINE_GUID(IID_IDirectSound3DBuffer, 0x279AFA86,0x4981,0x11CE,0xA5,0x21,0x00,0x20,0xAF,0x0B,0xE5,0x60);
typedef struct IDirectSound3DBuffer *LPDIRECTSOUND3DBUFFER,**LPLPDIRECTSOUND3DBUFFER;
#define IDirectSound3DBuffer8 IDirectSound3DBuffer
typedef struct IDirectSound3DBuffer8 *LPDIRECTSOUND3DBUFFER8;
#define IID_IDirectSound3DBuffer8 IID_IDirectSound3DBuffer
DEFINE_GUID(IID_IDirectSoundCapture, 0xB0210781,0x89CD,0x11D0,0xAF,0x08,0x00,0xA0,0xC9,0x25,0xCD,0x16);
typedef struct IDirectSoundCapture *LPDIRECTSOUNDCAPTURE,**LPLPDIRECTSOUNDCAPTURE;
@ -104,6 +112,8 @@ typedef struct IDirectSoundCaptureBuffer8 *LPDIRECTSOUNDCAPTUREBUFFER8,**LPLPDIR
DEFINE_GUID(IID_IDirectSoundFullDuplex, 0xEDCB4C7A,0xDAAB,0x4216,0xA4,0x2E,0x6C,0x50,0x59,0x6D,0xDC,0x1D);
typedef struct IDirectSoundFullDuplex *LPDIRECTSOUNDFULLDUPLEX,**LPLPDIRECTSOUNDFULLDUPLEX;
#define IDirectSoundFullDuplex8 IDirectSoundFullDuplex
typedef struct IDirectSoundFullDuplex8 *LPDIRECTSOUNDFULLDUPLEX8;
#define IID_IDirectSoundFullDuplex8 IID_IDirectSoundFullDuplex
DEFINE_GUID(IID_IDirectSoundFXI3DL2Reverb, 0x4b166a6a, 0x0d66, 0x43f3, 0x80, 0xe3, 0xee, 0x62, 0x80, 0xde, 0xe1, 0xa4);
@ -1153,7 +1163,6 @@ DECLARE_INTERFACE_(IDirectSound3DListener,IUnknown)
#define IDirectSound3DListener_SetVelocity(p,a,b,c,d) (p)->SetVelocity(a,b,c,d)
#define IDirectSound3DListener_CommitDeferredSettings(p) (p)->CommitDeferredSettings()
#endif
#define IDirectSound3DListener8 IDirectSound3DListener
/*****************************************************************************
* IDirectSound3DBuffer interface
@ -1251,7 +1260,6 @@ DECLARE_INTERFACE_(IDirectSound3DBuffer,IUnknown)
#define IDirectSound3DBuffer_SetPosition(p,a,b,c,d) (p)->SetPosition(a,b,c,d)
#define IDirectSound3DBuffer_SetVelocity(p,a,b,c,d) (p)->SetVelocity(a,b,c,d)
#endif
#define IDirectSound3DBuffer8 IDirectSound3DBuffer
/*****************************************************************************
* IKsPropertySet interface

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dvdif.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dvdif.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dwrite.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dwrite.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dwrite_1.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dwrite_1.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dwrite_2.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dwrite_2.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dwrite_3.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dwrite_3.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
@ -9311,16 +9311,21 @@ static FORCEINLINE WINBOOL IDWriteFontFace5_Equals(IDWriteFontFace5* This,IDWrit
#endif /* __IDWriteFontFace5_INTERFACE_DEFINED__ */
typedef struct DWRITE_COLOR_GLYPH_RUN1 {
typedef struct DWRITE_COLOR_GLYPH_RUN1 DWRITE_COLOR_GLYPH_RUN1;
struct DWRITE_COLOR_GLYPH_RUN1
{
DWRITE_GLYPH_RUN glyphRun;
DWRITE_GLYPH_RUN_DESCRIPTION *glyphRunDescription;
FLOAT baselineOriginX;
FLOAT baselineOriginY;
DWRITE_COLOR_F runColor;
UINT16 paletteIndex;
#ifdef _WIN64
UINT32 _pad;
#endif
DWRITE_GLYPH_IMAGE_FORMATS glyphImageFormat;
DWRITE_MEASURING_MODE measuringMode;
} DWRITE_COLOR_GLYPH_RUN1;
};
/*****************************************************************************
* IDWriteColorGlyphRunEnumerator1 interface
*/

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgi.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgi.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgi1_2.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgi1_2.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgi1_3.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgi1_3.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgi1_4.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgi1_4.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgi1_5.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgi1_5.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgi1_6.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgi1_6.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgicommon.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgicommon.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgidebug.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgidebug.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgiformat.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgiformat.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxgitype.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxgitype.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -563,6 +563,275 @@ typedef struct _DXVA_Status_VPx
USHORT wNumMbsAffected;
} DXVA_Status_VPx, *LPDXVA_Status_VPx;
#define _DIRECTX_AV1_VA_
/* AV1 decoder GUIDs */
DEFINE_GUID(DXVA_ModeAV1_VLD_Profile0, 0xb8be4ccb, 0xcf53, 0x46ba, 0x8d, 0x59, 0xd6, 0xb8, 0xa6, 0xda, 0x5d, 0x2a);
DEFINE_GUID(DXVA_ModeAV1_VLD_Profile1, 0x6936ff0f, 0x45b1, 0x4163, 0x9c, 0xc1, 0x64, 0x6e, 0xf6, 0x94, 0x61, 0x08);
DEFINE_GUID(DXVA_ModeAV1_VLD_Profile2, 0x0c5f2aa1, 0xe541, 0x4089, 0xbb, 0x7b, 0x98, 0x11, 0x0a, 0x19, 0xd7, 0xc8);
DEFINE_GUID(DXVA_ModeAV1_VLD_12bit_Profile2, 0x17127009, 0xa00f, 0x4ce1, 0x99, 0x4e, 0xbf, 0x40, 0x81, 0xf6, 0xf3, 0xf0);
DEFINE_GUID(DXVA_ModeAV1_VLD_12bit_Profile2_420, 0x2d80bed6, 0x9cac, 0x4835, 0x9e, 0x91, 0x32, 0x7b, 0xbc, 0x4f, 0x9e, 0xe8);
/* AV1 picture entry data structure */
typedef struct _DXVA_PicEntry_AV1 {
UINT width;
UINT height;
INT wmmat[6];
__C89_NAMELESS union {
__C89_NAMELESS struct {
UCHAR wminvalid : 1;
UCHAR wmtype : 2;
UCHAR Reserved : 5;
} __C89_NAMELESSSTRUCTNAME;
UCHAR GlobalMotionFlags;
} __C89_NAMELESSUNIONNAME;
UCHAR Index;
UINT16 Reserved16Bits;
} DXVA_PicEntry_AV1, *LPDXVA_PicEntry_AV1;
/* AV1 picture parameters data structure */
typedef struct _DXVA_PicParams_AV1 {
UINT width;
UINT height;
UINT max_width;
UINT max_height;
UCHAR CurrPicTextureIndex;
UCHAR superres_denom;
UCHAR bitdepth;
UCHAR seq_profile;
struct {
UCHAR cols;
UCHAR rows;
USHORT context_update_id;
USHORT widths[64];
USHORT heights[64];
} tiles;
union {
__C89_NAMELESS struct {
UINT use_128x128_superblock : 1;
UINT intra_edge_filter : 1;
UINT interintra_compound : 1;
UINT masked_compound : 1;
UINT warped_motion : 1;
UINT dual_filter : 1;
UINT jnt_comp : 1;
UINT screen_content_tools : 1;
UINT integer_mv : 1;
UINT cdef : 1;
UINT restoration : 1;
UINT film_grain : 1;
UINT intrabc : 1;
UINT high_precision_mv : 1;
UINT switchable_motion_mode : 1;
UINT filter_intra : 1;
UINT disable_frame_end_update_cdf : 1;
UINT disable_cdf_update : 1;
UINT reference_mode : 1;
UINT skip_mode : 1;
UINT reduced_tx_set : 1;
UINT superres : 1;
UINT tx_mode : 2;
UINT use_ref_frame_mvs : 1;
UINT enable_ref_frame_mvs : 1;
UINT reference_frame_update : 1;
UINT Reserved : 5;
} __C89_NAMELESSSTRUCTNAME;
UINT32 CodingParamToolFlags;
} coding;
union {
__C89_NAMELESS struct {
UCHAR frame_type : 2;
UCHAR show_frame : 1;
UCHAR showable_frame : 1;
UCHAR subsampling_x : 1;
UCHAR subsampling_y : 1;
UCHAR mono_chrome : 1;
UCHAR Reserved : 1;
} __C89_NAMELESSSTRUCTNAME;
UCHAR FormatAndPictureInfoFlags;
} format;
UCHAR primary_ref_frame;
UCHAR order_hint;
UCHAR order_hint_bits;
DXVA_PicEntry_AV1 frame_refs[7];
UCHAR RefFrameMapTextureIndex[8];
struct {
UCHAR filter_level[2];
UCHAR filter_level_u;
UCHAR filter_level_v;
UCHAR sharpness_level;
__C89_NAMELESS union {
__C89_NAMELESS struct {
UCHAR mode_ref_delta_enabled : 1;
UCHAR mode_ref_delta_update : 1;
UCHAR delta_lf_multi : 1;
UCHAR delta_lf_present : 1;
UCHAR Reserved : 4;
} __C89_NAMELESSSTRUCTNAME;
UCHAR ControlFlags;
} __C89_NAMELESSUNIONNAME;
CHAR ref_deltas[8];
CHAR mode_deltas[2];
UCHAR delta_lf_res;
UCHAR frame_restoration_type[3];
USHORT log2_restoration_unit_size[3];
UINT16 Reserved16Bits;
} loop_filter;
struct {
__C89_NAMELESS union {
__C89_NAMELESS struct {
UCHAR delta_q_present : 1;
UCHAR delta_q_res : 2;
UCHAR Reserved : 5;
} __C89_NAMELESSSTRUCTNAME;
UCHAR ControlFlags;
} __C89_NAMELESSUNIONNAME;
UCHAR base_qindex;
CHAR y_dc_delta_q;
CHAR u_dc_delta_q;
CHAR v_dc_delta_q;
CHAR u_ac_delta_q;
CHAR v_ac_delta_q;
UCHAR qm_y;
UCHAR qm_u;
UCHAR qm_v;
UINT16 Reserved16Bits;
} quantization;
struct {
__C89_NAMELESS union {
__C89_NAMELESS struct {
UCHAR damping : 2;
UCHAR bits : 2;
UCHAR Reserved : 4;
} __C89_NAMELESSSTRUCTNAME;
UCHAR ControlFlags;
} __C89_NAMELESSUNIONNAME;
union {
__C89_NAMELESS struct {
UCHAR primary : 6;
UCHAR secondary : 2;
} __C89_NAMELESSSTRUCTNAME;
UCHAR combined;
} y_strengths[8];
union {
__C89_NAMELESS struct {
UCHAR primary : 6;
UCHAR secondary : 2;
} __C89_NAMELESSSTRUCTNAME;
UCHAR combined;
} uv_strengths[8];
} cdef;
UCHAR interp_filter;
struct {
__C89_NAMELESS union {
__C89_NAMELESS struct {
UCHAR enabled : 1;
UCHAR update_map : 1;
UCHAR update_data : 1;
UCHAR temporal_update : 1;
UCHAR Reserved : 4;
} __C89_NAMELESSSTRUCTNAME;
UCHAR ControlFlags;
} __C89_NAMELESSUNIONNAME;
UCHAR Reserved24Bits[3];
union {
__C89_NAMELESS struct {
UCHAR alt_q : 1;
UCHAR alt_lf_y_v : 1;
UCHAR alt_lf_y_h : 1;
UCHAR alt_lf_u : 1;
UCHAR alt_lf_v : 1;
UCHAR ref_frame : 1;
UCHAR skip : 1;
UCHAR globalmv : 1;
} __C89_NAMELESSSTRUCTNAME;
UCHAR mask;
} feature_mask[8];
SHORT feature_data[8][8];
} segmentation;
struct {
__C89_NAMELESS union {
__C89_NAMELESS struct {
USHORT apply_grain : 1;
USHORT scaling_shift_minus8 : 2;
USHORT chroma_scaling_from_luma : 1;
USHORT ar_coeff_lag : 2;
USHORT ar_coeff_shift_minus6 : 2;
USHORT grain_scale_shift : 2;
USHORT overlap_flag : 1;
USHORT clip_to_restricted_range : 1;
USHORT matrix_coeff_is_identity : 1;
USHORT Reserved : 3;
} __C89_NAMELESSSTRUCTNAME;
USHORT ControlFlags;
} __C89_NAMELESSUNIONNAME;
USHORT grain_seed;
UCHAR scaling_points_y[14][2];
UCHAR num_y_points;
UCHAR scaling_points_cb[10][2];
UCHAR num_cb_points;
UCHAR scaling_points_cr[10][2];
UCHAR num_cr_points;
UCHAR ar_coeffs_y[24];
UCHAR ar_coeffs_cb[25];
UCHAR ar_coeffs_cr[25];
UCHAR cb_mult;
UCHAR cb_luma_mult;
UCHAR cr_mult;
UCHAR cr_luma_mult;
UCHAR Reserved8Bits;
SHORT cb_offset;
SHORT cr_offset;
} film_grain;
UINT Reserved32Bits;
UINT StatusReportFeedbackNumber;
} DXVA_PicParams_AV1, *LPDXVA_PicParams_AV1;
/* AV1 tile data structure */
typedef struct _DXVA_Tile_AV1 {
UINT DataOffset;
UINT DataSize;
USHORT row;
USHORT column;
UINT16 Reserved16Bits;
UCHAR anchor_frame;
UCHAR Reserved8Bits;
} DXVA_Tile_AV1, *LPDXVA_Tile_AV1;
typedef struct _DXVA_Status_AV1 {
UINT StatusReportFeedbackNumber;
DXVA_PicEntry_AV1 CurrPic;
UCHAR BufType;
UCHAR Status;
UCHAR Reserved8Bits;
USHORT NumMbsAffected;
} DXVA_Status_AV1, *LPDXVA_Status_AV1;
#include <poppack.h>
typedef enum _DXVA_VideoChromaSubsampling

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxva2api.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxva2api.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/dxvahd.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/dxvahd.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
@ -405,19 +405,16 @@ typedef struct _DXVAHDSW_CALLBACKS {
HRESULT DXVAHD_CreateDevice(IDirect3DDevice9Ex *pD3DDevice,const DXVAHD_CONTENT_DESC *pContentDesc,DXVAHD_DEVICE_USAGE Usage,PDXVAHDSW_Plugin pPlugin,IDXVAHD_Device **ppDevice);
#ifdef __GNUC__
#warning COM interfaces layout in this header has not been verified.
#warning COM interfaces with incorrect layout may not work at all.
__MINGW_BROKEN_INTERFACE(INTERFACE)
#endif
/*****************************************************************************
* IDXVAHD_Device interface
*/
#ifndef __IDXVAHD_Device_INTERFACE_DEFINED__
#define __IDXVAHD_Device_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDXVAHD_Device, 0x95f12dfd, 0xd77e, 0x49be, 0x81,0x5f, 0x57,0xd5,0x79,0x63,0x4d,0x6d);
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IDXVAHD_Device : public IUnknown
MIDL_INTERFACE("95f12dfd-d77e-49be-815f-57d579634d6d")
IDXVAHD_Device : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateVideoSurface(
UINT Width,
@ -459,6 +456,9 @@ interface IDXVAHD_Device : public IUnknown
IDXVAHD_VideoProcessor **ppVideoProcessor) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDXVAHD_Device, 0x95f12dfd, 0xd77e, 0x49be, 0x81,0x5f, 0x57,0xd5,0x79,0x63,0x4d,0x6d)
#endif
#else
typedef struct IDXVAHD_DeviceVtbl {
BEGIN_INTERFACE
@ -589,19 +589,16 @@ static FORCEINLINE HRESULT IDXVAHD_Device_CreateVideoProcessor(IDXVAHD_Device* T
#endif /* __IDXVAHD_Device_INTERFACE_DEFINED__ */
#ifdef __GNUC__
#warning COM interfaces layout in this header has not been verified.
#warning COM interfaces with incorrect layout may not work at all.
__MINGW_BROKEN_INTERFACE(INTERFACE)
#endif
/*****************************************************************************
* IDXVAHD_VideoProcessor interface
*/
#ifndef __IDXVAHD_VideoProcessor_INTERFACE_DEFINED__
#define __IDXVAHD_VideoProcessor_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDXVAHD_VideoProcessor, 0x95f4edf4, 0x6e03, 0x4cd7, 0xbe,0x1b, 0x30,0x75,0xd6,0x65,0xaa,0x52);
#if defined(__cplusplus) && !defined(CINTERFACE)
interface IDXVAHD_VideoProcessor : public IUnknown
MIDL_INTERFACE("95f4edf4-6e03-4cd7-be1b-3075d665aa52")
IDXVAHD_VideoProcessor : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetVideoProcessBltState(
DXVAHD_BLT_STATE State,
@ -632,6 +629,9 @@ interface IDXVAHD_VideoProcessor : public IUnknown
const DXVAHD_STREAM_DATA *pStreams) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDXVAHD_VideoProcessor, 0x95f4edf4, 0x6e03, 0x4cd7, 0xbe,0x1b, 0x30,0x75,0xd6,0x65,0xaa,0x52)
#endif
#else
typedef struct IDXVAHD_VideoProcessorVtbl {
BEGIN_INTERFACE

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/endpointvolume.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/endpointvolume.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/eventtoken.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/eventtoken.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/evr.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/evr.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,29 +1,404 @@
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_EVR9
#define _INC_EVR9
/*** Autogenerated by WIDL 7.0 from include/evr9.idl - Do not edit ***/
#if (_WIN32_WINNT >= 0x0600)
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#endif
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __evr9_h__
#define __evr9_h__
/* Forward declarations */
#ifndef __IMFVideoMixerBitmap_FWD_DEFINED__
#define __IMFVideoMixerBitmap_FWD_DEFINED__
typedef interface IMFVideoMixerBitmap IMFVideoMixerBitmap;
#ifdef __cplusplus
interface IMFVideoMixerBitmap;
#endif /* __cplusplus */
#endif
#ifndef __IMFVideoProcessor_FWD_DEFINED__
#define __IMFVideoProcessor_FWD_DEFINED__
typedef interface IMFVideoProcessor IMFVideoProcessor;
#ifdef __cplusplus
interface IMFVideoProcessor;
#endif /* __cplusplus */
#endif
/* Headers for imported files */
#include <unknwn.h>
#include <evr.h>
#include <dxva2api.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef enum _evr9_tag_MFVideoAlphaBitmapFlags {
MFVideoAlphaBitmap_EntireDDS = 0x00000001,
MFVideoAlphaBitmap_SrcColorKey = 0x00000002,
MFVideoAlphaBitmap_SrcRect = 0x00000004,
MFVideoAlphaBitmap_DestRect = 0x00000008,
MFVideoAlphaBitmap_FilterMode = 0x00000010,
MFVideoAlphaBitmap_Alpha = 0x00000020,
MFVideoAlphaBitmap_BitMask = 0x0000003f
typedef struct MFVideoAlphaBitmapParams {
DWORD dwFlags;
COLORREF clrSrcKey;
RECT rcSrc;
MFVideoNormalizedRect nrcDest;
FLOAT fAlpha;
DWORD dwFilterMode;
} MFVideoAlphaBitmapParams;
typedef struct MFVideoAlphaBitmap {
WINBOOL GetBitmapFromDC;
union {
HDC hdc;
IDirect3DSurface9 *pDDS;
} bitmap;
MFVideoAlphaBitmapParams params;
} MFVideoAlphaBitmap;
typedef enum __WIDL_evr9_generated_name_00000030 {
MFVideoAlphaBitmap_EntireDDS = 0x1,
MFVideoAlphaBitmap_SrcColorKey = 0x2,
MFVideoAlphaBitmap_SrcRect = 0x4,
MFVideoAlphaBitmap_DestRect = 0x8,
MFVideoAlphaBitmap_FilterMode = 0x10,
MFVideoAlphaBitmap_Alpha = 0x20,
MFVideoAlphaBitmap_BitMask = 0x3f
} MFVideoAlphaBitmapFlags;
/*****************************************************************************
* IMFVideoMixerBitmap interface
*/
#ifndef __IMFVideoMixerBitmap_INTERFACE_DEFINED__
#define __IMFVideoMixerBitmap_INTERFACE_DEFINED__
DEFINE_GUID(IID_IMFVideoMixerBitmap, 0x814c7b20, 0x0fdb, 0x4eec, 0xaf,0x8f, 0xf9,0x57,0xc8,0xf6,0x9e,0xdc);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("814c7b20-0fdb-4eec-af8f-f957c8f69edc")
IMFVideoMixerBitmap : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE SetAlphaBitmap(
const MFVideoAlphaBitmap *bitmap) = 0;
virtual HRESULT STDMETHODCALLTYPE ClearAlphaBitmap(
) = 0;
virtual HRESULT STDMETHODCALLTYPE UpdateAlphaBitmapParameters(
const MFVideoAlphaBitmapParams *params) = 0;
virtual HRESULT STDMETHODCALLTYPE GetAlphaBitmapParameters(
MFVideoAlphaBitmapParams *params) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IMFVideoMixerBitmap, 0x814c7b20, 0x0fdb, 0x4eec, 0xaf,0x8f, 0xf9,0x57,0xc8,0xf6,0x9e,0xdc)
#endif
#else
typedef struct IMFVideoMixerBitmapVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IMFVideoMixerBitmap *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IMFVideoMixerBitmap *This);
ULONG (STDMETHODCALLTYPE *Release)(
IMFVideoMixerBitmap *This);
/*** IMFVideoMixerBitmap methods ***/
HRESULT (STDMETHODCALLTYPE *SetAlphaBitmap)(
IMFVideoMixerBitmap *This,
const MFVideoAlphaBitmap *bitmap);
HRESULT (STDMETHODCALLTYPE *ClearAlphaBitmap)(
IMFVideoMixerBitmap *This);
HRESULT (STDMETHODCALLTYPE *UpdateAlphaBitmapParameters)(
IMFVideoMixerBitmap *This,
const MFVideoAlphaBitmapParams *params);
HRESULT (STDMETHODCALLTYPE *GetAlphaBitmapParameters)(
IMFVideoMixerBitmap *This,
MFVideoAlphaBitmapParams *params);
END_INTERFACE
} IMFVideoMixerBitmapVtbl;
interface IMFVideoMixerBitmap {
CONST_VTBL IMFVideoMixerBitmapVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IMFVideoMixerBitmap_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IMFVideoMixerBitmap_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IMFVideoMixerBitmap_Release(This) (This)->lpVtbl->Release(This)
/*** IMFVideoMixerBitmap methods ***/
#define IMFVideoMixerBitmap_SetAlphaBitmap(This,bitmap) (This)->lpVtbl->SetAlphaBitmap(This,bitmap)
#define IMFVideoMixerBitmap_ClearAlphaBitmap(This) (This)->lpVtbl->ClearAlphaBitmap(This)
#define IMFVideoMixerBitmap_UpdateAlphaBitmapParameters(This,params) (This)->lpVtbl->UpdateAlphaBitmapParameters(This,params)
#define IMFVideoMixerBitmap_GetAlphaBitmapParameters(This,params) (This)->lpVtbl->GetAlphaBitmapParameters(This,params)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IMFVideoMixerBitmap_QueryInterface(IMFVideoMixerBitmap* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IMFVideoMixerBitmap_AddRef(IMFVideoMixerBitmap* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IMFVideoMixerBitmap_Release(IMFVideoMixerBitmap* This) {
return This->lpVtbl->Release(This);
}
/*** IMFVideoMixerBitmap methods ***/
static FORCEINLINE HRESULT IMFVideoMixerBitmap_SetAlphaBitmap(IMFVideoMixerBitmap* This,const MFVideoAlphaBitmap *bitmap) {
return This->lpVtbl->SetAlphaBitmap(This,bitmap);
}
static FORCEINLINE HRESULT IMFVideoMixerBitmap_ClearAlphaBitmap(IMFVideoMixerBitmap* This) {
return This->lpVtbl->ClearAlphaBitmap(This);
}
static FORCEINLINE HRESULT IMFVideoMixerBitmap_UpdateAlphaBitmapParameters(IMFVideoMixerBitmap* This,const MFVideoAlphaBitmapParams *params) {
return This->lpVtbl->UpdateAlphaBitmapParameters(This,params);
}
static FORCEINLINE HRESULT IMFVideoMixerBitmap_GetAlphaBitmapParameters(IMFVideoMixerBitmap* This,MFVideoAlphaBitmapParams *params) {
return This->lpVtbl->GetAlphaBitmapParameters(This,params);
}
#endif
#endif
#endif
#endif /* __IMFVideoMixerBitmap_INTERFACE_DEFINED__ */
/*****************************************************************************
* IMFVideoProcessor interface
*/
#ifndef __IMFVideoProcessor_INTERFACE_DEFINED__
#define __IMFVideoProcessor_INTERFACE_DEFINED__
DEFINE_GUID(IID_IMFVideoProcessor, 0x6ab0000c, 0xfece, 0x4d1f, 0xa2,0xac, 0xa9,0x57,0x35,0x30,0x65,0x6e);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("6ab0000c-fece-4d1f-a2ac-a9573530656e")
IMFVideoProcessor : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE GetAvailableVideoProcessorModes(
UINT *count,
GUID **modes) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorCaps(
GUID *mode,
DXVA2_VideoProcessorCaps *caps) = 0;
virtual HRESULT STDMETHODCALLTYPE GetVideoProcessorMode(
GUID *mode) = 0;
virtual HRESULT STDMETHODCALLTYPE SetVideoProcessorMode(
GUID *mode) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProcAmpRange(
DWORD prop,
DXVA2_ValueRange *range) = 0;
virtual HRESULT STDMETHODCALLTYPE GetProcAmpValues(
DWORD flags,
DXVA2_ProcAmpValues *values) = 0;
virtual HRESULT STDMETHODCALLTYPE SetProcAmpValues(
DWORD flags,
DXVA2_ProcAmpValues *values) = 0;
virtual HRESULT STDMETHODCALLTYPE GetFilteringRange(
DWORD prop,
DXVA2_ValueRange *range) = 0;
virtual HRESULT STDMETHODCALLTYPE GetFilteringValue(
DWORD prop,
DXVA2_Fixed32 *value) = 0;
virtual HRESULT STDMETHODCALLTYPE SetFilteringValue(
DWORD prop,
DXVA2_Fixed32 *value) = 0;
virtual HRESULT STDMETHODCALLTYPE GetBackgroundColor(
COLORREF *color) = 0;
virtual HRESULT STDMETHODCALLTYPE SetBackgroundColor(
COLORREF color) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IMFVideoProcessor, 0x6ab0000c, 0xfece, 0x4d1f, 0xa2,0xac, 0xa9,0x57,0x35,0x30,0x65,0x6e)
#endif
#else
typedef struct IMFVideoProcessorVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IMFVideoProcessor *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IMFVideoProcessor *This);
ULONG (STDMETHODCALLTYPE *Release)(
IMFVideoProcessor *This);
/*** IMFVideoProcessor methods ***/
HRESULT (STDMETHODCALLTYPE *GetAvailableVideoProcessorModes)(
IMFVideoProcessor *This,
UINT *count,
GUID **modes);
HRESULT (STDMETHODCALLTYPE *GetVideoProcessorCaps)(
IMFVideoProcessor *This,
GUID *mode,
DXVA2_VideoProcessorCaps *caps);
HRESULT (STDMETHODCALLTYPE *GetVideoProcessorMode)(
IMFVideoProcessor *This,
GUID *mode);
HRESULT (STDMETHODCALLTYPE *SetVideoProcessorMode)(
IMFVideoProcessor *This,
GUID *mode);
HRESULT (STDMETHODCALLTYPE *GetProcAmpRange)(
IMFVideoProcessor *This,
DWORD prop,
DXVA2_ValueRange *range);
HRESULT (STDMETHODCALLTYPE *GetProcAmpValues)(
IMFVideoProcessor *This,
DWORD flags,
DXVA2_ProcAmpValues *values);
HRESULT (STDMETHODCALLTYPE *SetProcAmpValues)(
IMFVideoProcessor *This,
DWORD flags,
DXVA2_ProcAmpValues *values);
HRESULT (STDMETHODCALLTYPE *GetFilteringRange)(
IMFVideoProcessor *This,
DWORD prop,
DXVA2_ValueRange *range);
HRESULT (STDMETHODCALLTYPE *GetFilteringValue)(
IMFVideoProcessor *This,
DWORD prop,
DXVA2_Fixed32 *value);
HRESULT (STDMETHODCALLTYPE *SetFilteringValue)(
IMFVideoProcessor *This,
DWORD prop,
DXVA2_Fixed32 *value);
HRESULT (STDMETHODCALLTYPE *GetBackgroundColor)(
IMFVideoProcessor *This,
COLORREF *color);
HRESULT (STDMETHODCALLTYPE *SetBackgroundColor)(
IMFVideoProcessor *This,
COLORREF color);
END_INTERFACE
} IMFVideoProcessorVtbl;
interface IMFVideoProcessor {
CONST_VTBL IMFVideoProcessorVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IMFVideoProcessor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IMFVideoProcessor_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IMFVideoProcessor_Release(This) (This)->lpVtbl->Release(This)
/*** IMFVideoProcessor methods ***/
#define IMFVideoProcessor_GetAvailableVideoProcessorModes(This,count,modes) (This)->lpVtbl->GetAvailableVideoProcessorModes(This,count,modes)
#define IMFVideoProcessor_GetVideoProcessorCaps(This,mode,caps) (This)->lpVtbl->GetVideoProcessorCaps(This,mode,caps)
#define IMFVideoProcessor_GetVideoProcessorMode(This,mode) (This)->lpVtbl->GetVideoProcessorMode(This,mode)
#define IMFVideoProcessor_SetVideoProcessorMode(This,mode) (This)->lpVtbl->SetVideoProcessorMode(This,mode)
#define IMFVideoProcessor_GetProcAmpRange(This,prop,range) (This)->lpVtbl->GetProcAmpRange(This,prop,range)
#define IMFVideoProcessor_GetProcAmpValues(This,flags,values) (This)->lpVtbl->GetProcAmpValues(This,flags,values)
#define IMFVideoProcessor_SetProcAmpValues(This,flags,values) (This)->lpVtbl->SetProcAmpValues(This,flags,values)
#define IMFVideoProcessor_GetFilteringRange(This,prop,range) (This)->lpVtbl->GetFilteringRange(This,prop,range)
#define IMFVideoProcessor_GetFilteringValue(This,prop,value) (This)->lpVtbl->GetFilteringValue(This,prop,value)
#define IMFVideoProcessor_SetFilteringValue(This,prop,value) (This)->lpVtbl->SetFilteringValue(This,prop,value)
#define IMFVideoProcessor_GetBackgroundColor(This,color) (This)->lpVtbl->GetBackgroundColor(This,color)
#define IMFVideoProcessor_SetBackgroundColor(This,color) (This)->lpVtbl->SetBackgroundColor(This,color)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IMFVideoProcessor_QueryInterface(IMFVideoProcessor* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IMFVideoProcessor_AddRef(IMFVideoProcessor* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IMFVideoProcessor_Release(IMFVideoProcessor* This) {
return This->lpVtbl->Release(This);
}
/*** IMFVideoProcessor methods ***/
static FORCEINLINE HRESULT IMFVideoProcessor_GetAvailableVideoProcessorModes(IMFVideoProcessor* This,UINT *count,GUID **modes) {
return This->lpVtbl->GetAvailableVideoProcessorModes(This,count,modes);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetVideoProcessorCaps(IMFVideoProcessor* This,GUID *mode,DXVA2_VideoProcessorCaps *caps) {
return This->lpVtbl->GetVideoProcessorCaps(This,mode,caps);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetVideoProcessorMode(IMFVideoProcessor* This,GUID *mode) {
return This->lpVtbl->GetVideoProcessorMode(This,mode);
}
static FORCEINLINE HRESULT IMFVideoProcessor_SetVideoProcessorMode(IMFVideoProcessor* This,GUID *mode) {
return This->lpVtbl->SetVideoProcessorMode(This,mode);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetProcAmpRange(IMFVideoProcessor* This,DWORD prop,DXVA2_ValueRange *range) {
return This->lpVtbl->GetProcAmpRange(This,prop,range);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetProcAmpValues(IMFVideoProcessor* This,DWORD flags,DXVA2_ProcAmpValues *values) {
return This->lpVtbl->GetProcAmpValues(This,flags,values);
}
static FORCEINLINE HRESULT IMFVideoProcessor_SetProcAmpValues(IMFVideoProcessor* This,DWORD flags,DXVA2_ProcAmpValues *values) {
return This->lpVtbl->SetProcAmpValues(This,flags,values);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetFilteringRange(IMFVideoProcessor* This,DWORD prop,DXVA2_ValueRange *range) {
return This->lpVtbl->GetFilteringRange(This,prop,range);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetFilteringValue(IMFVideoProcessor* This,DWORD prop,DXVA2_Fixed32 *value) {
return This->lpVtbl->GetFilteringValue(This,prop,value);
}
static FORCEINLINE HRESULT IMFVideoProcessor_SetFilteringValue(IMFVideoProcessor* This,DWORD prop,DXVA2_Fixed32 *value) {
return This->lpVtbl->SetFilteringValue(This,prop,value);
}
static FORCEINLINE HRESULT IMFVideoProcessor_GetBackgroundColor(IMFVideoProcessor* This,COLORREF *color) {
return This->lpVtbl->GetBackgroundColor(This,color);
}
static FORCEINLINE HRESULT IMFVideoProcessor_SetBackgroundColor(IMFVideoProcessor* This,COLORREF color) {
return This->lpVtbl->SetBackgroundColor(This,color);
}
#endif
#endif
#endif
#endif /* __IMFVideoProcessor_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_EVR9*/
#endif /* __evr9_h__ */

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/exdisp.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/exdisp.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/filter.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/filter.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

View File

@ -245,7 +245,7 @@
#define _CW_DEFAULT (_RC_NEAR+_PC_53+_EM_INVALID+_EM_ZERODIVIDE+_EM_OVERFLOW+_EM_UNDERFLOW+_EM_INEXACT+_EM_DENORMAL)
#elif defined(__ia64__)
#define _CW_DEFAULT (_RC_NEAR+_PC_64+_EM_INVALID+_EM_ZERODIVIDE+_EM_OVERFLOW+_EM_UNDERFLOW+_EM_INEXACT+_EM_DENORMAL)
#elif defined(__x86_64__)
#elif defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)
#define _CW_DEFAULT (_RC_NEAR+_EM_INVALID+_EM_ZERODIVIDE+_EM_OVERFLOW+_EM_UNDERFLOW+_EM_INEXACT+_EM_DENORMAL)
#endif

View File

@ -0,0 +1,64 @@
/*
* Copyright 2016 Nikolay Sivov for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_FONTSUB_H
#define __WINE_FONTSUB_H
#ifdef __cplusplus
extern "C" {
#endif
typedef void *(__cdecl *CFP_ALLOCPROC)(size_t);
typedef void *(__cdecl *CFP_REALLOCPROC)(void *, size_t);
typedef void (__cdecl *CFP_FREEPROC)(void *);
#define TTFCFP_SUBSET 0
#define TTFCFP_SUBSET1 1
#define TTFCFP_DELTA 2
#define TTFCFP_UNICODE_PLATFORMID 0
#define TTFCFP_APPLE_PLATFORMID 1
#define TTFCFP_ISO_PLATFORMID 2
#define TTFCFP_MS_PLATFORMID 3
#define TTFCFP_STD_MAC_CHAR_SET 0
#define TTFCFP_SYMBOL_CHAR_SET 0
#define TTFCFP_UNICODE_CHAR_SET 1
#define TTFCFP_DONT_CARE 0xffff
#define TTFCFP_LANG_KEEP_ALL 0
#define TTFCFP_FLAGS_SUBSET 0x0001
#define TTFCFP_FLAGS_COMPRESS 0x0002
#define TTFCFP_FLAGS_TTC 0x0004
#define TTFCFP_FLAGS_GLYPHLIST 0x0008
#define ERR_GENERIC 1000
#define ERR_MEM 1005
ULONG __cdecl CreateFontPackage(const unsigned char *src, const ULONG src_len, unsigned char **dest,
ULONG *dest_len, ULONG *written, const unsigned short flags, const unsigned short face_index,
const unsigned short format, const unsigned short lang, const unsigned short platform,
const unsigned short encoding, const unsigned short *keep_list, const unsigned short keep_len,
CFP_ALLOCPROC allocproc, CFP_REALLOCPROC reallocproc, CFP_FREEPROC freeproc, void *reserved);
#ifdef __cplusplus
}
#endif
#endif

View File

@ -1,4 +1,4 @@
/*** Autogenerated by WIDL 6.4 from include/fsrm.idl - Do not edit ***/
/*** Autogenerated by WIDL 7.0 from include/fsrm.idl - Do not edit ***/
#ifdef _WIN32
#ifndef __REQUIRED_RPCNDR_H_VERSION__

Some files were not shown because too many files have changed in this diff Show More