Build the .h files from their idl source at compile time, and remove
them from CVS.
This commit is contained in:
parent
364822739f
commit
47461203c4
|
@ -205,7 +205,7 @@ winapi_check:: dummy
|
|||
$(SUBDIRS:%=%/__depend__): $(MAKEDEP) dummy
|
||||
cd `dirname $@` && $(MAKE) depend
|
||||
|
||||
depend: $(MAKEDEP) $(SUBDIRS:%=%/__depend__)
|
||||
depend: $(MAKEDEP) $(IDL_SRCS:.idl=.h) $(SUBDIRS:%=%/__depend__)
|
||||
$(MAKEDEP) $(INCLUDES) -C$(SRCDIR) $(C_SRCS) $(C_SRCS16) $(RC_SRCS) $(RC_SRCS16) $(MC_SRCS) $(IDL_SRCS) $(EXTRA_SRCS)
|
||||
|
||||
.PHONY: depend $(SUBDIRS:%=%/__depend__)
|
||||
|
@ -224,7 +224,7 @@ $(EXTRASUBDIRS:%=%/__clean__): dummy
|
|||
testclean:: $(SUBDIRS:%=%/__testclean__)
|
||||
|
||||
clean:: $(SUBDIRS:%=%/__clean__) $(EXTRASUBDIRS:%=%/__clean__)
|
||||
$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(PROGRAMS) $(RC_BINARIES)
|
||||
$(RM) $(CLEAN_FILES) $(RC_SRCS:.rc=.res) $(RC_SRCS16:.rc=.res) $(MC_SRCS:.mc=.mc.rc) $(IDL_SRCS:.idl=.h) $(PROGRAMS) $(RC_BINARIES)
|
||||
|
||||
.PHONY: clean testclean $(SUBDIRS:%=%/__clean__) $(SUBDIRS:%=%/__testclean__) $(EXTRASUBDIRS:%=%/__clean__)
|
||||
|
||||
|
|
15
Makefile.in
15
Makefile.in
|
@ -121,6 +121,21 @@ fonts/__install__ loader/__install__ server/__install__: libs tools
|
|||
programs/__install__: libs tools include/__install__ dlls/__install-lib__
|
||||
tools/__install__: tools
|
||||
|
||||
# Dependencies rules
|
||||
|
||||
$(SUBDIRS:%=%/__depend__): idl
|
||||
|
||||
idl: $(WIDL) dummy
|
||||
cd include && $(MAKE) all
|
||||
|
||||
$(WIDL): $(TOOLSDIR)/libs/libwpp.a $(TOOLSDIR)/libs/libwine_port.a
|
||||
cd $(TOOLSDIR)/tools/widl && $(MAKE) `basename $@`
|
||||
|
||||
$(TOOLSDIR)/libs/libwpp.a $(TOOLSDIR)/libs/libwine_port.a:
|
||||
cd $(TOOLSDIR)/libs && $(MAKE) `basename $@`
|
||||
|
||||
.PHONY: idl
|
||||
|
||||
# Test rules
|
||||
|
||||
checklink:: $(TESTSUBDIRS:%=%/__checklink__)
|
||||
|
|
|
@ -20,3 +20,6 @@ IDL_SRCS = \
|
|||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
||||
|
||||
# note: this will get overwritten by make depend
|
||||
$(ALL_OBJS): $(IDL_SRCS:.idl=.h)
|
||||
|
|
315
dlls/itss/itss.h
315
dlls/itss/itss.h
|
@ -1,315 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from itss.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_ITSS_H
|
||||
#define __WIDL_ITSS_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <oaidl.h>
|
||||
typedef struct _ITS_Control_Data {
|
||||
UINT cdwControlData;
|
||||
UINT adwControlData[1];
|
||||
} ITS_Control_Data, *PITS_Control_Data;
|
||||
|
||||
typedef enum ECompactionLev {
|
||||
COMPACT_DATA = 0,
|
||||
COMPACT_DATA_AND_PATH
|
||||
} ECompactionLev;
|
||||
|
||||
#ifndef __IITStorage_FWD_DEFINED__
|
||||
#define __IITStorage_FWD_DEFINED__
|
||||
typedef struct IITStorage IITStorage;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IITStorage interface
|
||||
*/
|
||||
#ifndef __IITStorage_INTERFACE_DEFINED__
|
||||
#define __IITStorage_INTERFACE_DEFINED__
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IITStorage : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE StgCreateDocfile(
|
||||
const WCHAR* pwcsName,
|
||||
DWORD grfMode,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE StgCreateDocfileOnILockBytes(
|
||||
ILockBytes* plkbyt,
|
||||
DWORD grfMode,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE StgIsStorageFile(
|
||||
const WCHAR* pwcsName) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE StgIsStorageILockBytes(
|
||||
ILockBytes* plkbyt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE StgOpenStorage(
|
||||
const WCHAR* pwcsName,
|
||||
IStorage* pstgPriority,
|
||||
DWORD grfMode,
|
||||
SNB snbExclude,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE StgOpenStorageOnILockBytes(
|
||||
ILockBytes* plkbyt,
|
||||
IStorage* pStgPriority,
|
||||
DWORD grfMode,
|
||||
SNB snbExclude,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE StgSetTimes(
|
||||
WCHAR* lpszName,
|
||||
FILETIME* pctime,
|
||||
FILETIME* patime,
|
||||
FILETIME* pmtime) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetControlData(
|
||||
PITS_Control_Data pControlData) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DefaultControlData(
|
||||
PITS_Control_Data* ppControlData) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Compact(
|
||||
const WCHAR* pwcsName,
|
||||
ECompactionLev iLev) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IITStorageVtbl IITStorageVtbl;
|
||||
struct IITStorage {
|
||||
const IITStorageVtbl* lpVtbl;
|
||||
};
|
||||
struct IITStorageVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IITStorage* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IITStorage* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IITStorage* This);
|
||||
|
||||
/*** IITStorage methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *StgCreateDocfile)(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName,
|
||||
DWORD grfMode,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *StgCreateDocfileOnILockBytes)(
|
||||
IITStorage* This,
|
||||
ILockBytes* plkbyt,
|
||||
DWORD grfMode,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *StgIsStorageFile)(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *StgIsStorageILockBytes)(
|
||||
IITStorage* This,
|
||||
ILockBytes* plkbyt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *StgOpenStorage)(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName,
|
||||
IStorage* pstgPriority,
|
||||
DWORD grfMode,
|
||||
SNB snbExclude,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *StgOpenStorageOnILockBytes)(
|
||||
IITStorage* This,
|
||||
ILockBytes* plkbyt,
|
||||
IStorage* pStgPriority,
|
||||
DWORD grfMode,
|
||||
SNB snbExclude,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *StgSetTimes)(
|
||||
IITStorage* This,
|
||||
WCHAR* lpszName,
|
||||
FILETIME* pctime,
|
||||
FILETIME* patime,
|
||||
FILETIME* pmtime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetControlData)(
|
||||
IITStorage* This,
|
||||
PITS_Control_Data pControlData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DefaultControlData)(
|
||||
IITStorage* This,
|
||||
PITS_Control_Data* ppControlData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Compact)(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName,
|
||||
ECompactionLev iLev);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IITStorage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IITStorage_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IITStorage_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IITStorage methods ***/
|
||||
#define IITStorage_StgCreateDocfile(p,a,b,c,d) (p)->lpVtbl->StgCreateDocfile(p,a,b,c,d)
|
||||
#define IITStorage_StgCreateDocfileOnILockBytes(p,a,b,c,d) (p)->lpVtbl->StgCreateDocfileOnILockBytes(p,a,b,c,d)
|
||||
#define IITStorage_StgIsStorageFile(p,a) (p)->lpVtbl->StgIsStorageFile(p,a)
|
||||
#define IITStorage_StgIsStorageILockBytes(p,a) (p)->lpVtbl->StgIsStorageILockBytes(p,a)
|
||||
#define IITStorage_StgOpenStorage(p,a,b,c,d,e,f) (p)->lpVtbl->StgOpenStorage(p,a,b,c,d,e,f)
|
||||
#define IITStorage_StgOpenStorageOnILockBytes(p,a,b,c,d,e,f) (p)->lpVtbl->StgOpenStorageOnILockBytes(p,a,b,c,d,e,f)
|
||||
#define IITStorage_StgSetTimes(p,a,b,c,d) (p)->lpVtbl->StgSetTimes(p,a,b,c,d)
|
||||
#define IITStorage_SetControlData(p,a) (p)->lpVtbl->SetControlData(p,a)
|
||||
#define IITStorage_DefaultControlData(p,a) (p)->lpVtbl->DefaultControlData(p,a)
|
||||
#define IITStorage_Compact(p,a,b) (p)->lpVtbl->Compact(p,a,b)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IITStorage_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IITStorage methods ***/ \
|
||||
STDMETHOD_(HRESULT,StgCreateDocfile)(THIS_ const WCHAR* pwcsName, DWORD grfMode, DWORD reserved, IStorage** ppstgOpen) PURE; \
|
||||
STDMETHOD_(HRESULT,StgCreateDocfileOnILockBytes)(THIS_ ILockBytes* plkbyt, DWORD grfMode, DWORD reserved, IStorage** ppstgOpen) PURE; \
|
||||
STDMETHOD_(HRESULT,StgIsStorageFile)(THIS_ const WCHAR* pwcsName) PURE; \
|
||||
STDMETHOD_(HRESULT,StgIsStorageILockBytes)(THIS_ ILockBytes* plkbyt) PURE; \
|
||||
STDMETHOD_(HRESULT,StgOpenStorage)(THIS_ const WCHAR* pwcsName, IStorage* pstgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage** ppstgOpen) PURE; \
|
||||
STDMETHOD_(HRESULT,StgOpenStorageOnILockBytes)(THIS_ ILockBytes* plkbyt, IStorage* pStgPriority, DWORD grfMode, SNB snbExclude, DWORD reserved, IStorage** ppstgOpen) PURE; \
|
||||
STDMETHOD_(HRESULT,StgSetTimes)(THIS_ WCHAR* lpszName, FILETIME* pctime, FILETIME* patime, FILETIME* pmtime) PURE; \
|
||||
STDMETHOD_(HRESULT,SetControlData)(THIS_ PITS_Control_Data pControlData) PURE; \
|
||||
STDMETHOD_(HRESULT,DefaultControlData)(THIS_ PITS_Control_Data* ppControlData) PURE; \
|
||||
STDMETHOD_(HRESULT,Compact)(THIS_ const WCHAR* pwcsName, ECompactionLev iLev) PURE;
|
||||
|
||||
HRESULT CALLBACK IITStorage_StgCreateDocfile_Proxy(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName,
|
||||
DWORD grfMode,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
void __RPC_STUB IITStorage_StgCreateDocfile_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_StgCreateDocfileOnILockBytes_Proxy(
|
||||
IITStorage* This,
|
||||
ILockBytes* plkbyt,
|
||||
DWORD grfMode,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
void __RPC_STUB IITStorage_StgCreateDocfileOnILockBytes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_StgIsStorageFile_Proxy(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName);
|
||||
void __RPC_STUB IITStorage_StgIsStorageFile_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_StgIsStorageILockBytes_Proxy(
|
||||
IITStorage* This,
|
||||
ILockBytes* plkbyt);
|
||||
void __RPC_STUB IITStorage_StgIsStorageILockBytes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_StgOpenStorage_Proxy(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName,
|
||||
IStorage* pstgPriority,
|
||||
DWORD grfMode,
|
||||
SNB snbExclude,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
void __RPC_STUB IITStorage_StgOpenStorage_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_StgOpenStorageOnILockBytes_Proxy(
|
||||
IITStorage* This,
|
||||
ILockBytes* plkbyt,
|
||||
IStorage* pStgPriority,
|
||||
DWORD grfMode,
|
||||
SNB snbExclude,
|
||||
DWORD reserved,
|
||||
IStorage** ppstgOpen);
|
||||
void __RPC_STUB IITStorage_StgOpenStorageOnILockBytes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_StgSetTimes_Proxy(
|
||||
IITStorage* This,
|
||||
WCHAR* lpszName,
|
||||
FILETIME* pctime,
|
||||
FILETIME* patime,
|
||||
FILETIME* pmtime);
|
||||
void __RPC_STUB IITStorage_StgSetTimes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_SetControlData_Proxy(
|
||||
IITStorage* This,
|
||||
PITS_Control_Data pControlData);
|
||||
void __RPC_STUB IITStorage_SetControlData_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_DefaultControlData_Proxy(
|
||||
IITStorage* This,
|
||||
PITS_Control_Data* ppControlData);
|
||||
void __RPC_STUB IITStorage_DefaultControlData_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IITStorage_Compact_Proxy(
|
||||
IITStorage* This,
|
||||
const WCHAR* pwcsName,
|
||||
ECompactionLev iLev);
|
||||
void __RPC_STUB IITStorage_Compact_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IITStorage_INTERFACE_DEFINED__ */
|
||||
|
||||
DEFINE_GUID(CLSID_ITStorage,0x5d02926a,0x212e,0x11d0,0x9d,0xf9,0x00,0xa0,0xc9,0x22,0xe6,0xec );
|
||||
DEFINE_GUID(IID_IITStorage, 0x88cc31de, 0x27ab, 0x11d0, 0x9d, 0xf9, 0x0, 0xa0, 0xc9, 0x22, 0xe6, 0xec);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_ITSS_H */
|
|
@ -69,3 +69,6 @@ SUBDIRS = tests
|
|||
@MAKE_DLL_RULES@
|
||||
|
||||
### Dependencies:
|
||||
|
||||
# note: this will get overwritten by make depend
|
||||
$(ALL_OBJS): $(IDL_SRCS:.idl=.h)
|
||||
|
|
|
@ -1,515 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from dcom.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_DCOM_H
|
||||
#define __WIDL_DCOM_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <unknwn.h>
|
||||
typedef MIDL_uhyper ID;
|
||||
|
||||
typedef ID MID;
|
||||
|
||||
typedef ID OXID;
|
||||
|
||||
typedef ID OID;
|
||||
|
||||
typedef ID SETID;
|
||||
|
||||
typedef GUID IPID;
|
||||
|
||||
typedef GUID CID;
|
||||
|
||||
typedef REFGUID REFIPID;
|
||||
|
||||
#define COM_MINOR_VERSION_1 (1)
|
||||
|
||||
#define COM_MINOR_VERSION_2 (2)
|
||||
|
||||
#define COM_MAJOR_VERSION (5)
|
||||
|
||||
#define COM_MINOR_VERSION (3)
|
||||
|
||||
typedef struct tagCOMVERSION {
|
||||
unsigned short MajorVersion;
|
||||
unsigned short MinorVersion;
|
||||
} COMVERSION;
|
||||
|
||||
#define ORPCF_NULL (0)
|
||||
|
||||
#define ORPCF_LOCAL (1)
|
||||
|
||||
#define ORPCF_RESERVED1 (2)
|
||||
|
||||
#define ORPCF_RESERVED2 (4)
|
||||
|
||||
#define ORPCF_RESERVED3 (8)
|
||||
|
||||
#define ORPCF_RESERVED4 (16)
|
||||
|
||||
typedef struct tagORPC_EXTENT {
|
||||
GUID id;
|
||||
unsigned long size;
|
||||
byte data[1];
|
||||
} ORPC_EXTENT;
|
||||
|
||||
typedef struct tagORPC_EXTENT_ARRAY {
|
||||
unsigned long size;
|
||||
unsigned long reserved;
|
||||
ORPC_EXTENT **extent;
|
||||
} ORPC_EXTENT_ARRAY;
|
||||
|
||||
typedef struct tagORPCTHIS {
|
||||
COMVERSION version;
|
||||
unsigned long flags;
|
||||
unsigned long reserved1;
|
||||
CID cid;
|
||||
ORPC_EXTENT_ARRAY *extensions;
|
||||
} ORPCTHIS;
|
||||
|
||||
typedef struct tagORPCTHAT {
|
||||
unsigned long flags;
|
||||
ORPC_EXTENT_ARRAY *extensions;
|
||||
} ORPCTHAT;
|
||||
|
||||
#define NCADG_IP_UDP (0x8)
|
||||
|
||||
#define NCACN_IP_TCP (0x7)
|
||||
|
||||
#define NCADG_IPX (0xe)
|
||||
|
||||
#define NCACN_SPX (0xc)
|
||||
|
||||
#define NCACN_NB_NB (0x12)
|
||||
|
||||
#define NCACN_NB_IPX (0xd)
|
||||
|
||||
#define NCACN_DNET_NSP (0x4)
|
||||
|
||||
#define NCACN_HTTP (0x1f)
|
||||
|
||||
typedef struct tagSTRINGBINDING {
|
||||
unsigned short wTowerId;
|
||||
unsigned short aNetworkAddr[1];
|
||||
} STRINGBINDING;
|
||||
|
||||
#define COM_C_AUTHZ_NONE (0xffff)
|
||||
|
||||
typedef struct tagSECURITYBINDING {
|
||||
unsigned short wAuthnSvc;
|
||||
unsigned short wAuthzSvc;
|
||||
unsigned short aPrincName[1];
|
||||
} SECURITYBINDING;
|
||||
|
||||
typedef struct tagDUALSTRINGARRAY {
|
||||
unsigned short wNumEntries;
|
||||
unsigned short wSecurityOffset;
|
||||
unsigned short aStringArray[1];
|
||||
} DUALSTRINGARRAY;
|
||||
|
||||
#define OBJREF_SIGNATURE (0x574f454d)
|
||||
|
||||
#define OBJREF_STANDARD (0x1)
|
||||
|
||||
#define OBJREF_HANDLER (0x2)
|
||||
|
||||
#define OBJREF_CUSTOM (0x4)
|
||||
|
||||
#define SORF_OXRES1 (0x1)
|
||||
|
||||
#define SORF_OXRES2 (0x20)
|
||||
|
||||
#define SORF_OXRES3 (0x40)
|
||||
|
||||
#define SORF_OXRES4 (0x80)
|
||||
|
||||
#define SORF_OXRES5 (0x100)
|
||||
|
||||
#define SORF_OXRES6 (0x200)
|
||||
|
||||
#define SORF_OXRES7 (0x400)
|
||||
|
||||
#define SORF_OXRES8 (0x800)
|
||||
|
||||
#define SORF_NULL (0x0)
|
||||
|
||||
#define SORF_NOPING (0x1000)
|
||||
|
||||
typedef struct tagSTDOBJREF {
|
||||
unsigned long flags;
|
||||
unsigned long cPublicRefs;
|
||||
OXID oxid;
|
||||
OID oid;
|
||||
IPID ipid;
|
||||
} STDOBJREF;
|
||||
|
||||
typedef struct tagOBJREF {
|
||||
unsigned long signature;
|
||||
unsigned long flags;
|
||||
GUID iid;
|
||||
union {
|
||||
struct OR_STANDARD {
|
||||
STDOBJREF std;
|
||||
DUALSTRINGARRAY saResAddr;
|
||||
} u_standard;
|
||||
struct OR_HANDLER {
|
||||
STDOBJREF std;
|
||||
CLSID clsid;
|
||||
DUALSTRINGARRAY saResAddr;
|
||||
} u_handler;
|
||||
struct OR_CUSTOM {
|
||||
CLSID clsid;
|
||||
unsigned long cbExtension;
|
||||
unsigned long size;
|
||||
byte *pData;
|
||||
} u_custom;
|
||||
} u_objref;
|
||||
} OBJREF;
|
||||
|
||||
typedef struct tagMInterfacePointer {
|
||||
ULONG ulCntData;
|
||||
BYTE abData[1];
|
||||
} MInterfacePointer;
|
||||
|
||||
typedef MInterfacePointer *PMInterfacePointer;
|
||||
|
||||
#ifndef __IRemUnknown_FWD_DEFINED__
|
||||
#define __IRemUnknown_FWD_DEFINED__
|
||||
typedef struct IRemUnknown IRemUnknown;
|
||||
#endif
|
||||
|
||||
typedef IRemUnknown *LPREMUNKNOWN;
|
||||
|
||||
typedef struct tagREMQIRESULT {
|
||||
HRESULT hResult;
|
||||
STDOBJREF std;
|
||||
} REMQIRESULT;
|
||||
|
||||
typedef struct tagREMINTERFACEREF {
|
||||
IPID ipid;
|
||||
unsigned long cPublicRefs;
|
||||
unsigned long cPrivateRefs;
|
||||
} REMINTERFACEREF;
|
||||
|
||||
/*****************************************************************************
|
||||
* IRemUnknown interface
|
||||
*/
|
||||
#ifndef __IRemUnknown_INTERFACE_DEFINED__
|
||||
#define __IRemUnknown_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IRemUnknown, 0x00000131, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IRemUnknown : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE RemQueryInterface(
|
||||
REFIPID ripid,
|
||||
unsigned long cRefs,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
REMQIRESULT** ppQIResults) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RemAddRef(
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs,
|
||||
HRESULT* pResults) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RemRelease(
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IRemUnknownVtbl IRemUnknownVtbl;
|
||||
struct IRemUnknown {
|
||||
const IRemUnknownVtbl* lpVtbl;
|
||||
};
|
||||
struct IRemUnknownVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IRemUnknown* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IRemUnknown* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IRemUnknown* This);
|
||||
|
||||
/*** IRemUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *RemQueryInterface)(
|
||||
IRemUnknown* This,
|
||||
REFIPID ripid,
|
||||
unsigned long cRefs,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
REMQIRESULT** ppQIResults);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RemAddRef)(
|
||||
IRemUnknown* This,
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs,
|
||||
HRESULT* pResults);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RemRelease)(
|
||||
IRemUnknown* This,
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IRemUnknown_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IRemUnknown_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IRemUnknown_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IRemUnknown methods ***/
|
||||
#define IRemUnknown_RemQueryInterface(p,a,b,c,d,e) (p)->lpVtbl->RemQueryInterface(p,a,b,c,d,e)
|
||||
#define IRemUnknown_RemAddRef(p,a,b,c) (p)->lpVtbl->RemAddRef(p,a,b,c)
|
||||
#define IRemUnknown_RemRelease(p,a,b) (p)->lpVtbl->RemRelease(p,a,b)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IRemUnknown_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IRemUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,RemQueryInterface)(THIS_ REFIPID ripid, unsigned long cRefs, unsigned short cIids, IID* iids, REMQIRESULT** ppQIResults) PURE; \
|
||||
STDMETHOD_(HRESULT,RemAddRef)(THIS_ unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs, HRESULT* pResults) PURE; \
|
||||
STDMETHOD_(HRESULT,RemRelease)(THIS_ unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs) PURE;
|
||||
|
||||
HRESULT CALLBACK IRemUnknown_RemQueryInterface_Proxy(
|
||||
IRemUnknown* This,
|
||||
REFIPID ripid,
|
||||
unsigned long cRefs,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
REMQIRESULT** ppQIResults);
|
||||
void __RPC_STUB IRemUnknown_RemQueryInterface_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IRemUnknown_RemAddRef_Proxy(
|
||||
IRemUnknown* This,
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs,
|
||||
HRESULT* pResults);
|
||||
void __RPC_STUB IRemUnknown_RemAddRef_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IRemUnknown_RemRelease_Proxy(
|
||||
IRemUnknown* This,
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs);
|
||||
void __RPC_STUB IRemUnknown_RemRelease_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IRemUnknown_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IRemUnknown2_FWD_DEFINED__
|
||||
#define __IRemUnknown2_FWD_DEFINED__
|
||||
typedef struct IRemUnknown2 IRemUnknown2;
|
||||
#endif
|
||||
|
||||
typedef IRemUnknown2 *LPREMUNKNOWN2;
|
||||
|
||||
/*****************************************************************************
|
||||
* IRemUnknown2 interface
|
||||
*/
|
||||
#ifndef __IRemUnknown2_INTERFACE_DEFINED__
|
||||
#define __IRemUnknown2_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IRemUnknown2, 0x00000142, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IRemUnknown2 : public IRemUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE RemQueryInterface2(
|
||||
REFIPID ripid,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
HRESULT* phr,
|
||||
MInterfacePointer** ppMIF) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IRemUnknown2Vtbl IRemUnknown2Vtbl;
|
||||
struct IRemUnknown2 {
|
||||
const IRemUnknown2Vtbl* lpVtbl;
|
||||
};
|
||||
struct IRemUnknown2Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IRemUnknown2* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IRemUnknown2* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IRemUnknown2* This);
|
||||
|
||||
/*** IRemUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *RemQueryInterface)(
|
||||
IRemUnknown2* This,
|
||||
REFIPID ripid,
|
||||
unsigned long cRefs,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
REMQIRESULT** ppQIResults);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RemAddRef)(
|
||||
IRemUnknown2* This,
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs,
|
||||
HRESULT* pResults);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RemRelease)(
|
||||
IRemUnknown2* This,
|
||||
unsigned short cInterfaceRefs,
|
||||
REMINTERFACEREF* InterfaceRefs);
|
||||
|
||||
/*** IRemUnknown2 methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *RemQueryInterface2)(
|
||||
IRemUnknown2* This,
|
||||
REFIPID ripid,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
HRESULT* phr,
|
||||
MInterfacePointer** ppMIF);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IRemUnknown2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IRemUnknown2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IRemUnknown2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IRemUnknown methods ***/
|
||||
#define IRemUnknown2_RemQueryInterface(p,a,b,c,d,e) (p)->lpVtbl->RemQueryInterface(p,a,b,c,d,e)
|
||||
#define IRemUnknown2_RemAddRef(p,a,b,c) (p)->lpVtbl->RemAddRef(p,a,b,c)
|
||||
#define IRemUnknown2_RemRelease(p,a,b) (p)->lpVtbl->RemRelease(p,a,b)
|
||||
/*** IRemUnknown2 methods ***/
|
||||
#define IRemUnknown2_RemQueryInterface2(p,a,b,c,d,e) (p)->lpVtbl->RemQueryInterface2(p,a,b,c,d,e)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IRemUnknown2_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IRemUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,RemQueryInterface)(THIS_ REFIPID ripid, unsigned long cRefs, unsigned short cIids, IID* iids, REMQIRESULT** ppQIResults) PURE; \
|
||||
STDMETHOD_(HRESULT,RemAddRef)(THIS_ unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs, HRESULT* pResults) PURE; \
|
||||
STDMETHOD_(HRESULT,RemRelease)(THIS_ unsigned short cInterfaceRefs, REMINTERFACEREF* InterfaceRefs) PURE; \
|
||||
/*** IRemUnknown2 methods ***/ \
|
||||
STDMETHOD_(HRESULT,RemQueryInterface2)(THIS_ REFIPID ripid, unsigned short cIids, IID* iids, HRESULT* phr, MInterfacePointer** ppMIF) PURE;
|
||||
|
||||
HRESULT CALLBACK IRemUnknown2_RemQueryInterface2_Proxy(
|
||||
IRemUnknown2* This,
|
||||
REFIPID ripid,
|
||||
unsigned short cIids,
|
||||
IID* iids,
|
||||
HRESULT* phr,
|
||||
MInterfacePointer** ppMIF);
|
||||
void __RPC_STUB IRemUnknown2_RemQueryInterface2_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IRemUnknown2_INTERFACE_DEFINED__ */
|
||||
|
||||
#if 0
|
||||
/*****************************************************************************
|
||||
* IOXIDResolver interface (v0.0)
|
||||
*/
|
||||
DEFINE_GUID(IID_IOXIDResolver, 0x99fcfec4, 0x5260, 0x101b, 0xbb,0xcb, 0x00,0xaa,0x00,0x21,0x34,0x7a);
|
||||
extern RPC_IF_HANDLE IOXIDResolver_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE IOXIDResolver_v0_0_s_ifspec;
|
||||
error_status_t ResolveOxid(
|
||||
handle_t hRpc,
|
||||
OXID* pOxid,
|
||||
unsigned short cRequestedProtseqs,
|
||||
unsigned short arRequestedProtseqs[],
|
||||
DUALSTRINGARRAY** ppdsaOxidBindings,
|
||||
IPID* pipidRemUnknown,
|
||||
DWORD* pAuthnHint);
|
||||
error_status_t SimplePing(
|
||||
handle_t hRpc,
|
||||
SETID* pSetId);
|
||||
error_status_t ComplexPing(
|
||||
handle_t hRpc,
|
||||
SETID* pSetId,
|
||||
unsigned short SequenceNum,
|
||||
unsigned short cAddToSet,
|
||||
unsigned short cDelFromSet,
|
||||
OID AddToSet[],
|
||||
OID DelFromSet[],
|
||||
unsigned short* pPingBackoffFactor);
|
||||
error_status_t ServerAlive(
|
||||
handle_t hRpc);
|
||||
error_status_t ResolveOxid2(
|
||||
handle_t hRpc,
|
||||
OXID* pOxid,
|
||||
unsigned short cRequestedProtseqs,
|
||||
unsigned short arRequestedProtseqs[],
|
||||
DUALSTRINGARRAY** ppdsaOxidBindings,
|
||||
IPID* pipidRemUnknown,
|
||||
DWORD* pAuthnHint,
|
||||
COMVERSION* pComVersion);
|
||||
|
||||
#define MODE_GET_CLASS_OBJECT (0xffffffff)
|
||||
|
||||
/*****************************************************************************
|
||||
* IRemoteActivation interface (v0.0)
|
||||
*/
|
||||
DEFINE_GUID(IID_IRemoteActivation, 0x4d9f4ab8, 0x7d1c, 0x11cf, 0x86,0x1e, 0x00,0x20,0xaf,0x6e,0x7c,0x57);
|
||||
extern RPC_IF_HANDLE IRemoteActivation_v0_0_c_ifspec;
|
||||
extern RPC_IF_HANDLE IRemoteActivation_v0_0_s_ifspec;
|
||||
HRESULT RemoteActivation(
|
||||
handle_t hRpc,
|
||||
ORPCTHIS* ORPCthis,
|
||||
ORPCTHAT* ORPCthat,
|
||||
GUID* Clsid,
|
||||
WCHAR* pwszObjectName,
|
||||
MInterfacePointer* pObjectStorage,
|
||||
DWORD ClientImpLevel,
|
||||
DWORD Mode,
|
||||
DWORD Interfaces,
|
||||
IID* pIIDs,
|
||||
unsigned short cRequestedProtseqs,
|
||||
unsigned short RequestedProtseqs[],
|
||||
OXID* pOxid,
|
||||
DUALSTRINGARRAY** ppdsaOxidBindings,
|
||||
IPID* pipidRemUnknown,
|
||||
DWORD* pAuthnHint,
|
||||
COMVERSION* pServerVersion,
|
||||
HRESULT* phr,
|
||||
MInterfacePointer** ppInterfaceData,
|
||||
HRESULT* pResults);
|
||||
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_DCOM_H */
|
|
@ -32,12 +32,14 @@ IDL_SRCS = \
|
|||
wtypes.idl
|
||||
|
||||
IDL_INCLUDES = \
|
||||
$(IDL_SRCS) \
|
||||
axcore.idl \
|
||||
axextend.idl \
|
||||
devenum.idl \
|
||||
dyngraph.idl
|
||||
|
||||
WINDOWS_INCLUDES = \
|
||||
$(IDL_INCLUDES) \
|
||||
accctrl.h \
|
||||
aclapi.h \
|
||||
audevcod.h \
|
||||
|
@ -243,10 +245,7 @@ WINDOWS_INCLUDES = \
|
|||
wsipx.h \
|
||||
wsnwlink.h \
|
||||
xcmc.h \
|
||||
zmouse.h \
|
||||
$(IDL_INCLUDES) \
|
||||
$(IDL_SRCS) \
|
||||
$(IDL_SRCS:.idl=.h)
|
||||
zmouse.h
|
||||
|
||||
MSVCRT_INCLUDES = \
|
||||
msvcrt/conio.h \
|
||||
|
@ -295,18 +294,21 @@ EXTRASUBDIRS = msvcrt msvcrt/sys wine
|
|||
|
||||
@MAKE_RULES@
|
||||
|
||||
all: $(IDL_SRCS:.idl=.h)
|
||||
IDL_HEADERS = $(IDL_SRCS:.idl=.h)
|
||||
|
||||
install:: $(IDL_SRCS:.idl=.h)
|
||||
all: $(IDL_HEADERS)
|
||||
|
||||
install:: $(IDL_HEADERS)
|
||||
$(MKINSTALLDIRS) $(includedir) $(includedir)/windows $(includedir)/msvcrt $(includedir)/msvcrt/sys
|
||||
for f in $(WINDOWS_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/windows/$$f; done
|
||||
for f in $(IDL_HEADERS); do $(INSTALL_DATA) $$f $(includedir)/windows/$$f; done
|
||||
for f in $(MSVCRT_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/$$f $(includedir)/$$f; done
|
||||
for f in $(WINE_INCLUDES); do $(INSTALL_DATA) $(SRCDIR)/wine/$$f $(includedir)/$$f; done
|
||||
|
||||
# Don't just do a rm -rf on $(includedir) -- don't want to wipe out
|
||||
# anything extra the user may have put there.
|
||||
uninstall::
|
||||
[ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) || true
|
||||
[ -d $(includedir)/windows ] && cd $(includedir)/windows && $(RM) $(WINDOWS_INCLUDES) $(IDL_HEADERS) || true
|
||||
[ -d $(includedir) ] && cd $(includedir) && $(RM) $(MSVCRT_INCLUDES) $(WINE_INCLUDES) || true
|
||||
-rmdir $(includedir)/msvcrt/sys $(includedir)/msvcrt $(includedir)/windows $(includedir)
|
||||
|
||||
|
|
1447
include/activscp.h
1447
include/activscp.h
File diff suppressed because it is too large
Load Diff
1595
include/amstream.h
1595
include/amstream.h
File diff suppressed because it is too large
Load Diff
1385
include/amvideo.h
1385
include/amvideo.h
File diff suppressed because it is too large
Load Diff
|
@ -1,539 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from austream.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_AUSTREAM_H
|
||||
#define __WIDL_AUSTREAM_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <unknwn.h>
|
||||
#include <mmstream.h>
|
||||
#if 0
|
||||
typedef struct tWAVEFORMATEX WAVEFORMATEX;
|
||||
|
||||
#endif
|
||||
#ifndef __IAudioMediaStream_FWD_DEFINED__
|
||||
#define __IAudioMediaStream_FWD_DEFINED__
|
||||
typedef struct IAudioMediaStream IAudioMediaStream;
|
||||
#endif
|
||||
|
||||
#ifndef __IAudioStreamSample_FWD_DEFINED__
|
||||
#define __IAudioStreamSample_FWD_DEFINED__
|
||||
typedef struct IAudioStreamSample IAudioStreamSample;
|
||||
#endif
|
||||
|
||||
#ifndef __IMemoryData_FWD_DEFINED__
|
||||
#define __IMemoryData_FWD_DEFINED__
|
||||
typedef struct IMemoryData IMemoryData;
|
||||
#endif
|
||||
|
||||
#ifndef __IAudioData_FWD_DEFINED__
|
||||
#define __IAudioData_FWD_DEFINED__
|
||||
typedef struct IAudioData IAudioData;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioMediaStream interface
|
||||
*/
|
||||
#ifndef __IAudioMediaStream_INTERFACE_DEFINED__
|
||||
#define __IAudioMediaStream_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAudioMediaStream, 0xf7537560, 0xa3be, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IAudioMediaStream : public IMediaStream
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetFormat(
|
||||
WAVEFORMATEX* pWaveFormatCurrent) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetFormat(
|
||||
const WAVEFORMATEX* lpWaveFormat) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateSample(
|
||||
IAudioData* pAudioData,
|
||||
DWORD dwFlags,
|
||||
IAudioStreamSample** ppSample) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IAudioMediaStreamVtbl IAudioMediaStreamVtbl;
|
||||
struct IAudioMediaStream {
|
||||
const IAudioMediaStreamVtbl* lpVtbl;
|
||||
};
|
||||
struct IAudioMediaStreamVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAudioMediaStream* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAudioMediaStream* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAudioMediaStream* This);
|
||||
|
||||
/*** IMediaStream methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)(
|
||||
IAudioMediaStream* This,
|
||||
IMultiMediaStream** ppMultiMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetInformation)(
|
||||
IAudioMediaStream* This,
|
||||
MSPID* pPurposeId,
|
||||
STREAM_TYPE* pType);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSameFormat)(
|
||||
IAudioMediaStream* This,
|
||||
IMediaStream* pStreamThatHasDesiredFormat,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *AllocateSample)(
|
||||
IAudioMediaStream* This,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateSharedSample)(
|
||||
IAudioMediaStream* This,
|
||||
IStreamSample* pExistingSample,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppNewSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SendEndOfStream)(
|
||||
IAudioMediaStream* This,
|
||||
DWORD dwFlags);
|
||||
|
||||
/*** IAudioMediaStream methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetFormat)(
|
||||
IAudioMediaStream* This,
|
||||
WAVEFORMATEX* pWaveFormatCurrent);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetFormat)(
|
||||
IAudioMediaStream* This,
|
||||
const WAVEFORMATEX* lpWaveFormat);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateSample)(
|
||||
IAudioMediaStream* This,
|
||||
IAudioData* pAudioData,
|
||||
DWORD dwFlags,
|
||||
IAudioStreamSample** ppSample);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAudioMediaStream_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IAudioMediaStream_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IAudioMediaStream_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IMediaStream methods ***/
|
||||
#define IAudioMediaStream_GetMultiMediaStream(p,a) (p)->lpVtbl->GetMultiMediaStream(p,a)
|
||||
#define IAudioMediaStream_GetInformation(p,a,b) (p)->lpVtbl->GetInformation(p,a,b)
|
||||
#define IAudioMediaStream_SetSameFormat(p,a,b) (p)->lpVtbl->SetSameFormat(p,a,b)
|
||||
#define IAudioMediaStream_AllocateSample(p,a,b) (p)->lpVtbl->AllocateSample(p,a,b)
|
||||
#define IAudioMediaStream_CreateSharedSample(p,a,b,c) (p)->lpVtbl->CreateSharedSample(p,a,b,c)
|
||||
#define IAudioMediaStream_SendEndOfStream(p,a) (p)->lpVtbl->SendEndOfStream(p,a)
|
||||
/*** IAudioMediaStream methods ***/
|
||||
#define IAudioMediaStream_GetFormat(p,a) (p)->lpVtbl->GetFormat(p,a)
|
||||
#define IAudioMediaStream_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
|
||||
#define IAudioMediaStream_CreateSample(p,a,b,c) (p)->lpVtbl->CreateSample(p,a,b,c)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IAudioMediaStream_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IMediaStream methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetMultiMediaStream)(THIS_ IMultiMediaStream** ppMultiMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetInformation)(THIS_ MSPID* pPurposeId, STREAM_TYPE* pType) PURE; \
|
||||
STDMETHOD_(HRESULT,SetSameFormat)(THIS_ IMediaStream* pStreamThatHasDesiredFormat, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,AllocateSample)(THIS_ DWORD dwFlags, IStreamSample** ppSample) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateSharedSample)(THIS_ IStreamSample* pExistingSample, DWORD dwFlags, IStreamSample** ppNewSample) PURE; \
|
||||
STDMETHOD_(HRESULT,SendEndOfStream)(THIS_ DWORD dwFlags) PURE; \
|
||||
/*** IAudioMediaStream methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetFormat)(THIS_ WAVEFORMATEX* pWaveFormatCurrent) PURE; \
|
||||
STDMETHOD_(HRESULT,SetFormat)(THIS_ const WAVEFORMATEX* lpWaveFormat) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateSample)(THIS_ IAudioData* pAudioData, DWORD dwFlags, IAudioStreamSample** ppSample) PURE;
|
||||
|
||||
HRESULT CALLBACK IAudioMediaStream_GetFormat_Proxy(
|
||||
IAudioMediaStream* This,
|
||||
WAVEFORMATEX* pWaveFormatCurrent);
|
||||
void __RPC_STUB IAudioMediaStream_GetFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IAudioMediaStream_SetFormat_Proxy(
|
||||
IAudioMediaStream* This,
|
||||
const WAVEFORMATEX* lpWaveFormat);
|
||||
void __RPC_STUB IAudioMediaStream_SetFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IAudioMediaStream_CreateSample_Proxy(
|
||||
IAudioMediaStream* This,
|
||||
IAudioData* pAudioData,
|
||||
DWORD dwFlags,
|
||||
IAudioStreamSample** ppSample);
|
||||
void __RPC_STUB IAudioMediaStream_CreateSample_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IAudioMediaStream_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioStreamSample interface
|
||||
*/
|
||||
#ifndef __IAudioStreamSample_INTERFACE_DEFINED__
|
||||
#define __IAudioStreamSample_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAudioStreamSample, 0x345fee00, 0xaba5, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IAudioStreamSample : public IStreamSample
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetAudioData(
|
||||
IAudioData** ppAudio) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IAudioStreamSampleVtbl IAudioStreamSampleVtbl;
|
||||
struct IAudioStreamSample {
|
||||
const IAudioStreamSampleVtbl* lpVtbl;
|
||||
};
|
||||
struct IAudioStreamSampleVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAudioStreamSample* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAudioStreamSample* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAudioStreamSample* This);
|
||||
|
||||
/*** IStreamSample methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetMediaStream)(
|
||||
IAudioStreamSample* This,
|
||||
IMediaStream** ppMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSampleTimes)(
|
||||
IAudioStreamSample* This,
|
||||
STREAM_TIME* pStartTime,
|
||||
STREAM_TIME* pEndTime,
|
||||
STREAM_TIME* pCurrentTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSampleTimes)(
|
||||
IAudioStreamSample* This,
|
||||
const STREAM_TIME* pStartTime,
|
||||
const STREAM_TIME* pEndTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Update)(
|
||||
IAudioStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
HANDLE hEvent,
|
||||
PAPCFUNC pfnAPC,
|
||||
DWORD dwAPCData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CompletionStatus)(
|
||||
IAudioStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
DWORD dwMilliseconds);
|
||||
|
||||
/*** IAudioStreamSample methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetAudioData)(
|
||||
IAudioStreamSample* This,
|
||||
IAudioData** ppAudio);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAudioStreamSample_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IAudioStreamSample_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IAudioStreamSample_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IStreamSample methods ***/
|
||||
#define IAudioStreamSample_GetMediaStream(p,a) (p)->lpVtbl->GetMediaStream(p,a)
|
||||
#define IAudioStreamSample_GetSampleTimes(p,a,b,c) (p)->lpVtbl->GetSampleTimes(p,a,b,c)
|
||||
#define IAudioStreamSample_SetSampleTimes(p,a,b) (p)->lpVtbl->SetSampleTimes(p,a,b)
|
||||
#define IAudioStreamSample_Update(p,a,b,c,d) (p)->lpVtbl->Update(p,a,b,c,d)
|
||||
#define IAudioStreamSample_CompletionStatus(p,a,b) (p)->lpVtbl->CompletionStatus(p,a,b)
|
||||
/*** IAudioStreamSample methods ***/
|
||||
#define IAudioStreamSample_GetAudioData(p,a) (p)->lpVtbl->GetAudioData(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IAudioStreamSample_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IStreamSample methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetMediaStream)(THIS_ IMediaStream** ppMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetSampleTimes)(THIS_ STREAM_TIME* pStartTime, STREAM_TIME* pEndTime, STREAM_TIME* pCurrentTime) PURE; \
|
||||
STDMETHOD_(HRESULT,SetSampleTimes)(THIS_ const STREAM_TIME* pStartTime, const STREAM_TIME* pEndTime) PURE; \
|
||||
STDMETHOD_(HRESULT,Update)(THIS_ DWORD dwFlags, HANDLE hEvent, PAPCFUNC pfnAPC, DWORD dwAPCData) PURE; \
|
||||
STDMETHOD_(HRESULT,CompletionStatus)(THIS_ DWORD dwFlags, DWORD dwMilliseconds) PURE; \
|
||||
/*** IAudioStreamSample methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetAudioData)(THIS_ IAudioData** ppAudio) PURE;
|
||||
|
||||
HRESULT CALLBACK IAudioStreamSample_GetAudioData_Proxy(
|
||||
IAudioStreamSample* This,
|
||||
IAudioData** ppAudio);
|
||||
void __RPC_STUB IAudioStreamSample_GetAudioData_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IAudioStreamSample_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IMemoryData interface
|
||||
*/
|
||||
#ifndef __IMemoryData_INTERFACE_DEFINED__
|
||||
#define __IMemoryData_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IMemoryData, 0x327fc560, 0xaf60, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IMemoryData : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE SetBuffer(
|
||||
DWORD cbSize,
|
||||
BYTE* pbData,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetInfo(
|
||||
DWORD* pdwLength,
|
||||
BYTE** ppbData,
|
||||
DWORD* pcbActualData) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetActual(
|
||||
DWORD cbDataValid) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IMemoryDataVtbl IMemoryDataVtbl;
|
||||
struct IMemoryData {
|
||||
const IMemoryDataVtbl* lpVtbl;
|
||||
};
|
||||
struct IMemoryDataVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IMemoryData* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IMemoryData* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IMemoryData* This);
|
||||
|
||||
/*** IMemoryData methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *SetBuffer)(
|
||||
IMemoryData* This,
|
||||
DWORD cbSize,
|
||||
BYTE* pbData,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetInfo)(
|
||||
IMemoryData* This,
|
||||
DWORD* pdwLength,
|
||||
BYTE** ppbData,
|
||||
DWORD* pcbActualData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetActual)(
|
||||
IMemoryData* This,
|
||||
DWORD cbDataValid);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IMemoryData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IMemoryData_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IMemoryData_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IMemoryData methods ***/
|
||||
#define IMemoryData_SetBuffer(p,a,b,c) (p)->lpVtbl->SetBuffer(p,a,b,c)
|
||||
#define IMemoryData_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c)
|
||||
#define IMemoryData_SetActual(p,a) (p)->lpVtbl->SetActual(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IMemoryData_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IMemoryData methods ***/ \
|
||||
STDMETHOD_(HRESULT,SetBuffer)(THIS_ DWORD cbSize, BYTE* pbData, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,GetInfo)(THIS_ DWORD* pdwLength, BYTE** ppbData, DWORD* pcbActualData) PURE; \
|
||||
STDMETHOD_(HRESULT,SetActual)(THIS_ DWORD cbDataValid) PURE;
|
||||
|
||||
HRESULT CALLBACK IMemoryData_SetBuffer_Proxy(
|
||||
IMemoryData* This,
|
||||
DWORD cbSize,
|
||||
BYTE* pbData,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IMemoryData_SetBuffer_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMemoryData_GetInfo_Proxy(
|
||||
IMemoryData* This,
|
||||
DWORD* pdwLength,
|
||||
BYTE** ppbData,
|
||||
DWORD* pcbActualData);
|
||||
void __RPC_STUB IMemoryData_GetInfo_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMemoryData_SetActual_Proxy(
|
||||
IMemoryData* This,
|
||||
DWORD cbDataValid);
|
||||
void __RPC_STUB IMemoryData_SetActual_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IMemoryData_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IAudioData interface
|
||||
*/
|
||||
#ifndef __IAudioData_INTERFACE_DEFINED__
|
||||
#define __IAudioData_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAudioData, 0x54c719c0, 0xaf60, 0x11d0, 0x82,0x12, 0x00,0xc0,0x4f,0xc3,0x2c,0x45);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IAudioData : public IMemoryData
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetFormat(
|
||||
WAVEFORMATEX* pWaveFormatCurrent) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetFormat(
|
||||
const WAVEFORMATEX* lpWaveFormat) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IAudioDataVtbl IAudioDataVtbl;
|
||||
struct IAudioData {
|
||||
const IAudioDataVtbl* lpVtbl;
|
||||
};
|
||||
struct IAudioDataVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAudioData* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAudioData* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAudioData* This);
|
||||
|
||||
/*** IMemoryData methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *SetBuffer)(
|
||||
IAudioData* This,
|
||||
DWORD cbSize,
|
||||
BYTE* pbData,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetInfo)(
|
||||
IAudioData* This,
|
||||
DWORD* pdwLength,
|
||||
BYTE** ppbData,
|
||||
DWORD* pcbActualData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetActual)(
|
||||
IAudioData* This,
|
||||
DWORD cbDataValid);
|
||||
|
||||
/*** IAudioData methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetFormat)(
|
||||
IAudioData* This,
|
||||
WAVEFORMATEX* pWaveFormatCurrent);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetFormat)(
|
||||
IAudioData* This,
|
||||
const WAVEFORMATEX* lpWaveFormat);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAudioData_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IAudioData_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IAudioData_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IMemoryData methods ***/
|
||||
#define IAudioData_SetBuffer(p,a,b,c) (p)->lpVtbl->SetBuffer(p,a,b,c)
|
||||
#define IAudioData_GetInfo(p,a,b,c) (p)->lpVtbl->GetInfo(p,a,b,c)
|
||||
#define IAudioData_SetActual(p,a) (p)->lpVtbl->SetActual(p,a)
|
||||
/*** IAudioData methods ***/
|
||||
#define IAudioData_GetFormat(p,a) (p)->lpVtbl->GetFormat(p,a)
|
||||
#define IAudioData_SetFormat(p,a) (p)->lpVtbl->SetFormat(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IAudioData_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IMemoryData methods ***/ \
|
||||
STDMETHOD_(HRESULT,SetBuffer)(THIS_ DWORD cbSize, BYTE* pbData, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,GetInfo)(THIS_ DWORD* pdwLength, BYTE** ppbData, DWORD* pcbActualData) PURE; \
|
||||
STDMETHOD_(HRESULT,SetActual)(THIS_ DWORD cbDataValid) PURE; \
|
||||
/*** IAudioData methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetFormat)(THIS_ WAVEFORMATEX* pWaveFormatCurrent) PURE; \
|
||||
STDMETHOD_(HRESULT,SetFormat)(THIS_ const WAVEFORMATEX* lpWaveFormat) PURE;
|
||||
|
||||
HRESULT CALLBACK IAudioData_GetFormat_Proxy(
|
||||
IAudioData* This,
|
||||
WAVEFORMATEX* pWaveFormatCurrent);
|
||||
void __RPC_STUB IAudioData_GetFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IAudioData_SetFormat_Proxy(
|
||||
IAudioData* This,
|
||||
const WAVEFORMATEX* lpWaveFormat);
|
||||
void __RPC_STUB IAudioData_SetFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IAudioData_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_AUSTREAM_H */
|
743
include/comcat.h
743
include/comcat.h
|
@ -1,743 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from comcat.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_COMCAT_H
|
||||
#define __WIDL_COMCAT_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <unknwn.h>
|
||||
typedef GUID CATID;
|
||||
|
||||
typedef REFGUID REFCATID;
|
||||
|
||||
#define CATID_NULL GUID_NULL
|
||||
#define IsEqualCATID(rcatid1, rcatid2) IsEqualGUID(rcatid1, rcatid2)
|
||||
#define IEnumCATID IEnumGUID
|
||||
#define IID_IEnumCATID IID_IEnumGUID
|
||||
#define LPENUMCATID LPENUMGUID
|
||||
#define IEnumCLSID IEnumGUID
|
||||
#define IID_IEnumCLSID IID_IEnumGUID
|
||||
#define LPENUMCLSID LPENUMGUID
|
||||
#ifndef __IEnumGUID_FWD_DEFINED__
|
||||
#define __IEnumGUID_FWD_DEFINED__
|
||||
typedef struct IEnumGUID IEnumGUID;
|
||||
#endif
|
||||
|
||||
typedef IEnumGUID *LPENUMGUID;
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumGUID interface
|
||||
*/
|
||||
#ifndef __IEnumGUID_INTERFACE_DEFINED__
|
||||
#define __IEnumGUID_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IEnumGUID, 0x0002e000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IEnumGUID : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
ULONG celt,
|
||||
GUID* rgelt,
|
||||
ULONG* pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
ULONG celt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumGUID** ppenum) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IEnumGUIDVtbl IEnumGUIDVtbl;
|
||||
struct IEnumGUID {
|
||||
const IEnumGUIDVtbl* lpVtbl;
|
||||
};
|
||||
struct IEnumGUIDVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumGUID* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumGUID* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumGUID* This);
|
||||
|
||||
/*** IEnumGUID methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumGUID* This,
|
||||
ULONG celt,
|
||||
GUID* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumGUID* This,
|
||||
ULONG celt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumGUID* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumGUID* This,
|
||||
IEnumGUID** ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumGUID_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumGUID_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumGUID_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumGUID methods ***/
|
||||
#define IEnumGUID_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumGUID_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumGUID_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumGUID_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IEnumGUID_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IEnumGUID methods ***/ \
|
||||
STDMETHOD_(HRESULT,Next)(THIS_ ULONG celt, GUID* rgelt, ULONG* pceltFetched) PURE; \
|
||||
STDMETHOD_(HRESULT,Skip)(THIS_ ULONG celt) PURE; \
|
||||
STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Clone)(THIS_ IEnumGUID** ppenum) PURE;
|
||||
|
||||
HRESULT CALLBACK IEnumGUID_Next_Proxy(
|
||||
IEnumGUID* This,
|
||||
ULONG celt,
|
||||
GUID* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
void __RPC_STUB IEnumGUID_Next_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumGUID_Skip_Proxy(
|
||||
IEnumGUID* This,
|
||||
ULONG celt);
|
||||
void __RPC_STUB IEnumGUID_Skip_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumGUID_Reset_Proxy(
|
||||
IEnumGUID* This);
|
||||
void __RPC_STUB IEnumGUID_Reset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumGUID_Clone_Proxy(
|
||||
IEnumGUID* This,
|
||||
IEnumGUID** ppenum);
|
||||
void __RPC_STUB IEnumGUID_Clone_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IEnumGUID_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IEnumCATEGORYINFO_FWD_DEFINED__
|
||||
#define __IEnumCATEGORYINFO_FWD_DEFINED__
|
||||
typedef struct IEnumCATEGORYINFO IEnumCATEGORYINFO;
|
||||
#endif
|
||||
|
||||
typedef IEnumCATEGORYINFO *LPENUMCATEGORYINFO;
|
||||
|
||||
typedef struct tagCATEGORYINFO {
|
||||
CATID catid;
|
||||
LCID lcid;
|
||||
OLECHAR szDescription[128];
|
||||
} CATEGORYINFO, *LPCATEGORYINFO;
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumCATEGORYINFO interface
|
||||
*/
|
||||
#ifndef __IEnumCATEGORYINFO_INTERFACE_DEFINED__
|
||||
#define __IEnumCATEGORYINFO_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IEnumCATEGORYINFO, 0x0002e011, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IEnumCATEGORYINFO : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
ULONG celt,
|
||||
CATEGORYINFO* rgelt,
|
||||
ULONG* pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
ULONG celt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumCATEGORYINFO** ppenum) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IEnumCATEGORYINFOVtbl IEnumCATEGORYINFOVtbl;
|
||||
struct IEnumCATEGORYINFO {
|
||||
const IEnumCATEGORYINFOVtbl* lpVtbl;
|
||||
};
|
||||
struct IEnumCATEGORYINFOVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumCATEGORYINFO* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumCATEGORYINFO* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumCATEGORYINFO* This);
|
||||
|
||||
/*** IEnumCATEGORYINFO methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumCATEGORYINFO* This,
|
||||
ULONG celt,
|
||||
CATEGORYINFO* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumCATEGORYINFO* This,
|
||||
ULONG celt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumCATEGORYINFO* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumCATEGORYINFO* This,
|
||||
IEnumCATEGORYINFO** ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumCATEGORYINFO_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumCATEGORYINFO_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumCATEGORYINFO_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumCATEGORYINFO methods ***/
|
||||
#define IEnumCATEGORYINFO_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumCATEGORYINFO_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumCATEGORYINFO_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumCATEGORYINFO_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IEnumCATEGORYINFO_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IEnumCATEGORYINFO methods ***/ \
|
||||
STDMETHOD_(HRESULT,Next)(THIS_ ULONG celt, CATEGORYINFO* rgelt, ULONG* pceltFetched) PURE; \
|
||||
STDMETHOD_(HRESULT,Skip)(THIS_ ULONG celt) PURE; \
|
||||
STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Clone)(THIS_ IEnumCATEGORYINFO** ppenum) PURE;
|
||||
|
||||
HRESULT CALLBACK IEnumCATEGORYINFO_Next_Proxy(
|
||||
IEnumCATEGORYINFO* This,
|
||||
ULONG celt,
|
||||
CATEGORYINFO* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
void __RPC_STUB IEnumCATEGORYINFO_Next_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumCATEGORYINFO_Skip_Proxy(
|
||||
IEnumCATEGORYINFO* This,
|
||||
ULONG celt);
|
||||
void __RPC_STUB IEnumCATEGORYINFO_Skip_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumCATEGORYINFO_Reset_Proxy(
|
||||
IEnumCATEGORYINFO* This);
|
||||
void __RPC_STUB IEnumCATEGORYINFO_Reset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumCATEGORYINFO_Clone_Proxy(
|
||||
IEnumCATEGORYINFO* This,
|
||||
IEnumCATEGORYINFO** ppenum);
|
||||
void __RPC_STUB IEnumCATEGORYINFO_Clone_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IEnumCATEGORYINFO_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __ICatInformation_FWD_DEFINED__
|
||||
#define __ICatInformation_FWD_DEFINED__
|
||||
typedef struct ICatInformation ICatInformation;
|
||||
#endif
|
||||
|
||||
typedef ICatInformation *LPCATINFORMATION;
|
||||
|
||||
/*****************************************************************************
|
||||
* ICatInformation interface
|
||||
*/
|
||||
#ifndef __ICatInformation_INTERFACE_DEFINED__
|
||||
#define __ICatInformation_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ICatInformation, 0x0002e013, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ICatInformation : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumCategories(
|
||||
LCID lcid,
|
||||
IEnumCATEGORYINFO** ppenumCategoryInfo) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetCategoryDesc(
|
||||
REFCATID rcatid,
|
||||
LCID lcid,
|
||||
LPWSTR* pszDesc) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumClassesOfCategories(
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[],
|
||||
IEnumGUID** ppenumClsid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE IsClassOfCategories(
|
||||
REFCLSID rclsid,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumImplCategoriesOfClass(
|
||||
REFCLSID rclsid,
|
||||
IEnumGUID** ppenumCatid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumReqCategoriesOfClass(
|
||||
REFCLSID rclsid,
|
||||
IEnumGUID** ppenumCatid) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct ICatInformationVtbl ICatInformationVtbl;
|
||||
struct ICatInformation {
|
||||
const ICatInformationVtbl* lpVtbl;
|
||||
};
|
||||
struct ICatInformationVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ICatInformation* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ICatInformation* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ICatInformation* This);
|
||||
|
||||
/*** ICatInformation methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *EnumCategories)(
|
||||
ICatInformation* This,
|
||||
LCID lcid,
|
||||
IEnumCATEGORYINFO** ppenumCategoryInfo);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetCategoryDesc)(
|
||||
ICatInformation* This,
|
||||
REFCATID rcatid,
|
||||
LCID lcid,
|
||||
LPWSTR* pszDesc);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumClassesOfCategories)(
|
||||
ICatInformation* This,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[],
|
||||
IEnumGUID** ppenumClsid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *IsClassOfCategories)(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumImplCategoriesOfClass)(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
IEnumGUID** ppenumCatid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumReqCategoriesOfClass)(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
IEnumGUID** ppenumCatid);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define ICatInformation_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define ICatInformation_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define ICatInformation_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** ICatInformation methods ***/
|
||||
#define ICatInformation_EnumCategories(p,a,b) (p)->lpVtbl->EnumCategories(p,a,b)
|
||||
#define ICatInformation_GetCategoryDesc(p,a,b,c) (p)->lpVtbl->GetCategoryDesc(p,a,b,c)
|
||||
#define ICatInformation_EnumClassesOfCategories(p,a,b,c,d,e) (p)->lpVtbl->EnumClassesOfCategories(p,a,b,c,d,e)
|
||||
#define ICatInformation_IsClassOfCategories(p,a,b,c,d,e) (p)->lpVtbl->IsClassOfCategories(p,a,b,c,d,e)
|
||||
#define ICatInformation_EnumImplCategoriesOfClass(p,a,b) (p)->lpVtbl->EnumImplCategoriesOfClass(p,a,b)
|
||||
#define ICatInformation_EnumReqCategoriesOfClass(p,a,b) (p)->lpVtbl->EnumReqCategoriesOfClass(p,a,b)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define ICatInformation_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** ICatInformation methods ***/ \
|
||||
STDMETHOD_(HRESULT,EnumCategories)(THIS_ LCID lcid, IEnumCATEGORYINFO** ppenumCategoryInfo) PURE; \
|
||||
STDMETHOD_(HRESULT,GetCategoryDesc)(THIS_ REFCATID rcatid, LCID lcid, LPWSTR* pszDesc) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumClassesOfCategories)(THIS_ ULONG cImplemented, CATID rgcatidImpl[], ULONG cRequired, CATID rgcatidReq[], IEnumGUID** ppenumClsid) PURE; \
|
||||
STDMETHOD_(HRESULT,IsClassOfCategories)(THIS_ REFCLSID rclsid, ULONG cImplemented, CATID rgcatidImpl[], ULONG cRequired, CATID rgcatidReq[]) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumImplCategoriesOfClass)(THIS_ REFCLSID rclsid, IEnumGUID** ppenumCatid) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumReqCategoriesOfClass)(THIS_ REFCLSID rclsid, IEnumGUID** ppenumCatid) PURE;
|
||||
|
||||
HRESULT CALLBACK ICatInformation_EnumCategories_Proxy(
|
||||
ICatInformation* This,
|
||||
LCID lcid,
|
||||
IEnumCATEGORYINFO** ppenumCategoryInfo);
|
||||
void __RPC_STUB ICatInformation_EnumCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatInformation_GetCategoryDesc_Proxy(
|
||||
ICatInformation* This,
|
||||
REFCATID rcatid,
|
||||
LCID lcid,
|
||||
LPWSTR* pszDesc);
|
||||
void __RPC_STUB ICatInformation_GetCategoryDesc_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatInformation_RemoteEnumClassesOfCategories_Proxy(
|
||||
ICatInformation* This,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[],
|
||||
IEnumGUID** ppenumClsid);
|
||||
void __RPC_STUB ICatInformation_RemoteEnumClassesOfCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatInformation_EnumClassesOfCategories_Proxy(
|
||||
ICatInformation* This,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[],
|
||||
IEnumGUID** ppenumClsid);
|
||||
HRESULT __RPC_STUB ICatInformation_EnumClassesOfCategories_Stub(
|
||||
ICatInformation* This,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[],
|
||||
IEnumGUID** ppenumClsid);
|
||||
HRESULT CALLBACK ICatInformation_RemoteIsClassOfCategories_Proxy(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[]);
|
||||
void __RPC_STUB ICatInformation_RemoteIsClassOfCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatInformation_IsClassOfCategories_Proxy(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[]);
|
||||
HRESULT __RPC_STUB ICatInformation_IsClassOfCategories_Stub(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cImplemented,
|
||||
CATID rgcatidImpl[],
|
||||
ULONG cRequired,
|
||||
CATID rgcatidReq[]);
|
||||
HRESULT CALLBACK ICatInformation_EnumImplCategoriesOfClass_Proxy(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
IEnumGUID** ppenumCatid);
|
||||
void __RPC_STUB ICatInformation_EnumImplCategoriesOfClass_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatInformation_EnumReqCategoriesOfClass_Proxy(
|
||||
ICatInformation* This,
|
||||
REFCLSID rclsid,
|
||||
IEnumGUID** ppenumCatid);
|
||||
void __RPC_STUB ICatInformation_EnumReqCategoriesOfClass_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __ICatInformation_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __ICatRegister_FWD_DEFINED__
|
||||
#define __ICatRegister_FWD_DEFINED__
|
||||
typedef struct ICatRegister ICatRegister;
|
||||
#endif
|
||||
|
||||
typedef ICatRegister *LPCATREGISTER;
|
||||
|
||||
/*****************************************************************************
|
||||
* ICatRegister interface
|
||||
*/
|
||||
#ifndef __ICatRegister_INTERFACE_DEFINED__
|
||||
#define __ICatRegister_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_ICatRegister, 0x0002e012, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct ICatRegister : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE RegisterCategories(
|
||||
ULONG cCategories,
|
||||
CATEGORYINFO rgCategoryInfo[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE UnRegisterCategories(
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RegisterClassImplCategories(
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE UnRegisterClassImplCategories(
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE RegisterClassReqCategories(
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE UnRegisterClassReqCategories(
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct ICatRegisterVtbl ICatRegisterVtbl;
|
||||
struct ICatRegister {
|
||||
const ICatRegisterVtbl* lpVtbl;
|
||||
};
|
||||
struct ICatRegisterVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
ICatRegister* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
ICatRegister* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
ICatRegister* This);
|
||||
|
||||
/*** ICatRegister methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *RegisterCategories)(
|
||||
ICatRegister* This,
|
||||
ULONG cCategories,
|
||||
CATEGORYINFO rgCategoryInfo[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *UnRegisterCategories)(
|
||||
ICatRegister* This,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RegisterClassImplCategories)(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *UnRegisterClassImplCategories)(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *RegisterClassReqCategories)(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *UnRegisterClassReqCategories)(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define ICatRegister_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define ICatRegister_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define ICatRegister_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** ICatRegister methods ***/
|
||||
#define ICatRegister_RegisterCategories(p,a,b) (p)->lpVtbl->RegisterCategories(p,a,b)
|
||||
#define ICatRegister_UnRegisterCategories(p,a,b) (p)->lpVtbl->UnRegisterCategories(p,a,b)
|
||||
#define ICatRegister_RegisterClassImplCategories(p,a,b,c) (p)->lpVtbl->RegisterClassImplCategories(p,a,b,c)
|
||||
#define ICatRegister_UnRegisterClassImplCategories(p,a,b,c) (p)->lpVtbl->UnRegisterClassImplCategories(p,a,b,c)
|
||||
#define ICatRegister_RegisterClassReqCategories(p,a,b,c) (p)->lpVtbl->RegisterClassReqCategories(p,a,b,c)
|
||||
#define ICatRegister_UnRegisterClassReqCategories(p,a,b,c) (p)->lpVtbl->UnRegisterClassReqCategories(p,a,b,c)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define ICatRegister_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** ICatRegister methods ***/ \
|
||||
STDMETHOD_(HRESULT,RegisterCategories)(THIS_ ULONG cCategories, CATEGORYINFO rgCategoryInfo[]) PURE; \
|
||||
STDMETHOD_(HRESULT,UnRegisterCategories)(THIS_ ULONG cCategories, CATID rgcatid[]) PURE; \
|
||||
STDMETHOD_(HRESULT,RegisterClassImplCategories)(THIS_ REFCLSID rclsid, ULONG cCategories, CATID rgcatid[]) PURE; \
|
||||
STDMETHOD_(HRESULT,UnRegisterClassImplCategories)(THIS_ REFCLSID rclsid, ULONG cCategories, CATID rgcatid[]) PURE; \
|
||||
STDMETHOD_(HRESULT,RegisterClassReqCategories)(THIS_ REFCLSID rclsid, ULONG cCategories, CATID rgcatid[]) PURE; \
|
||||
STDMETHOD_(HRESULT,UnRegisterClassReqCategories)(THIS_ REFCLSID rclsid, ULONG cCategories, CATID rgcatid[]) PURE;
|
||||
|
||||
HRESULT CALLBACK ICatRegister_RegisterCategories_Proxy(
|
||||
ICatRegister* This,
|
||||
ULONG cCategories,
|
||||
CATEGORYINFO rgCategoryInfo[]);
|
||||
void __RPC_STUB ICatRegister_RegisterCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatRegister_UnRegisterCategories_Proxy(
|
||||
ICatRegister* This,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
void __RPC_STUB ICatRegister_UnRegisterCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatRegister_RegisterClassImplCategories_Proxy(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
void __RPC_STUB ICatRegister_RegisterClassImplCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatRegister_UnRegisterClassImplCategories_Proxy(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
void __RPC_STUB ICatRegister_UnRegisterClassImplCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatRegister_RegisterClassReqCategories_Proxy(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
void __RPC_STUB ICatRegister_RegisterClassReqCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK ICatRegister_UnRegisterClassReqCategories_Proxy(
|
||||
ICatRegister* This,
|
||||
REFCLSID rclsid,
|
||||
ULONG cCategories,
|
||||
CATID rgcatid[]);
|
||||
void __RPC_STUB ICatRegister_UnRegisterClassReqCategories_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __ICatRegister_INTERFACE_DEFINED__ */
|
||||
|
||||
DEFINE_GUID( CATID_Insertable, 0x40fc6ed3, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_Control, 0x40fc6ed4, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_Programmable, 0x40fc6ed5, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_IsShortcut, 0x40fc6ed6, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_NeverShowExt, 0x40fc6ed7, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_DocObject, 0x40fc6ed8, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_Printable, 0x40fc6ed9, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);
|
||||
DEFINE_GUID( CATID_RequiresDataPathHost, 0x0de86a50, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToMoniker, 0x0de86a51, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToStorage, 0x0de86a52, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToStreamInit, 0x0de86a53, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToStream, 0x0de86a54, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToMemory, 0x0de86a55, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToFile, 0x0de86a56, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_PersistsToPropertyBag, 0x0de86a57, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_InternetAware, 0x0de86a58, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);
|
||||
DEFINE_GUID( CATID_DesignTimeUIActivatableControl, 0xf2bb56d1, 0xdb07, 0x11d1, 0xaa, 0x6b, 0x00, 0x60, 0x97, 0xdb, 0x95, 0x39);
|
||||
DEFINE_GUID(CLSID_StdComponentCategoriesMgr, 0x0002e005, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_COMCAT_H */
|
|
@ -1,405 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from ddstream.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_DDSTREAM_H
|
||||
#define __WIDL_DDSTREAM_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <unknwn.h>
|
||||
#include <mmstream.h>
|
||||
#ifndef __WINE_DDRAW_H
|
||||
typedef void *LPDDSURFACEDESC;
|
||||
|
||||
typedef struct tDDSURFACEDESC DDSURFACEDESC;
|
||||
|
||||
#ifndef __IDirectDraw_FWD_DEFINED__
|
||||
#define __IDirectDraw_FWD_DEFINED__
|
||||
typedef struct IDirectDraw IDirectDraw;
|
||||
#endif
|
||||
|
||||
#ifndef __IDirectDrawSurface_FWD_DEFINED__
|
||||
#define __IDirectDrawSurface_FWD_DEFINED__
|
||||
typedef struct IDirectDrawSurface IDirectDrawSurface;
|
||||
#endif
|
||||
|
||||
#ifndef __IDirectDrawPalette_FWD_DEFINED__
|
||||
#define __IDirectDrawPalette_FWD_DEFINED__
|
||||
typedef struct IDirectDrawPalette IDirectDrawPalette;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#include <ddraw.h>
|
||||
enum {
|
||||
DDSFF_PROGRESSIVERENDER = 0x1
|
||||
};
|
||||
|
||||
#ifndef __IDirectDrawMediaStream_FWD_DEFINED__
|
||||
#define __IDirectDrawMediaStream_FWD_DEFINED__
|
||||
typedef struct IDirectDrawMediaStream IDirectDrawMediaStream;
|
||||
#endif
|
||||
|
||||
#ifndef __IDirectDrawStreamSample_FWD_DEFINED__
|
||||
#define __IDirectDrawStreamSample_FWD_DEFINED__
|
||||
typedef struct IDirectDrawStreamSample IDirectDrawStreamSample;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectDrawMediaStream interface
|
||||
*/
|
||||
#ifndef __IDirectDrawMediaStream_INTERFACE_DEFINED__
|
||||
#define __IDirectDrawMediaStream_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IDirectDrawMediaStream, 0xf4104fce, 0x9a70, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDirectDrawMediaStream : public IMediaStream
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetFormat(
|
||||
DDSURFACEDESC* pDDSDCurrent,
|
||||
IDirectDrawPalette** ppDirectDrawPalette,
|
||||
DDSURFACEDESC* pDDSDDesired,
|
||||
DWORD* pdwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetFormat(
|
||||
const DDSURFACEDESC* pDDSurfaceDesc,
|
||||
IDirectDrawPalette* pDirectDrawPalette) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetDirectDraw(
|
||||
IDirectDraw** ppDirectDraw) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetDirectDraw(
|
||||
IDirectDraw* pDirectDraw) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateSample(
|
||||
IDirectDrawSurface* pSurface,
|
||||
const RECT* pRect,
|
||||
DWORD dwFlags,
|
||||
IDirectDrawStreamSample** ppSample) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetTimePerFrame(
|
||||
STREAM_TIME* pFrameTime) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IDirectDrawMediaStreamVtbl IDirectDrawMediaStreamVtbl;
|
||||
struct IDirectDrawMediaStream {
|
||||
const IDirectDrawMediaStreamVtbl* lpVtbl;
|
||||
};
|
||||
struct IDirectDrawMediaStreamVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IDirectDrawMediaStream* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IDirectDrawMediaStream* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IDirectDrawMediaStream* This);
|
||||
|
||||
/*** IMediaStream methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)(
|
||||
IDirectDrawMediaStream* This,
|
||||
IMultiMediaStream** ppMultiMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetInformation)(
|
||||
IDirectDrawMediaStream* This,
|
||||
MSPID* pPurposeId,
|
||||
STREAM_TYPE* pType);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSameFormat)(
|
||||
IDirectDrawMediaStream* This,
|
||||
IMediaStream* pStreamThatHasDesiredFormat,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *AllocateSample)(
|
||||
IDirectDrawMediaStream* This,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateSharedSample)(
|
||||
IDirectDrawMediaStream* This,
|
||||
IStreamSample* pExistingSample,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppNewSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SendEndOfStream)(
|
||||
IDirectDrawMediaStream* This,
|
||||
DWORD dwFlags);
|
||||
|
||||
/*** IDirectDrawMediaStream methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetFormat)(
|
||||
IDirectDrawMediaStream* This,
|
||||
DDSURFACEDESC* pDDSDCurrent,
|
||||
IDirectDrawPalette** ppDirectDrawPalette,
|
||||
DDSURFACEDESC* pDDSDDesired,
|
||||
DWORD* pdwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetFormat)(
|
||||
IDirectDrawMediaStream* This,
|
||||
const DDSURFACEDESC* pDDSurfaceDesc,
|
||||
IDirectDrawPalette* pDirectDrawPalette);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetDirectDraw)(
|
||||
IDirectDrawMediaStream* This,
|
||||
IDirectDraw** ppDirectDraw);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetDirectDraw)(
|
||||
IDirectDrawMediaStream* This,
|
||||
IDirectDraw* pDirectDraw);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateSample)(
|
||||
IDirectDrawMediaStream* This,
|
||||
IDirectDrawSurface* pSurface,
|
||||
const RECT* pRect,
|
||||
DWORD dwFlags,
|
||||
IDirectDrawStreamSample** ppSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTimePerFrame)(
|
||||
IDirectDrawMediaStream* This,
|
||||
STREAM_TIME* pFrameTime);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectDrawMediaStream_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDirectDrawMediaStream_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IDirectDrawMediaStream_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IMediaStream methods ***/
|
||||
#define IDirectDrawMediaStream_GetMultiMediaStream(p,a) (p)->lpVtbl->GetMultiMediaStream(p,a)
|
||||
#define IDirectDrawMediaStream_GetInformation(p,a,b) (p)->lpVtbl->GetInformation(p,a,b)
|
||||
#define IDirectDrawMediaStream_SetSameFormat(p,a,b) (p)->lpVtbl->SetSameFormat(p,a,b)
|
||||
#define IDirectDrawMediaStream_AllocateSample(p,a,b) (p)->lpVtbl->AllocateSample(p,a,b)
|
||||
#define IDirectDrawMediaStream_CreateSharedSample(p,a,b,c) (p)->lpVtbl->CreateSharedSample(p,a,b,c)
|
||||
#define IDirectDrawMediaStream_SendEndOfStream(p,a) (p)->lpVtbl->SendEndOfStream(p,a)
|
||||
/*** IDirectDrawMediaStream methods ***/
|
||||
#define IDirectDrawMediaStream_GetFormat(p,a,b,c,d) (p)->lpVtbl->GetFormat(p,a,b,c,d)
|
||||
#define IDirectDrawMediaStream_SetFormat(p,a,b) (p)->lpVtbl->SetFormat(p,a,b)
|
||||
#define IDirectDrawMediaStream_GetDirectDraw(p,a) (p)->lpVtbl->GetDirectDraw(p,a)
|
||||
#define IDirectDrawMediaStream_SetDirectDraw(p,a) (p)->lpVtbl->SetDirectDraw(p,a)
|
||||
#define IDirectDrawMediaStream_CreateSample(p,a,b,c,d) (p)->lpVtbl->CreateSample(p,a,b,c,d)
|
||||
#define IDirectDrawMediaStream_GetTimePerFrame(p,a) (p)->lpVtbl->GetTimePerFrame(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IDirectDrawMediaStream_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IMediaStream methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetMultiMediaStream)(THIS_ IMultiMediaStream** ppMultiMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetInformation)(THIS_ MSPID* pPurposeId, STREAM_TYPE* pType) PURE; \
|
||||
STDMETHOD_(HRESULT,SetSameFormat)(THIS_ IMediaStream* pStreamThatHasDesiredFormat, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,AllocateSample)(THIS_ DWORD dwFlags, IStreamSample** ppSample) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateSharedSample)(THIS_ IStreamSample* pExistingSample, DWORD dwFlags, IStreamSample** ppNewSample) PURE; \
|
||||
STDMETHOD_(HRESULT,SendEndOfStream)(THIS_ DWORD dwFlags) PURE; \
|
||||
/*** IDirectDrawMediaStream methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetFormat)(THIS_ DDSURFACEDESC* pDDSDCurrent, IDirectDrawPalette** ppDirectDrawPalette, DDSURFACEDESC* pDDSDDesired, DWORD* pdwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,SetFormat)(THIS_ const DDSURFACEDESC* pDDSurfaceDesc, IDirectDrawPalette* pDirectDrawPalette) PURE; \
|
||||
STDMETHOD_(HRESULT,GetDirectDraw)(THIS_ IDirectDraw** ppDirectDraw) PURE; \
|
||||
STDMETHOD_(HRESULT,SetDirectDraw)(THIS_ IDirectDraw* pDirectDraw) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateSample)(THIS_ IDirectDrawSurface* pSurface, const RECT* pRect, DWORD dwFlags, IDirectDrawStreamSample** ppSample) PURE; \
|
||||
STDMETHOD_(HRESULT,GetTimePerFrame)(THIS_ STREAM_TIME* pFrameTime) PURE;
|
||||
|
||||
HRESULT CALLBACK IDirectDrawMediaStream_GetFormat_Proxy(
|
||||
IDirectDrawMediaStream* This,
|
||||
DDSURFACEDESC* pDDSDCurrent,
|
||||
IDirectDrawPalette** ppDirectDrawPalette,
|
||||
DDSURFACEDESC* pDDSDDesired,
|
||||
DWORD* pdwFlags);
|
||||
void __RPC_STUB IDirectDrawMediaStream_GetFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDirectDrawMediaStream_SetFormat_Proxy(
|
||||
IDirectDrawMediaStream* This,
|
||||
const DDSURFACEDESC* pDDSurfaceDesc,
|
||||
IDirectDrawPalette* pDirectDrawPalette);
|
||||
void __RPC_STUB IDirectDrawMediaStream_SetFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDirectDrawMediaStream_GetDirectDraw_Proxy(
|
||||
IDirectDrawMediaStream* This,
|
||||
IDirectDraw** ppDirectDraw);
|
||||
void __RPC_STUB IDirectDrawMediaStream_GetDirectDraw_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDirectDrawMediaStream_SetDirectDraw_Proxy(
|
||||
IDirectDrawMediaStream* This,
|
||||
IDirectDraw* pDirectDraw);
|
||||
void __RPC_STUB IDirectDrawMediaStream_SetDirectDraw_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDirectDrawMediaStream_CreateSample_Proxy(
|
||||
IDirectDrawMediaStream* This,
|
||||
IDirectDrawSurface* pSurface,
|
||||
const RECT* pRect,
|
||||
DWORD dwFlags,
|
||||
IDirectDrawStreamSample** ppSample);
|
||||
void __RPC_STUB IDirectDrawMediaStream_CreateSample_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDirectDrawMediaStream_GetTimePerFrame_Proxy(
|
||||
IDirectDrawMediaStream* This,
|
||||
STREAM_TIME* pFrameTime);
|
||||
void __RPC_STUB IDirectDrawMediaStream_GetTimePerFrame_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IDirectDrawMediaStream_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IDirectDrawStreamSample interface
|
||||
*/
|
||||
#ifndef __IDirectDrawStreamSample_INTERFACE_DEFINED__
|
||||
#define __IDirectDrawStreamSample_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IDirectDrawStreamSample, 0xf4104fcf, 0x9a70, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDirectDrawStreamSample : public IStreamSample
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSurface(
|
||||
IDirectDrawSurface** ppDirectDrawSurface,
|
||||
RECT* pRect) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetRect(
|
||||
const RECT* pRect) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IDirectDrawStreamSampleVtbl IDirectDrawStreamSampleVtbl;
|
||||
struct IDirectDrawStreamSample {
|
||||
const IDirectDrawStreamSampleVtbl* lpVtbl;
|
||||
};
|
||||
struct IDirectDrawStreamSampleVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IDirectDrawStreamSample* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IDirectDrawStreamSample* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IDirectDrawStreamSample* This);
|
||||
|
||||
/*** IStreamSample methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetMediaStream)(
|
||||
IDirectDrawStreamSample* This,
|
||||
IMediaStream** ppMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSampleTimes)(
|
||||
IDirectDrawStreamSample* This,
|
||||
STREAM_TIME* pStartTime,
|
||||
STREAM_TIME* pEndTime,
|
||||
STREAM_TIME* pCurrentTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSampleTimes)(
|
||||
IDirectDrawStreamSample* This,
|
||||
const STREAM_TIME* pStartTime,
|
||||
const STREAM_TIME* pEndTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Update)(
|
||||
IDirectDrawStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
HANDLE hEvent,
|
||||
PAPCFUNC pfnAPC,
|
||||
DWORD dwAPCData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CompletionStatus)(
|
||||
IDirectDrawStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
DWORD dwMilliseconds);
|
||||
|
||||
/*** IDirectDrawStreamSample methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetSurface)(
|
||||
IDirectDrawStreamSample* This,
|
||||
IDirectDrawSurface** ppDirectDrawSurface,
|
||||
RECT* pRect);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetRect)(
|
||||
IDirectDrawStreamSample* This,
|
||||
const RECT* pRect);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IDirectDrawStreamSample_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDirectDrawStreamSample_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IDirectDrawStreamSample_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IStreamSample methods ***/
|
||||
#define IDirectDrawStreamSample_GetMediaStream(p,a) (p)->lpVtbl->GetMediaStream(p,a)
|
||||
#define IDirectDrawStreamSample_GetSampleTimes(p,a,b,c) (p)->lpVtbl->GetSampleTimes(p,a,b,c)
|
||||
#define IDirectDrawStreamSample_SetSampleTimes(p,a,b) (p)->lpVtbl->SetSampleTimes(p,a,b)
|
||||
#define IDirectDrawStreamSample_Update(p,a,b,c,d) (p)->lpVtbl->Update(p,a,b,c,d)
|
||||
#define IDirectDrawStreamSample_CompletionStatus(p,a,b) (p)->lpVtbl->CompletionStatus(p,a,b)
|
||||
/*** IDirectDrawStreamSample methods ***/
|
||||
#define IDirectDrawStreamSample_GetSurface(p,a,b) (p)->lpVtbl->GetSurface(p,a,b)
|
||||
#define IDirectDrawStreamSample_SetRect(p,a) (p)->lpVtbl->SetRect(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IDirectDrawStreamSample_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IStreamSample methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetMediaStream)(THIS_ IMediaStream** ppMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetSampleTimes)(THIS_ STREAM_TIME* pStartTime, STREAM_TIME* pEndTime, STREAM_TIME* pCurrentTime) PURE; \
|
||||
STDMETHOD_(HRESULT,SetSampleTimes)(THIS_ const STREAM_TIME* pStartTime, const STREAM_TIME* pEndTime) PURE; \
|
||||
STDMETHOD_(HRESULT,Update)(THIS_ DWORD dwFlags, HANDLE hEvent, PAPCFUNC pfnAPC, DWORD dwAPCData) PURE; \
|
||||
STDMETHOD_(HRESULT,CompletionStatus)(THIS_ DWORD dwFlags, DWORD dwMilliseconds) PURE; \
|
||||
/*** IDirectDrawStreamSample methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetSurface)(THIS_ IDirectDrawSurface** ppDirectDrawSurface, RECT* pRect) PURE; \
|
||||
STDMETHOD_(HRESULT,SetRect)(THIS_ const RECT* pRect) PURE;
|
||||
|
||||
HRESULT CALLBACK IDirectDrawStreamSample_GetSurface_Proxy(
|
||||
IDirectDrawStreamSample* This,
|
||||
IDirectDrawSurface** ppDirectDrawSurface,
|
||||
RECT* pRect);
|
||||
void __RPC_STUB IDirectDrawStreamSample_GetSurface_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDirectDrawStreamSample_SetRect_Proxy(
|
||||
IDirectDrawStreamSample* This,
|
||||
const RECT* pRect);
|
||||
void __RPC_STUB IDirectDrawStreamSample_SetRect_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IDirectDrawStreamSample_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_DDSTREAM_H */
|
685
include/dispex.h
685
include/dispex.h
|
@ -1,685 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from dispex.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_DISPEX_H
|
||||
#define __WIDL_DISPEX_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <ocidl.h>
|
||||
#include <oleidl.h>
|
||||
#include <oaidl.h>
|
||||
#include <servprov.h>
|
||||
#define fdexNameCaseSensitive 0x00000001L
|
||||
#define fdexNameEnsure 0x00000002L
|
||||
#define fdexNameImplicit 0x00000004L
|
||||
#define fdexNameCaseInsensitive 0x00000008L
|
||||
#define fdexNameInternal 0x00000010L
|
||||
#define fdexNameNoDynamicProperties 0x00000020L
|
||||
#define fdexPropCanGet 0x00000001L
|
||||
#define fdexPropCannotGet 0x00000002L
|
||||
#define fdexPropCanPut 0x00000004L
|
||||
#define fdexPropCannotPut 0x00000008L
|
||||
#define fdexPropCanPutRef 0x00000010L
|
||||
#define fdexPropCannotPutRef 0x00000020L
|
||||
#define fdexPropNoSideEffects 0x00000040L
|
||||
#define fdexPropDynamicType 0x00000080L
|
||||
#define fdexPropCanCall 0x00000100L
|
||||
#define fdexPropCannotCall 0x00000200L
|
||||
#define fdexPropCanConstruct 0x00000400L
|
||||
#define fdexPropCannotConstruct 0x00000800L
|
||||
#define fdexPropCanSourceEvents 0x00001000L
|
||||
#define fdexPropCannotSourceEvents 0x00002000L
|
||||
#define fdexEnumDefault 0x00000001L
|
||||
#define fdexEnumAll 0x00000002L
|
||||
#define grfdexPropCanAll \
|
||||
(fdexPropCanGet | fdexPropCanPut | fdexPropCanPutRef | \
|
||||
fdexPropCanCall | fdexPropCanConstruct | fdexPropCanSourceEvents)
|
||||
#define grfdexPropCannotAll \
|
||||
(fdexPropCannotGet | fdexPropCannotPut | fdexPropCannotPutRef | \
|
||||
fdexPropCannotCall | fdexPropCannotConstruct | fdexPropCannotSourceEvents)
|
||||
#define grfdexPropExtraAll \
|
||||
(fdexPropNoSideEffects | fdexPropDynamicType)
|
||||
#define grfdexPropAll \
|
||||
(grfdexPropCanAll | grfdexPropCannotAll | grfdexPropExtraAll)
|
||||
#define DISPATCH_CONSTRUCT 0x4000
|
||||
#define DISPID_THIS (-613)
|
||||
#define DISPID_STARTENUM DISPID_UNKNOWN
|
||||
#ifndef __IDispatchEx_FWD_DEFINED__
|
||||
#define __IDispatchEx_FWD_DEFINED__
|
||||
typedef struct IDispatchEx IDispatchEx;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IDispatchEx interface
|
||||
*/
|
||||
#ifndef __IDispatchEx_INTERFACE_DEFINED__
|
||||
#define __IDispatchEx_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IDispatchEx, 0xa6ef9860, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDispatchEx : public IDispatch
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetDispID(
|
||||
BSTR bstrName,
|
||||
DWORD grfdex,
|
||||
DISPID* pid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE InvokeEx(
|
||||
DISPID id,
|
||||
LCID lcid,
|
||||
WORD wFlags,
|
||||
DISPPARAMS* pdp,
|
||||
VARIANT* pvarRes,
|
||||
EXCEPINFO* pei,
|
||||
IServiceProvider* pspCaller) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteMemberByName(
|
||||
BSTR bstrName,
|
||||
DWORD grfdex) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteMemberByDispID(
|
||||
DISPID id) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetMemberProperties(
|
||||
DISPID id,
|
||||
DWORD grfdexFetch,
|
||||
DWORD* pgrfdex) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetMemberName(
|
||||
DISPID id,
|
||||
BSTR* pbstrName) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetNextDispID(
|
||||
DWORD grfdex,
|
||||
DISPID id,
|
||||
DISPID* pid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetNameSpaceParent(
|
||||
IUnknown** ppunk) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IDispatchExVtbl IDispatchExVtbl;
|
||||
struct IDispatchEx {
|
||||
const IDispatchExVtbl* lpVtbl;
|
||||
};
|
||||
struct IDispatchExVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IDispatchEx* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IDispatchEx* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IDispatchEx* This);
|
||||
|
||||
/*** IDispatch methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
||||
IDispatchEx* This,
|
||||
UINT* pctinfo);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
||||
IDispatchEx* This,
|
||||
UINT iTInfo,
|
||||
LCID lcid,
|
||||
ITypeInfo** ppTInfo);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
||||
IDispatchEx* This,
|
||||
REFIID riid,
|
||||
LPOLESTR* rgszNames,
|
||||
UINT cNames,
|
||||
LCID lcid,
|
||||
DISPID* rgDispId);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Invoke)(
|
||||
IDispatchEx* This,
|
||||
DISPID dispIdMember,
|
||||
REFIID riid,
|
||||
LCID lcid,
|
||||
WORD wFlags,
|
||||
DISPPARAMS* pDispParams,
|
||||
VARIANT* pVarResult,
|
||||
EXCEPINFO* pExcepInfo,
|
||||
UINT* puArgErr);
|
||||
|
||||
/*** IDispatchEx methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetDispID)(
|
||||
IDispatchEx* This,
|
||||
BSTR bstrName,
|
||||
DWORD grfdex,
|
||||
DISPID* pid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *InvokeEx)(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
LCID lcid,
|
||||
WORD wFlags,
|
||||
DISPPARAMS* pdp,
|
||||
VARIANT* pvarRes,
|
||||
EXCEPINFO* pei,
|
||||
IServiceProvider* pspCaller);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteMemberByName)(
|
||||
IDispatchEx* This,
|
||||
BSTR bstrName,
|
||||
DWORD grfdex);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteMemberByDispID)(
|
||||
IDispatchEx* This,
|
||||
DISPID id);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetMemberProperties)(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
DWORD grfdexFetch,
|
||||
DWORD* pgrfdex);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetMemberName)(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
BSTR* pbstrName);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetNextDispID)(
|
||||
IDispatchEx* This,
|
||||
DWORD grfdex,
|
||||
DISPID id,
|
||||
DISPID* pid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetNameSpaceParent)(
|
||||
IDispatchEx* This,
|
||||
IUnknown** ppunk);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IDispatchEx_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDispatchEx_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IDispatchEx_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IDispatch methods ***/
|
||||
#define IDispatchEx_GetTypeInfoCount(p,a) (p)->lpVtbl->GetTypeInfoCount(p,a)
|
||||
#define IDispatchEx_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c)
|
||||
#define IDispatchEx_GetIDsOfNames(p,a,b,c,d,e) (p)->lpVtbl->GetIDsOfNames(p,a,b,c,d,e)
|
||||
#define IDispatchEx_Invoke(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Invoke(p,a,b,c,d,e,f,g,h)
|
||||
/*** IDispatchEx methods ***/
|
||||
#define IDispatchEx_GetDispID(p,a,b,c) (p)->lpVtbl->GetDispID(p,a,b,c)
|
||||
#define IDispatchEx_InvokeEx(p,a,b,c,d,e,f,g) (p)->lpVtbl->InvokeEx(p,a,b,c,d,e,f,g)
|
||||
#define IDispatchEx_DeleteMemberByName(p,a,b) (p)->lpVtbl->DeleteMemberByName(p,a,b)
|
||||
#define IDispatchEx_DeleteMemberByDispID(p,a) (p)->lpVtbl->DeleteMemberByDispID(p,a)
|
||||
#define IDispatchEx_GetMemberProperties(p,a,b,c) (p)->lpVtbl->GetMemberProperties(p,a,b,c)
|
||||
#define IDispatchEx_GetMemberName(p,a,b) (p)->lpVtbl->GetMemberName(p,a,b)
|
||||
#define IDispatchEx_GetNextDispID(p,a,b,c) (p)->lpVtbl->GetNextDispID(p,a,b,c)
|
||||
#define IDispatchEx_GetNameSpaceParent(p,a) (p)->lpVtbl->GetNameSpaceParent(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IDispatchEx_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IDispatch methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT* pctinfo) PURE; \
|
||||
STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) PURE; \
|
||||
STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) PURE; \
|
||||
STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) PURE; \
|
||||
/*** IDispatchEx methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetDispID)(THIS_ BSTR bstrName, DWORD grfdex, DISPID* pid) PURE; \
|
||||
STDMETHOD_(HRESULT,InvokeEx)(THIS_ DISPID id, LCID lcid, WORD wFlags, DISPPARAMS* pdp, VARIANT* pvarRes, EXCEPINFO* pei, IServiceProvider* pspCaller) PURE; \
|
||||
STDMETHOD_(HRESULT,DeleteMemberByName)(THIS_ BSTR bstrName, DWORD grfdex) PURE; \
|
||||
STDMETHOD_(HRESULT,DeleteMemberByDispID)(THIS_ DISPID id) PURE; \
|
||||
STDMETHOD_(HRESULT,GetMemberProperties)(THIS_ DISPID id, DWORD grfdexFetch, DWORD* pgrfdex) PURE; \
|
||||
STDMETHOD_(HRESULT,GetMemberName)(THIS_ DISPID id, BSTR* pbstrName) PURE; \
|
||||
STDMETHOD_(HRESULT,GetNextDispID)(THIS_ DWORD grfdex, DISPID id, DISPID* pid) PURE; \
|
||||
STDMETHOD_(HRESULT,GetNameSpaceParent)(THIS_ IUnknown** ppunk) PURE;
|
||||
|
||||
HRESULT CALLBACK IDispatchEx_GetDispID_Proxy(
|
||||
IDispatchEx* This,
|
||||
BSTR bstrName,
|
||||
DWORD grfdex,
|
||||
DISPID* pid);
|
||||
void __RPC_STUB IDispatchEx_GetDispID_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_RemoteInvokeEx_Proxy(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
LCID lcid,
|
||||
DWORD dwFlags,
|
||||
DISPPARAMS* pdp,
|
||||
VARIANT* pvarRes,
|
||||
EXCEPINFO* pei,
|
||||
IServiceProvider* pspCaller,
|
||||
UINT cvarRefArg,
|
||||
UINT* rgiRefArg,
|
||||
VARIANT* rgvarRefArg);
|
||||
void __RPC_STUB IDispatchEx_RemoteInvokeEx_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_InvokeEx_Proxy(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
LCID lcid,
|
||||
WORD wFlags,
|
||||
DISPPARAMS* pdp,
|
||||
VARIANT* pvarRes,
|
||||
EXCEPINFO* pei,
|
||||
IServiceProvider* pspCaller);
|
||||
HRESULT __RPC_STUB IDispatchEx_InvokeEx_Stub(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
LCID lcid,
|
||||
DWORD dwFlags,
|
||||
DISPPARAMS* pdp,
|
||||
VARIANT* pvarRes,
|
||||
EXCEPINFO* pei,
|
||||
IServiceProvider* pspCaller,
|
||||
UINT cvarRefArg,
|
||||
UINT* rgiRefArg,
|
||||
VARIANT* rgvarRefArg);
|
||||
HRESULT CALLBACK IDispatchEx_DeleteMemberByName_Proxy(
|
||||
IDispatchEx* This,
|
||||
BSTR bstrName,
|
||||
DWORD grfdex);
|
||||
void __RPC_STUB IDispatchEx_DeleteMemberByName_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_DeleteMemberByDispID_Proxy(
|
||||
IDispatchEx* This,
|
||||
DISPID id);
|
||||
void __RPC_STUB IDispatchEx_DeleteMemberByDispID_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_GetMemberProperties_Proxy(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
DWORD grfdexFetch,
|
||||
DWORD* pgrfdex);
|
||||
void __RPC_STUB IDispatchEx_GetMemberProperties_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_GetMemberName_Proxy(
|
||||
IDispatchEx* This,
|
||||
DISPID id,
|
||||
BSTR* pbstrName);
|
||||
void __RPC_STUB IDispatchEx_GetMemberName_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_GetNextDispID_Proxy(
|
||||
IDispatchEx* This,
|
||||
DWORD grfdex,
|
||||
DISPID id,
|
||||
DISPID* pid);
|
||||
void __RPC_STUB IDispatchEx_GetNextDispID_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispatchEx_GetNameSpaceParent_Proxy(
|
||||
IDispatchEx* This,
|
||||
IUnknown** ppunk);
|
||||
void __RPC_STUB IDispatchEx_GetNameSpaceParent_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IDispatchEx_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IDispError_FWD_DEFINED__
|
||||
#define __IDispError_FWD_DEFINED__
|
||||
typedef struct IDispError IDispError;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IDispError interface
|
||||
*/
|
||||
#ifndef __IDispError_INTERFACE_DEFINED__
|
||||
#define __IDispError_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IDispError, 0xa6ef9861, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IDispError : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryErrorInfo(
|
||||
GUID guidErrorType,
|
||||
IDispError** ppde) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetNext(
|
||||
IDispError** ppde) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetHresult(
|
||||
HRESULT* phr) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSource(
|
||||
BSTR* pbstrSource) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetHelpInfo(
|
||||
BSTR* pbstrFileName,
|
||||
DWORD* pdwContext) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetDescription(
|
||||
BSTR* pbstrDescription) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IDispErrorVtbl IDispErrorVtbl;
|
||||
struct IDispError {
|
||||
const IDispErrorVtbl* lpVtbl;
|
||||
};
|
||||
struct IDispErrorVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IDispError* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IDispError* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IDispError* This);
|
||||
|
||||
/*** IDispError methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryErrorInfo)(
|
||||
IDispError* This,
|
||||
GUID guidErrorType,
|
||||
IDispError** ppde);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetNext)(
|
||||
IDispError* This,
|
||||
IDispError** ppde);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetHresult)(
|
||||
IDispError* This,
|
||||
HRESULT* phr);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSource)(
|
||||
IDispError* This,
|
||||
BSTR* pbstrSource);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetHelpInfo)(
|
||||
IDispError* This,
|
||||
BSTR* pbstrFileName,
|
||||
DWORD* pdwContext);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetDescription)(
|
||||
IDispError* This,
|
||||
BSTR* pbstrDescription);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IDispError_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IDispError_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IDispError_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IDispError methods ***/
|
||||
#define IDispError_QueryErrorInfo(p,a,b) (p)->lpVtbl->QueryErrorInfo(p,a,b)
|
||||
#define IDispError_GetNext(p,a) (p)->lpVtbl->GetNext(p,a)
|
||||
#define IDispError_GetHresult(p,a) (p)->lpVtbl->GetHresult(p,a)
|
||||
#define IDispError_GetSource(p,a) (p)->lpVtbl->GetSource(p,a)
|
||||
#define IDispError_GetHelpInfo(p,a,b) (p)->lpVtbl->GetHelpInfo(p,a,b)
|
||||
#define IDispError_GetDescription(p,a) (p)->lpVtbl->GetDescription(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IDispError_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IDispError methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryErrorInfo)(THIS_ GUID guidErrorType, IDispError** ppde) PURE; \
|
||||
STDMETHOD_(HRESULT,GetNext)(THIS_ IDispError** ppde) PURE; \
|
||||
STDMETHOD_(HRESULT,GetHresult)(THIS_ HRESULT* phr) PURE; \
|
||||
STDMETHOD_(HRESULT,GetSource)(THIS_ BSTR* pbstrSource) PURE; \
|
||||
STDMETHOD_(HRESULT,GetHelpInfo)(THIS_ BSTR* pbstrFileName, DWORD* pdwContext) PURE; \
|
||||
STDMETHOD_(HRESULT,GetDescription)(THIS_ BSTR* pbstrDescription) PURE;
|
||||
|
||||
HRESULT CALLBACK IDispError_QueryErrorInfo_Proxy(
|
||||
IDispError* This,
|
||||
GUID guidErrorType,
|
||||
IDispError** ppde);
|
||||
void __RPC_STUB IDispError_QueryErrorInfo_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispError_GetNext_Proxy(
|
||||
IDispError* This,
|
||||
IDispError** ppde);
|
||||
void __RPC_STUB IDispError_GetNext_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispError_GetHresult_Proxy(
|
||||
IDispError* This,
|
||||
HRESULT* phr);
|
||||
void __RPC_STUB IDispError_GetHresult_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispError_GetSource_Proxy(
|
||||
IDispError* This,
|
||||
BSTR* pbstrSource);
|
||||
void __RPC_STUB IDispError_GetSource_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispError_GetHelpInfo_Proxy(
|
||||
IDispError* This,
|
||||
BSTR* pbstrFileName,
|
||||
DWORD* pdwContext);
|
||||
void __RPC_STUB IDispError_GetHelpInfo_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IDispError_GetDescription_Proxy(
|
||||
IDispError* This,
|
||||
BSTR* pbstrDescription);
|
||||
void __RPC_STUB IDispError_GetDescription_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IDispError_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IVariantChangeType_FWD_DEFINED__
|
||||
#define __IVariantChangeType_FWD_DEFINED__
|
||||
typedef struct IVariantChangeType IVariantChangeType;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IVariantChangeType interface
|
||||
*/
|
||||
#ifndef __IVariantChangeType_INTERFACE_DEFINED__
|
||||
#define __IVariantChangeType_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IVariantChangeType, 0xa6ef9862, 0xc720, 0x11d0, 0x93,0x37, 0x00,0xa0,0xc9,0x0d,0xca,0xa9);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IVariantChangeType : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE ChangeType(
|
||||
VARIANT* pvarDst,
|
||||
VARIANT* pvarSrc,
|
||||
LCID lcid,
|
||||
VARTYPE vtNew) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IVariantChangeTypeVtbl IVariantChangeTypeVtbl;
|
||||
struct IVariantChangeType {
|
||||
const IVariantChangeTypeVtbl* lpVtbl;
|
||||
};
|
||||
struct IVariantChangeTypeVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IVariantChangeType* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IVariantChangeType* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IVariantChangeType* This);
|
||||
|
||||
/*** IVariantChangeType methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *ChangeType)(
|
||||
IVariantChangeType* This,
|
||||
VARIANT* pvarDst,
|
||||
VARIANT* pvarSrc,
|
||||
LCID lcid,
|
||||
VARTYPE vtNew);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IVariantChangeType_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IVariantChangeType_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IVariantChangeType_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IVariantChangeType methods ***/
|
||||
#define IVariantChangeType_ChangeType(p,a,b,c,d) (p)->lpVtbl->ChangeType(p,a,b,c,d)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IVariantChangeType_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IVariantChangeType methods ***/ \
|
||||
STDMETHOD_(HRESULT,ChangeType)(THIS_ VARIANT* pvarDst, VARIANT* pvarSrc, LCID lcid, VARTYPE vtNew) PURE;
|
||||
|
||||
HRESULT CALLBACK IVariantChangeType_ChangeType_Proxy(
|
||||
IVariantChangeType* This,
|
||||
VARIANT* pvarDst,
|
||||
VARIANT* pvarSrc,
|
||||
LCID lcid,
|
||||
VARTYPE vtNew);
|
||||
void __RPC_STUB IVariantChangeType_ChangeType_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IVariantChangeType_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IObjectIdentity_FWD_DEFINED__
|
||||
#define __IObjectIdentity_FWD_DEFINED__
|
||||
typedef struct IObjectIdentity IObjectIdentity;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IObjectIdentity interface
|
||||
*/
|
||||
#ifndef __IObjectIdentity_INTERFACE_DEFINED__
|
||||
#define __IObjectIdentity_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IObjectIdentity, 0xca04b7e6, 0x0d21, 0x11d1, 0x8c,0xc5, 0x00,0xc0,0x4f,0xc2,0xb0,0x85);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IObjectIdentity : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE IsEqualObject(
|
||||
IUnknown* punk) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IObjectIdentityVtbl IObjectIdentityVtbl;
|
||||
struct IObjectIdentity {
|
||||
const IObjectIdentityVtbl* lpVtbl;
|
||||
};
|
||||
struct IObjectIdentityVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IObjectIdentity* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IObjectIdentity* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IObjectIdentity* This);
|
||||
|
||||
/*** IObjectIdentity methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *IsEqualObject)(
|
||||
IObjectIdentity* This,
|
||||
IUnknown* punk);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IObjectIdentity_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IObjectIdentity_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IObjectIdentity_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IObjectIdentity methods ***/
|
||||
#define IObjectIdentity_IsEqualObject(p,a) (p)->lpVtbl->IsEqualObject(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IObjectIdentity_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IObjectIdentity methods ***/ \
|
||||
STDMETHOD_(HRESULT,IsEqualObject)(THIS_ IUnknown* punk) PURE;
|
||||
|
||||
HRESULT CALLBACK IObjectIdentity_IsEqualObject_Proxy(
|
||||
IObjectIdentity* This,
|
||||
IUnknown* punk);
|
||||
void __RPC_STUB IObjectIdentity_IsEqualObject_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IObjectIdentity_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_DISPEX_H */
|
1174
include/docobj.h
1174
include/docobj.h
File diff suppressed because it is too large
Load Diff
1491
include/exdisp.h
1491
include/exdisp.h
File diff suppressed because it is too large
Load Diff
2211
include/mlang.h
2211
include/mlang.h
File diff suppressed because it is too large
Load Diff
|
@ -1,634 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from mmstream.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_MMSTREAM_H
|
||||
#define __WIDL_MMSTREAM_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <unknwn.h>
|
||||
#define MS_ERROR_CODE(x) MAKE_HRESULT(1, FACILITY_ITF, (x) + 0x400)
|
||||
#define MS_SUCCESS_CODE(x) MAKE_HRESULT(0, FACILITY_ITF, x)
|
||||
#define MS_S_PENDING MS_SUCCESS_CODE(1)
|
||||
#define MS_S_NOUPDATE MS_SUCCESS_CODE(2)
|
||||
#define MS_S_ENDOFSTREAM MS_SUCCESS_CODE(3)
|
||||
#define MS_E_SAMPLEALLOC MS_ERROR_CODE(1)
|
||||
#define MS_E_PURPOSEID MS_ERROR_CODE(2)
|
||||
#define MS_E_NOSTREAM MS_ERROR_CODE(3)
|
||||
#define MS_E_NOSEEKING MS_ERROR_CODE(4)
|
||||
#define MS_E_INCOMPATIBLE MS_ERROR_CODE(5)
|
||||
#define MS_E_BUSY MS_ERROR_CODE(6)
|
||||
#define MS_E_NOTINIT MS_ERROR_CODE(7)
|
||||
#define MS_E_SOURCEALREADYDEFINED MS_ERROR_CODE(8)
|
||||
#define MS_E_INVALIDSTREAMTYPE MS_ERROR_CODE(9)
|
||||
#define MS_E_NOTRUNNING MS_ERROR_CODE(10)
|
||||
DEFINE_GUID(MSPID_PrimaryVideo, 0xa35ff56a, 0x9fda, 0x11d0, 0x8f, 0xdf, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);
|
||||
DEFINE_GUID(MSPID_PrimaryAudio, 0xa35ff56b, 0x9fda, 0x11d0, 0x8f, 0xdf, 0x0, 0xc0, 0x4f, 0xd9, 0x18, 0x9d);
|
||||
#if 0
|
||||
typedef void *PAPCFUNC;
|
||||
|
||||
#endif
|
||||
typedef LONGLONG STREAM_TIME;
|
||||
|
||||
typedef GUID MSPID;
|
||||
|
||||
typedef REFGUID REFMSPID;
|
||||
|
||||
typedef enum {
|
||||
STREAMTYPE_READ = 0,
|
||||
STREAMTYPE_WRITE = 1,
|
||||
STREAMTYPE_TRANSFORM = 2
|
||||
} STREAM_TYPE;
|
||||
|
||||
typedef enum {
|
||||
STREAMSTATE_STOP = 0,
|
||||
STREAMSTATE_RUN = 1
|
||||
} STREAM_STATE;
|
||||
|
||||
typedef enum {
|
||||
COMPSTAT_NOUPDATEOK = 0x1,
|
||||
COMPSTAT_WAIT = 0x2,
|
||||
COMPSTAT_ABORT = 0x4
|
||||
} COMPLETION_STATUS_FLAGS;
|
||||
|
||||
enum {
|
||||
MMSSF_HASCLOCK = 0x1,
|
||||
MMSSF_SUPPORTSEEK = 0x2,
|
||||
MMSSF_ASYNCHRONOUS = 0x4
|
||||
};
|
||||
|
||||
enum {
|
||||
SSUPDATE_ASYNC = 0x1,
|
||||
SSUPDATE_CONTINUOUS = 0x2
|
||||
};
|
||||
|
||||
#ifndef __IMultiMediaStream_FWD_DEFINED__
|
||||
#define __IMultiMediaStream_FWD_DEFINED__
|
||||
typedef struct IMultiMediaStream IMultiMediaStream;
|
||||
#endif
|
||||
|
||||
#ifndef __IMediaStream_FWD_DEFINED__
|
||||
#define __IMediaStream_FWD_DEFINED__
|
||||
typedef struct IMediaStream IMediaStream;
|
||||
#endif
|
||||
|
||||
#ifndef __IStreamSample_FWD_DEFINED__
|
||||
#define __IStreamSample_FWD_DEFINED__
|
||||
typedef struct IStreamSample IStreamSample;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IMultiMediaStream interface
|
||||
*/
|
||||
#ifndef __IMultiMediaStream_INTERFACE_DEFINED__
|
||||
#define __IMultiMediaStream_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IMultiMediaStream, 0xb502d1bc, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IMultiMediaStream : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetInformation(
|
||||
char* pdwFlags,
|
||||
STREAM_TYPE* pStreamType) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetMediaStream(
|
||||
REFMSPID idPurpose,
|
||||
IMediaStream** ppMediaStream) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumMediaStreams(
|
||||
long Index,
|
||||
IMediaStream** ppMediaStream) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetState(
|
||||
STREAM_STATE* pCurrentState) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetState(
|
||||
STREAM_STATE NewState) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetTime(
|
||||
STREAM_TIME* pCurrentTime) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetDuration(
|
||||
STREAM_TIME* pDuration) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Seek(
|
||||
STREAM_TIME SeekTime) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetEndOfStreamEventHandle(
|
||||
HANDLE* phEOS) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IMultiMediaStreamVtbl IMultiMediaStreamVtbl;
|
||||
struct IMultiMediaStream {
|
||||
const IMultiMediaStreamVtbl* lpVtbl;
|
||||
};
|
||||
struct IMultiMediaStreamVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IMultiMediaStream* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IMultiMediaStream* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IMultiMediaStream* This);
|
||||
|
||||
/*** IMultiMediaStream methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetInformation)(
|
||||
IMultiMediaStream* This,
|
||||
char* pdwFlags,
|
||||
STREAM_TYPE* pStreamType);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetMediaStream)(
|
||||
IMultiMediaStream* This,
|
||||
REFMSPID idPurpose,
|
||||
IMediaStream** ppMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumMediaStreams)(
|
||||
IMultiMediaStream* This,
|
||||
long Index,
|
||||
IMediaStream** ppMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetState)(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_STATE* pCurrentState);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetState)(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_STATE NewState);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTime)(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_TIME* pCurrentTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetDuration)(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_TIME* pDuration);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Seek)(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_TIME SeekTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetEndOfStreamEventHandle)(
|
||||
IMultiMediaStream* This,
|
||||
HANDLE* phEOS);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IMultiMediaStream_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IMultiMediaStream_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IMultiMediaStream_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IMultiMediaStream methods ***/
|
||||
#define IMultiMediaStream_GetInformation(p,a,b) (p)->lpVtbl->GetInformation(p,a,b)
|
||||
#define IMultiMediaStream_GetMediaStream(p,a,b) (p)->lpVtbl->GetMediaStream(p,a,b)
|
||||
#define IMultiMediaStream_EnumMediaStreams(p,a,b) (p)->lpVtbl->EnumMediaStreams(p,a,b)
|
||||
#define IMultiMediaStream_GetState(p,a) (p)->lpVtbl->GetState(p,a)
|
||||
#define IMultiMediaStream_SetState(p,a) (p)->lpVtbl->SetState(p,a)
|
||||
#define IMultiMediaStream_GetTime(p,a) (p)->lpVtbl->GetTime(p,a)
|
||||
#define IMultiMediaStream_GetDuration(p,a) (p)->lpVtbl->GetDuration(p,a)
|
||||
#define IMultiMediaStream_Seek(p,a) (p)->lpVtbl->Seek(p,a)
|
||||
#define IMultiMediaStream_GetEndOfStreamEventHandle(p,a) (p)->lpVtbl->GetEndOfStreamEventHandle(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IMultiMediaStream_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IMultiMediaStream methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetInformation)(THIS_ char* pdwFlags, STREAM_TYPE* pStreamType) PURE; \
|
||||
STDMETHOD_(HRESULT,GetMediaStream)(THIS_ REFMSPID idPurpose, IMediaStream** ppMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumMediaStreams)(THIS_ long Index, IMediaStream** ppMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetState)(THIS_ STREAM_STATE* pCurrentState) PURE; \
|
||||
STDMETHOD_(HRESULT,SetState)(THIS_ STREAM_STATE NewState) PURE; \
|
||||
STDMETHOD_(HRESULT,GetTime)(THIS_ STREAM_TIME* pCurrentTime) PURE; \
|
||||
STDMETHOD_(HRESULT,GetDuration)(THIS_ STREAM_TIME* pDuration) PURE; \
|
||||
STDMETHOD_(HRESULT,Seek)(THIS_ STREAM_TIME SeekTime) PURE; \
|
||||
STDMETHOD_(HRESULT,GetEndOfStreamEventHandle)(THIS_ HANDLE* phEOS) PURE;
|
||||
|
||||
HRESULT CALLBACK IMultiMediaStream_GetInformation_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
char* pdwFlags,
|
||||
STREAM_TYPE* pStreamType);
|
||||
void __RPC_STUB IMultiMediaStream_GetInformation_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_GetMediaStream_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
REFMSPID idPurpose,
|
||||
IMediaStream** ppMediaStream);
|
||||
void __RPC_STUB IMultiMediaStream_GetMediaStream_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_EnumMediaStreams_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
long Index,
|
||||
IMediaStream** ppMediaStream);
|
||||
void __RPC_STUB IMultiMediaStream_EnumMediaStreams_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_GetState_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_STATE* pCurrentState);
|
||||
void __RPC_STUB IMultiMediaStream_GetState_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_SetState_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_STATE NewState);
|
||||
void __RPC_STUB IMultiMediaStream_SetState_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_GetTime_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_TIME* pCurrentTime);
|
||||
void __RPC_STUB IMultiMediaStream_GetTime_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_GetDuration_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_TIME* pDuration);
|
||||
void __RPC_STUB IMultiMediaStream_GetDuration_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_Seek_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
STREAM_TIME SeekTime);
|
||||
void __RPC_STUB IMultiMediaStream_Seek_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMultiMediaStream_GetEndOfStreamEventHandle_Proxy(
|
||||
IMultiMediaStream* This,
|
||||
HANDLE* phEOS);
|
||||
void __RPC_STUB IMultiMediaStream_GetEndOfStreamEventHandle_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IMultiMediaStream_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IMediaStream interface
|
||||
*/
|
||||
#ifndef __IMediaStream_INTERFACE_DEFINED__
|
||||
#define __IMediaStream_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IMediaStream, 0xb502d1bd, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IMediaStream : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetMultiMediaStream(
|
||||
IMultiMediaStream** ppMultiMediaStream) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetInformation(
|
||||
MSPID* pPurposeId,
|
||||
STREAM_TYPE* pType) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetSameFormat(
|
||||
IMediaStream* pStreamThatHasDesiredFormat,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE AllocateSample(
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppSample) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateSharedSample(
|
||||
IStreamSample* pExistingSample,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppNewSample) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SendEndOfStream(
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IMediaStreamVtbl IMediaStreamVtbl;
|
||||
struct IMediaStream {
|
||||
const IMediaStreamVtbl* lpVtbl;
|
||||
};
|
||||
struct IMediaStreamVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IMediaStream* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IMediaStream* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IMediaStream* This);
|
||||
|
||||
/*** IMediaStream methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetMultiMediaStream)(
|
||||
IMediaStream* This,
|
||||
IMultiMediaStream** ppMultiMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetInformation)(
|
||||
IMediaStream* This,
|
||||
MSPID* pPurposeId,
|
||||
STREAM_TYPE* pType);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSameFormat)(
|
||||
IMediaStream* This,
|
||||
IMediaStream* pStreamThatHasDesiredFormat,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *AllocateSample)(
|
||||
IMediaStream* This,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateSharedSample)(
|
||||
IMediaStream* This,
|
||||
IStreamSample* pExistingSample,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppNewSample);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SendEndOfStream)(
|
||||
IMediaStream* This,
|
||||
DWORD dwFlags);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IMediaStream_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IMediaStream_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IMediaStream_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IMediaStream methods ***/
|
||||
#define IMediaStream_GetMultiMediaStream(p,a) (p)->lpVtbl->GetMultiMediaStream(p,a)
|
||||
#define IMediaStream_GetInformation(p,a,b) (p)->lpVtbl->GetInformation(p,a,b)
|
||||
#define IMediaStream_SetSameFormat(p,a,b) (p)->lpVtbl->SetSameFormat(p,a,b)
|
||||
#define IMediaStream_AllocateSample(p,a,b) (p)->lpVtbl->AllocateSample(p,a,b)
|
||||
#define IMediaStream_CreateSharedSample(p,a,b,c) (p)->lpVtbl->CreateSharedSample(p,a,b,c)
|
||||
#define IMediaStream_SendEndOfStream(p,a) (p)->lpVtbl->SendEndOfStream(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IMediaStream_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IMediaStream methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetMultiMediaStream)(THIS_ IMultiMediaStream** ppMultiMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetInformation)(THIS_ MSPID* pPurposeId, STREAM_TYPE* pType) PURE; \
|
||||
STDMETHOD_(HRESULT,SetSameFormat)(THIS_ IMediaStream* pStreamThatHasDesiredFormat, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,AllocateSample)(THIS_ DWORD dwFlags, IStreamSample** ppSample) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateSharedSample)(THIS_ IStreamSample* pExistingSample, DWORD dwFlags, IStreamSample** ppNewSample) PURE; \
|
||||
STDMETHOD_(HRESULT,SendEndOfStream)(THIS_ DWORD dwFlags) PURE;
|
||||
|
||||
HRESULT CALLBACK IMediaStream_GetMultiMediaStream_Proxy(
|
||||
IMediaStream* This,
|
||||
IMultiMediaStream** ppMultiMediaStream);
|
||||
void __RPC_STUB IMediaStream_GetMultiMediaStream_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMediaStream_GetInformation_Proxy(
|
||||
IMediaStream* This,
|
||||
MSPID* pPurposeId,
|
||||
STREAM_TYPE* pType);
|
||||
void __RPC_STUB IMediaStream_GetInformation_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMediaStream_SetSameFormat_Proxy(
|
||||
IMediaStream* This,
|
||||
IMediaStream* pStreamThatHasDesiredFormat,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IMediaStream_SetSameFormat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMediaStream_AllocateSample_Proxy(
|
||||
IMediaStream* This,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppSample);
|
||||
void __RPC_STUB IMediaStream_AllocateSample_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMediaStream_CreateSharedSample_Proxy(
|
||||
IMediaStream* This,
|
||||
IStreamSample* pExistingSample,
|
||||
DWORD dwFlags,
|
||||
IStreamSample** ppNewSample);
|
||||
void __RPC_STUB IMediaStream_CreateSharedSample_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IMediaStream_SendEndOfStream_Proxy(
|
||||
IMediaStream* This,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IMediaStream_SendEndOfStream_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IMediaStream_INTERFACE_DEFINED__ */
|
||||
|
||||
/*****************************************************************************
|
||||
* IStreamSample interface
|
||||
*/
|
||||
#ifndef __IStreamSample_INTERFACE_DEFINED__
|
||||
#define __IStreamSample_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IStreamSample, 0xb502d1be, 0x9a57, 0x11d0, 0x8f,0xde, 0x00,0xc0,0x4f,0xd9,0x18,0x9d);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IStreamSample : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetMediaStream(
|
||||
IMediaStream** ppMediaStream) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSampleTimes(
|
||||
STREAM_TIME* pStartTime,
|
||||
STREAM_TIME* pEndTime,
|
||||
STREAM_TIME* pCurrentTime) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetSampleTimes(
|
||||
const STREAM_TIME* pStartTime,
|
||||
const STREAM_TIME* pEndTime) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Update(
|
||||
DWORD dwFlags,
|
||||
HANDLE hEvent,
|
||||
PAPCFUNC pfnAPC,
|
||||
DWORD dwAPCData) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CompletionStatus(
|
||||
DWORD dwFlags,
|
||||
DWORD dwMilliseconds) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IStreamSampleVtbl IStreamSampleVtbl;
|
||||
struct IStreamSample {
|
||||
const IStreamSampleVtbl* lpVtbl;
|
||||
};
|
||||
struct IStreamSampleVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IStreamSample* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IStreamSample* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IStreamSample* This);
|
||||
|
||||
/*** IStreamSample methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetMediaStream)(
|
||||
IStreamSample* This,
|
||||
IMediaStream** ppMediaStream);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSampleTimes)(
|
||||
IStreamSample* This,
|
||||
STREAM_TIME* pStartTime,
|
||||
STREAM_TIME* pEndTime,
|
||||
STREAM_TIME* pCurrentTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetSampleTimes)(
|
||||
IStreamSample* This,
|
||||
const STREAM_TIME* pStartTime,
|
||||
const STREAM_TIME* pEndTime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Update)(
|
||||
IStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
HANDLE hEvent,
|
||||
PAPCFUNC pfnAPC,
|
||||
DWORD dwAPCData);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CompletionStatus)(
|
||||
IStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
DWORD dwMilliseconds);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IStreamSample_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IStreamSample_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IStreamSample_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IStreamSample methods ***/
|
||||
#define IStreamSample_GetMediaStream(p,a) (p)->lpVtbl->GetMediaStream(p,a)
|
||||
#define IStreamSample_GetSampleTimes(p,a,b,c) (p)->lpVtbl->GetSampleTimes(p,a,b,c)
|
||||
#define IStreamSample_SetSampleTimes(p,a,b) (p)->lpVtbl->SetSampleTimes(p,a,b)
|
||||
#define IStreamSample_Update(p,a,b,c,d) (p)->lpVtbl->Update(p,a,b,c,d)
|
||||
#define IStreamSample_CompletionStatus(p,a,b) (p)->lpVtbl->CompletionStatus(p,a,b)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IStreamSample_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IStreamSample methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetMediaStream)(THIS_ IMediaStream** ppMediaStream) PURE; \
|
||||
STDMETHOD_(HRESULT,GetSampleTimes)(THIS_ STREAM_TIME* pStartTime, STREAM_TIME* pEndTime, STREAM_TIME* pCurrentTime) PURE; \
|
||||
STDMETHOD_(HRESULT,SetSampleTimes)(THIS_ const STREAM_TIME* pStartTime, const STREAM_TIME* pEndTime) PURE; \
|
||||
STDMETHOD_(HRESULT,Update)(THIS_ DWORD dwFlags, HANDLE hEvent, PAPCFUNC pfnAPC, DWORD dwAPCData) PURE; \
|
||||
STDMETHOD_(HRESULT,CompletionStatus)(THIS_ DWORD dwFlags, DWORD dwMilliseconds) PURE;
|
||||
|
||||
HRESULT CALLBACK IStreamSample_GetMediaStream_Proxy(
|
||||
IStreamSample* This,
|
||||
IMediaStream** ppMediaStream);
|
||||
void __RPC_STUB IStreamSample_GetMediaStream_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IStreamSample_GetSampleTimes_Proxy(
|
||||
IStreamSample* This,
|
||||
STREAM_TIME* pStartTime,
|
||||
STREAM_TIME* pEndTime,
|
||||
STREAM_TIME* pCurrentTime);
|
||||
void __RPC_STUB IStreamSample_GetSampleTimes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IStreamSample_SetSampleTimes_Proxy(
|
||||
IStreamSample* This,
|
||||
const STREAM_TIME* pStartTime,
|
||||
const STREAM_TIME* pEndTime);
|
||||
void __RPC_STUB IStreamSample_SetSampleTimes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IStreamSample_Update_Proxy(
|
||||
IStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
HANDLE hEvent,
|
||||
PAPCFUNC pfnAPC,
|
||||
DWORD dwAPCData);
|
||||
void __RPC_STUB IStreamSample_Update_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IStreamSample_CompletionStatus_Proxy(
|
||||
IStreamSample* This,
|
||||
DWORD dwFlags,
|
||||
DWORD dwMilliseconds);
|
||||
void __RPC_STUB IStreamSample_CompletionStatus_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IStreamSample_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_MMSTREAM_H */
|
5586
include/oaidl.h
5586
include/oaidl.h
File diff suppressed because it is too large
Load Diff
8199
include/objidl.h
8199
include/objidl.h
File diff suppressed because it is too large
Load Diff
6365
include/ocidl.h
6365
include/ocidl.h
File diff suppressed because it is too large
Load Diff
3936
include/oleidl.h
3936
include/oleidl.h
File diff suppressed because it is too large
Load Diff
|
@ -1,958 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from propidl.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_PROPIDL_H
|
||||
#define __WIDL_PROPIDL_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <objidl.h>
|
||||
#include <oaidl.h>
|
||||
#ifndef __IEnumSTATPROPSTG_FWD_DEFINED__
|
||||
#define __IEnumSTATPROPSTG_FWD_DEFINED__
|
||||
typedef struct IEnumSTATPROPSTG IEnumSTATPROPSTG;
|
||||
#endif
|
||||
|
||||
#ifndef __IEnumSTATPROPSETSTG_FWD_DEFINED__
|
||||
#define __IEnumSTATPROPSETSTG_FWD_DEFINED__
|
||||
typedef struct IEnumSTATPROPSETSTG IEnumSTATPROPSETSTG;
|
||||
#endif
|
||||
|
||||
#ifndef __IPropertyStorage_FWD_DEFINED__
|
||||
#define __IPropertyStorage_FWD_DEFINED__
|
||||
typedef struct IPropertyStorage IPropertyStorage;
|
||||
#endif
|
||||
|
||||
typedef IPropertyStorage *LPPROPERTYSTORAGE;
|
||||
|
||||
#define PROPSETFLAG_DEFAULT (0)
|
||||
|
||||
#define PROPSETFLAG_NONSIMPLE (1)
|
||||
|
||||
#define PROPSETFLAG_ANSI (2)
|
||||
|
||||
#define PROPSETFLAG_UNBUFFERED (4)
|
||||
|
||||
typedef struct tagPROPVARIANT PROPVARIANT;
|
||||
|
||||
typedef struct tagCAUB {
|
||||
ULONG cElems;
|
||||
unsigned char *pElems;
|
||||
} CAUB;
|
||||
|
||||
typedef struct tagCAI {
|
||||
ULONG cElems;
|
||||
short *pElems;
|
||||
} CAI;
|
||||
|
||||
typedef struct tagCAUI {
|
||||
ULONG cElems;
|
||||
USHORT *pElems;
|
||||
} CAUI;
|
||||
|
||||
typedef struct tagCAL {
|
||||
ULONG cElems;
|
||||
long *pElems;
|
||||
} CAL;
|
||||
|
||||
typedef struct tagCAUL {
|
||||
ULONG cElems;
|
||||
ULONG *pElems;
|
||||
} CAUL;
|
||||
|
||||
typedef struct tagCAFLT {
|
||||
ULONG cElems;
|
||||
float *pElems;
|
||||
} CAFLT;
|
||||
|
||||
typedef struct tagCADBL {
|
||||
ULONG cElems;
|
||||
double *pElems;
|
||||
} CADBL;
|
||||
|
||||
typedef struct tagCACY {
|
||||
ULONG cElems;
|
||||
CY *pElems;
|
||||
} CACY;
|
||||
|
||||
typedef struct tagCADATE {
|
||||
ULONG cElems;
|
||||
DATE *pElems;
|
||||
} CADATE;
|
||||
|
||||
typedef struct tagCABSTR {
|
||||
ULONG cElems;
|
||||
BSTR *pElems;
|
||||
} CABSTR;
|
||||
|
||||
typedef struct tagCABSTRBLOB {
|
||||
ULONG cElems;
|
||||
BSTRBLOB *pElems;
|
||||
} CABSTRBLOB;
|
||||
|
||||
typedef struct tagCABOOL {
|
||||
ULONG cElems;
|
||||
VARIANT_BOOL *pElems;
|
||||
} CABOOL;
|
||||
|
||||
typedef struct tagCASCODE {
|
||||
ULONG cElems;
|
||||
SCODE *pElems;
|
||||
} CASCODE;
|
||||
|
||||
typedef struct tagCAPROPVARIANT {
|
||||
ULONG cElems;
|
||||
PROPVARIANT *pElems;
|
||||
} CAPROPVARIANT;
|
||||
|
||||
typedef struct tagCAH {
|
||||
ULONG cElems;
|
||||
LARGE_INTEGER *pElems;
|
||||
} CAH;
|
||||
|
||||
typedef struct tagCAUH {
|
||||
ULONG cElems;
|
||||
ULARGE_INTEGER *pElems;
|
||||
} CAUH;
|
||||
|
||||
typedef struct tagCALPSTR {
|
||||
ULONG cElems;
|
||||
LPSTR *pElems;
|
||||
} CALPSTR;
|
||||
|
||||
typedef struct tagCALPWSTR {
|
||||
ULONG cElems;
|
||||
LPWSTR *pElems;
|
||||
} CALPWSTR;
|
||||
|
||||
typedef struct tagCAFILETIME {
|
||||
ULONG cElems;
|
||||
FILETIME *pElems;
|
||||
} CAFILETIME;
|
||||
|
||||
typedef struct tagCACLIPDATA {
|
||||
ULONG cElems;
|
||||
CLIPDATA *pElems;
|
||||
} CACLIPDATA;
|
||||
|
||||
typedef struct tagCACLSID {
|
||||
ULONG cElems;
|
||||
CLSID *pElems;
|
||||
} CACLSID;
|
||||
|
||||
struct tagPROPVARIANT {
|
||||
VARTYPE vt;
|
||||
WORD wReserved1;
|
||||
WORD wReserved2;
|
||||
WORD wReserved3;
|
||||
union {
|
||||
char cVal;
|
||||
UCHAR bVal;
|
||||
short iVal;
|
||||
USHORT uiVal;
|
||||
VARIANT_BOOL boolVal;
|
||||
long lVal;
|
||||
ULONG ulVal;
|
||||
float fltVal;
|
||||
SCODE scode;
|
||||
LARGE_INTEGER hVal;
|
||||
ULARGE_INTEGER uhVal;
|
||||
double dblVal;
|
||||
CY cyVal;
|
||||
DATE date;
|
||||
FILETIME filetime;
|
||||
CLSID *puuid;
|
||||
BLOB blob;
|
||||
CLIPDATA *pclipdata;
|
||||
IStream *pStream;
|
||||
IStorage *pStorage;
|
||||
BSTR bstrVal;
|
||||
BSTRBLOB bstrblobVal;
|
||||
LPSTR pszVal;
|
||||
LPWSTR pwszVal;
|
||||
CAUB caub;
|
||||
CAI cai;
|
||||
CAUI caui;
|
||||
CABOOL cabool;
|
||||
CAL cal;
|
||||
CAUL caul;
|
||||
CAFLT caflt;
|
||||
CASCODE cascode;
|
||||
CAH cah;
|
||||
CAUH cauh;
|
||||
CADBL cadbl;
|
||||
CACY cacy;
|
||||
CADATE cadate;
|
||||
CAFILETIME cafiletime;
|
||||
CACLSID cauuid;
|
||||
CACLIPDATA caclipdata;
|
||||
CABSTR cabstr;
|
||||
CABSTRBLOB cabstrblob;
|
||||
CALPSTR calpstr;
|
||||
CALPWSTR calpwstr;
|
||||
CAPROPVARIANT capropvar;
|
||||
} DUMMYUNIONNAME;
|
||||
};
|
||||
|
||||
typedef struct tagPROPVARIANT *LPPROPVARIANT;
|
||||
|
||||
#define PRSPEC_INVALID (0xffffffff)
|
||||
|
||||
#define PRSPEC_LPWSTR (0)
|
||||
|
||||
#define PRSPEC_PROPID (1)
|
||||
|
||||
typedef struct tagPROPSPEC {
|
||||
ULONG ulKind;
|
||||
union {
|
||||
PROPID propid;
|
||||
LPOLESTR lpwstr;
|
||||
} DUMMYUNIONNAME;
|
||||
} PROPSPEC;
|
||||
|
||||
typedef struct tagSTATPROPSTG {
|
||||
LPOLESTR lpwstrName;
|
||||
PROPID propid;
|
||||
VARTYPE vt;
|
||||
} STATPROPSTG;
|
||||
|
||||
typedef struct tagSTATPROPSETSTG {
|
||||
FMTID fmtid;
|
||||
CLSID clsid;
|
||||
DWORD grfFlags;
|
||||
FILETIME mtime;
|
||||
FILETIME ctime;
|
||||
FILETIME atime;
|
||||
DWORD dwOSVersion;
|
||||
} STATPROPSETSTG;
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertyStorage interface
|
||||
*/
|
||||
#ifndef __IPropertyStorage_INTERFACE_DEFINED__
|
||||
#define __IPropertyStorage_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IPropertyStorage, 0x00000138, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IPropertyStorage : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE ReadMultiple(
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[],
|
||||
PROPVARIANT rgpropvar[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE WriteMultiple(
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[],
|
||||
const PROPVARIANT rgpropvar[],
|
||||
PROPID propidNameFirst) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteMultiple(
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE ReadPropertyNames(
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[],
|
||||
LPOLESTR rglpwstrName[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE WritePropertyNames(
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[],
|
||||
const LPOLESTR rglpwstrName[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeletePropertyNames(
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[]) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Commit(
|
||||
DWORD grfCommitFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Revert(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Enum(
|
||||
IEnumSTATPROPSTG** ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetTimes(
|
||||
const FILETIME* pctime,
|
||||
const FILETIME* patime,
|
||||
const FILETIME* pmtime) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetClass(
|
||||
REFCLSID clsid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Stat(
|
||||
STATPROPSETSTG* statpsstg) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IPropertyStorageVtbl IPropertyStorageVtbl;
|
||||
struct IPropertyStorage {
|
||||
const IPropertyStorageVtbl* lpVtbl;
|
||||
};
|
||||
struct IPropertyStorageVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IPropertyStorage* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IPropertyStorage* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IPropertyStorage* This);
|
||||
|
||||
/*** IPropertyStorage methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *ReadMultiple)(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[],
|
||||
PROPVARIANT rgpropvar[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *WriteMultiple)(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[],
|
||||
const PROPVARIANT rgpropvar[],
|
||||
PROPID propidNameFirst);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteMultiple)(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *ReadPropertyNames)(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[],
|
||||
LPOLESTR rglpwstrName[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *WritePropertyNames)(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[],
|
||||
const LPOLESTR rglpwstrName[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeletePropertyNames)(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[]);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Commit)(
|
||||
IPropertyStorage* This,
|
||||
DWORD grfCommitFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Revert)(
|
||||
IPropertyStorage* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Enum)(
|
||||
IPropertyStorage* This,
|
||||
IEnumSTATPROPSTG** ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetTimes)(
|
||||
IPropertyStorage* This,
|
||||
const FILETIME* pctime,
|
||||
const FILETIME* patime,
|
||||
const FILETIME* pmtime);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetClass)(
|
||||
IPropertyStorage* This,
|
||||
REFCLSID clsid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Stat)(
|
||||
IPropertyStorage* This,
|
||||
STATPROPSETSTG* statpsstg);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertyStorage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertyStorage_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertyStorage_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertyStorage methods ***/
|
||||
#define IPropertyStorage_ReadMultiple(p,a,b,c) (p)->lpVtbl->ReadMultiple(p,a,b,c)
|
||||
#define IPropertyStorage_WriteMultiple(p,a,b,c,d) (p)->lpVtbl->WriteMultiple(p,a,b,c,d)
|
||||
#define IPropertyStorage_DeleteMultiple(p,a,b) (p)->lpVtbl->DeleteMultiple(p,a,b)
|
||||
#define IPropertyStorage_ReadPropertyNames(p,a,b,c) (p)->lpVtbl->ReadPropertyNames(p,a,b,c)
|
||||
#define IPropertyStorage_WritePropertyNames(p,a,b,c) (p)->lpVtbl->WritePropertyNames(p,a,b,c)
|
||||
#define IPropertyStorage_DeletePropertyNames(p,a,b) (p)->lpVtbl->DeletePropertyNames(p,a,b)
|
||||
#define IPropertyStorage_Commit(p,a) (p)->lpVtbl->Commit(p,a)
|
||||
#define IPropertyStorage_Revert(p) (p)->lpVtbl->Revert(p)
|
||||
#define IPropertyStorage_Enum(p,a) (p)->lpVtbl->Enum(p,a)
|
||||
#define IPropertyStorage_SetTimes(p,a,b,c) (p)->lpVtbl->SetTimes(p,a,b,c)
|
||||
#define IPropertyStorage_SetClass(p,a) (p)->lpVtbl->SetClass(p,a)
|
||||
#define IPropertyStorage_Stat(p,a) (p)->lpVtbl->Stat(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IPropertyStorage_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IPropertyStorage methods ***/ \
|
||||
STDMETHOD_(HRESULT,ReadMultiple)(THIS_ ULONG cpspec, const PROPSPEC rgpspec[], PROPVARIANT rgpropvar[]) PURE; \
|
||||
STDMETHOD_(HRESULT,WriteMultiple)(THIS_ ULONG cpspec, const PROPSPEC rgpspec[], const PROPVARIANT rgpropvar[], PROPID propidNameFirst) PURE; \
|
||||
STDMETHOD_(HRESULT,DeleteMultiple)(THIS_ ULONG cpspec, const PROPSPEC rgpspec[]) PURE; \
|
||||
STDMETHOD_(HRESULT,ReadPropertyNames)(THIS_ ULONG cpropid, const PROPID rgpropid[], LPOLESTR rglpwstrName[]) PURE; \
|
||||
STDMETHOD_(HRESULT,WritePropertyNames)(THIS_ ULONG cpropid, const PROPID rgpropid[], const LPOLESTR rglpwstrName[]) PURE; \
|
||||
STDMETHOD_(HRESULT,DeletePropertyNames)(THIS_ ULONG cpropid, const PROPID rgpropid[]) PURE; \
|
||||
STDMETHOD_(HRESULT,Commit)(THIS_ DWORD grfCommitFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,Revert)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Enum)(THIS_ IEnumSTATPROPSTG** ppenum) PURE; \
|
||||
STDMETHOD_(HRESULT,SetTimes)(THIS_ const FILETIME* pctime, const FILETIME* patime, const FILETIME* pmtime) PURE; \
|
||||
STDMETHOD_(HRESULT,SetClass)(THIS_ REFCLSID clsid) PURE; \
|
||||
STDMETHOD_(HRESULT,Stat)(THIS_ STATPROPSETSTG* statpsstg) PURE;
|
||||
|
||||
HRESULT CALLBACK IPropertyStorage_ReadMultiple_Proxy(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[],
|
||||
PROPVARIANT rgpropvar[]);
|
||||
void __RPC_STUB IPropertyStorage_ReadMultiple_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_WriteMultiple_Proxy(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[],
|
||||
const PROPVARIANT rgpropvar[],
|
||||
PROPID propidNameFirst);
|
||||
void __RPC_STUB IPropertyStorage_WriteMultiple_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_DeleteMultiple_Proxy(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpspec,
|
||||
const PROPSPEC rgpspec[]);
|
||||
void __RPC_STUB IPropertyStorage_DeleteMultiple_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_ReadPropertyNames_Proxy(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[],
|
||||
LPOLESTR rglpwstrName[]);
|
||||
void __RPC_STUB IPropertyStorage_ReadPropertyNames_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_WritePropertyNames_Proxy(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[],
|
||||
const LPOLESTR rglpwstrName[]);
|
||||
void __RPC_STUB IPropertyStorage_WritePropertyNames_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_DeletePropertyNames_Proxy(
|
||||
IPropertyStorage* This,
|
||||
ULONG cpropid,
|
||||
const PROPID rgpropid[]);
|
||||
void __RPC_STUB IPropertyStorage_DeletePropertyNames_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_Commit_Proxy(
|
||||
IPropertyStorage* This,
|
||||
DWORD grfCommitFlags);
|
||||
void __RPC_STUB IPropertyStorage_Commit_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_Revert_Proxy(
|
||||
IPropertyStorage* This);
|
||||
void __RPC_STUB IPropertyStorage_Revert_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_Enum_Proxy(
|
||||
IPropertyStorage* This,
|
||||
IEnumSTATPROPSTG** ppenum);
|
||||
void __RPC_STUB IPropertyStorage_Enum_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_SetTimes_Proxy(
|
||||
IPropertyStorage* This,
|
||||
const FILETIME* pctime,
|
||||
const FILETIME* patime,
|
||||
const FILETIME* pmtime);
|
||||
void __RPC_STUB IPropertyStorage_SetTimes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_SetClass_Proxy(
|
||||
IPropertyStorage* This,
|
||||
REFCLSID clsid);
|
||||
void __RPC_STUB IPropertyStorage_SetClass_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertyStorage_Stat_Proxy(
|
||||
IPropertyStorage* This,
|
||||
STATPROPSETSTG* statpsstg);
|
||||
void __RPC_STUB IPropertyStorage_Stat_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IPropertyStorage_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IPropertySetStorage_FWD_DEFINED__
|
||||
#define __IPropertySetStorage_FWD_DEFINED__
|
||||
typedef struct IPropertySetStorage IPropertySetStorage;
|
||||
#endif
|
||||
|
||||
typedef IPropertySetStorage *LPPROPERTYSETSTORAGE;
|
||||
|
||||
/*****************************************************************************
|
||||
* IPropertySetStorage interface
|
||||
*/
|
||||
#ifndef __IPropertySetStorage_INTERFACE_DEFINED__
|
||||
#define __IPropertySetStorage_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IPropertySetStorage, 0x0000013a, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IPropertySetStorage : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Create(
|
||||
REFFMTID rfmtid,
|
||||
const CLSID* pclsid,
|
||||
DWORD grfFlags,
|
||||
DWORD grfMode,
|
||||
IPropertyStorage** ppprstg) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Open(
|
||||
REFFMTID rfmtid,
|
||||
DWORD grfMode,
|
||||
IPropertyStorage** ppprstg) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Delete(
|
||||
REFFMTID rfmtid) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Enum(
|
||||
IEnumSTATPROPSETSTG** ppenum) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IPropertySetStorageVtbl IPropertySetStorageVtbl;
|
||||
struct IPropertySetStorage {
|
||||
const IPropertySetStorageVtbl* lpVtbl;
|
||||
};
|
||||
struct IPropertySetStorageVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IPropertySetStorage* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IPropertySetStorage* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IPropertySetStorage* This);
|
||||
|
||||
/*** IPropertySetStorage methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Create)(
|
||||
IPropertySetStorage* This,
|
||||
REFFMTID rfmtid,
|
||||
const CLSID* pclsid,
|
||||
DWORD grfFlags,
|
||||
DWORD grfMode,
|
||||
IPropertyStorage** ppprstg);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Open)(
|
||||
IPropertySetStorage* This,
|
||||
REFFMTID rfmtid,
|
||||
DWORD grfMode,
|
||||
IPropertyStorage** ppprstg);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Delete)(
|
||||
IPropertySetStorage* This,
|
||||
REFFMTID rfmtid);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Enum)(
|
||||
IPropertySetStorage* This,
|
||||
IEnumSTATPROPSETSTG** ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPropertySetStorage_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPropertySetStorage_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPropertySetStorage_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPropertySetStorage methods ***/
|
||||
#define IPropertySetStorage_Create(p,a,b,c,d,e) (p)->lpVtbl->Create(p,a,b,c,d,e)
|
||||
#define IPropertySetStorage_Open(p,a,b,c) (p)->lpVtbl->Open(p,a,b,c)
|
||||
#define IPropertySetStorage_Delete(p,a) (p)->lpVtbl->Delete(p,a)
|
||||
#define IPropertySetStorage_Enum(p,a) (p)->lpVtbl->Enum(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IPropertySetStorage_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IPropertySetStorage methods ***/ \
|
||||
STDMETHOD_(HRESULT,Create)(THIS_ REFFMTID rfmtid, const CLSID* pclsid, DWORD grfFlags, DWORD grfMode, IPropertyStorage** ppprstg) PURE; \
|
||||
STDMETHOD_(HRESULT,Open)(THIS_ REFFMTID rfmtid, DWORD grfMode, IPropertyStorage** ppprstg) PURE; \
|
||||
STDMETHOD_(HRESULT,Delete)(THIS_ REFFMTID rfmtid) PURE; \
|
||||
STDMETHOD_(HRESULT,Enum)(THIS_ IEnumSTATPROPSETSTG** ppenum) PURE;
|
||||
|
||||
HRESULT CALLBACK IPropertySetStorage_Create_Proxy(
|
||||
IPropertySetStorage* This,
|
||||
REFFMTID rfmtid,
|
||||
const CLSID* pclsid,
|
||||
DWORD grfFlags,
|
||||
DWORD grfMode,
|
||||
IPropertyStorage** ppprstg);
|
||||
void __RPC_STUB IPropertySetStorage_Create_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertySetStorage_Open_Proxy(
|
||||
IPropertySetStorage* This,
|
||||
REFFMTID rfmtid,
|
||||
DWORD grfMode,
|
||||
IPropertyStorage** ppprstg);
|
||||
void __RPC_STUB IPropertySetStorage_Open_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertySetStorage_Delete_Proxy(
|
||||
IPropertySetStorage* This,
|
||||
REFFMTID rfmtid);
|
||||
void __RPC_STUB IPropertySetStorage_Delete_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPropertySetStorage_Enum_Proxy(
|
||||
IPropertySetStorage* This,
|
||||
IEnumSTATPROPSETSTG** ppenum);
|
||||
void __RPC_STUB IPropertySetStorage_Enum_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IPropertySetStorage_INTERFACE_DEFINED__ */
|
||||
|
||||
typedef IEnumSTATPROPSTG *LPENUMSTATPROPSTG;
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumSTATPROPSTG interface
|
||||
*/
|
||||
#ifndef __IEnumSTATPROPSTG_INTERFACE_DEFINED__
|
||||
#define __IEnumSTATPROPSTG_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IEnumSTATPROPSTG, 0x00000139, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IEnumSTATPROPSTG : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
ULONG celt,
|
||||
STATPROPSTG* rgelt,
|
||||
ULONG* pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
ULONG celt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumSTATPROPSTG** ppenum) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IEnumSTATPROPSTGVtbl IEnumSTATPROPSTGVtbl;
|
||||
struct IEnumSTATPROPSTG {
|
||||
const IEnumSTATPROPSTGVtbl* lpVtbl;
|
||||
};
|
||||
struct IEnumSTATPROPSTGVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumSTATPROPSTG* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumSTATPROPSTG* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumSTATPROPSTG* This);
|
||||
|
||||
/*** IEnumSTATPROPSTG methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumSTATPROPSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumSTATPROPSTG* This,
|
||||
ULONG celt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumSTATPROPSTG* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumSTATPROPSTG* This,
|
||||
IEnumSTATPROPSTG** ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumSTATPROPSTG_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumSTATPROPSTG_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumSTATPROPSTG_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumSTATPROPSTG methods ***/
|
||||
#define IEnumSTATPROPSTG_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumSTATPROPSTG_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumSTATPROPSTG_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumSTATPROPSTG_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IEnumSTATPROPSTG_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IEnumSTATPROPSTG methods ***/ \
|
||||
STDMETHOD_(HRESULT,Next)(THIS_ ULONG celt, STATPROPSTG* rgelt, ULONG* pceltFetched) PURE; \
|
||||
STDMETHOD_(HRESULT,Skip)(THIS_ ULONG celt) PURE; \
|
||||
STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Clone)(THIS_ IEnumSTATPROPSTG** ppenum) PURE;
|
||||
|
||||
HRESULT CALLBACK IEnumSTATPROPSTG_RemoteNext_Proxy(
|
||||
IEnumSTATPROPSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
void __RPC_STUB IEnumSTATPROPSTG_RemoteNext_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumSTATPROPSTG_Next_Proxy(
|
||||
IEnumSTATPROPSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
HRESULT __RPC_STUB IEnumSTATPROPSTG_Next_Stub(
|
||||
IEnumSTATPROPSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
HRESULT CALLBACK IEnumSTATPROPSTG_Skip_Proxy(
|
||||
IEnumSTATPROPSTG* This,
|
||||
ULONG celt);
|
||||
void __RPC_STUB IEnumSTATPROPSTG_Skip_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumSTATPROPSTG_Reset_Proxy(
|
||||
IEnumSTATPROPSTG* This);
|
||||
void __RPC_STUB IEnumSTATPROPSTG_Reset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumSTATPROPSTG_Clone_Proxy(
|
||||
IEnumSTATPROPSTG* This,
|
||||
IEnumSTATPROPSTG** ppenum);
|
||||
void __RPC_STUB IEnumSTATPROPSTG_Clone_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IEnumSTATPROPSTG_INTERFACE_DEFINED__ */
|
||||
|
||||
typedef IEnumSTATPROPSETSTG *LPENUMSTATPROPSETSTG;
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumSTATPROPSETSTG interface
|
||||
*/
|
||||
#ifndef __IEnumSTATPROPSETSTG_INTERFACE_DEFINED__
|
||||
#define __IEnumSTATPROPSETSTG_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IEnumSTATPROPSETSTG, 0x0000013b, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IEnumSTATPROPSETSTG : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
ULONG celt,
|
||||
STATPROPSETSTG* rgelt,
|
||||
ULONG* pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
ULONG celt) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumSTATPROPSETSTG** ppenum) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IEnumSTATPROPSETSTGVtbl IEnumSTATPROPSETSTGVtbl;
|
||||
struct IEnumSTATPROPSETSTG {
|
||||
const IEnumSTATPROPSETSTGVtbl* lpVtbl;
|
||||
};
|
||||
struct IEnumSTATPROPSETSTGVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumSTATPROPSETSTG* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumSTATPROPSETSTG* This);
|
||||
|
||||
/*** IEnumSTATPROPSETSTG methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSETSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
ULONG celt);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumSTATPROPSETSTG* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
IEnumSTATPROPSETSTG** ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumSTATPROPSETSTG_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumSTATPROPSETSTG_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumSTATPROPSETSTG_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumSTATPROPSETSTG methods ***/
|
||||
#define IEnumSTATPROPSETSTG_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumSTATPROPSETSTG_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#define IEnumSTATPROPSETSTG_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumSTATPROPSETSTG_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IEnumSTATPROPSETSTG_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IEnumSTATPROPSETSTG methods ***/ \
|
||||
STDMETHOD_(HRESULT,Next)(THIS_ ULONG celt, STATPROPSETSTG* rgelt, ULONG* pceltFetched) PURE; \
|
||||
STDMETHOD_(HRESULT,Skip)(THIS_ ULONG celt) PURE; \
|
||||
STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Clone)(THIS_ IEnumSTATPROPSETSTG** ppenum) PURE;
|
||||
|
||||
HRESULT CALLBACK IEnumSTATPROPSETSTG_RemoteNext_Proxy(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSETSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
void __RPC_STUB IEnumSTATPROPSETSTG_RemoteNext_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumSTATPROPSETSTG_Next_Proxy(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSETSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
HRESULT __RPC_STUB IEnumSTATPROPSETSTG_Next_Stub(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
ULONG celt,
|
||||
STATPROPSETSTG* rgelt,
|
||||
ULONG* pceltFetched);
|
||||
HRESULT CALLBACK IEnumSTATPROPSETSTG_Skip_Proxy(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
ULONG celt);
|
||||
void __RPC_STUB IEnumSTATPROPSETSTG_Skip_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumSTATPROPSETSTG_Reset_Proxy(
|
||||
IEnumSTATPROPSETSTG* This);
|
||||
void __RPC_STUB IEnumSTATPROPSETSTG_Reset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumSTATPROPSETSTG_Clone_Proxy(
|
||||
IEnumSTATPROPSETSTG* This,
|
||||
IEnumSTATPROPSETSTG** ppenum);
|
||||
void __RPC_STUB IEnumSTATPROPSETSTG_Clone_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IEnumSTATPROPSETSTG_INTERFACE_DEFINED__ */
|
||||
|
||||
HRESULT WINAPI FreePropVariantArray(ULONG,PROPVARIANT*);
|
||||
HRESULT WINAPI PropVariantClear(PROPVARIANT*);
|
||||
HRESULT WINAPI PropVariantCopy(PROPVARIANT*,const PROPVARIANT*);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_PROPIDL_H */
|
941
include/pstore.h
941
include/pstore.h
|
@ -1,941 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from pstore.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_PSTORE_H
|
||||
#define __WIDL_PSTORE_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <oaidl.h>
|
||||
#define PST_KEY_CURRENT_USER 0
|
||||
#define PST_KEY_LOCAL_MACHINE 1
|
||||
#define PST_E_OK 0x00000000L
|
||||
#define PST_E_TYPE_EXISTS 0x800C0004L
|
||||
#define PST_AUTHENTICODE 1
|
||||
#define PST_BINARY_CHECK 2
|
||||
#define PST_SECURITY_DESCRIPTOR 4
|
||||
typedef DWORD PST_ACCESSMODE;
|
||||
|
||||
typedef DWORD PST_ACCESSCLAUSETYPE;
|
||||
|
||||
typedef DWORD PST_KEY;
|
||||
|
||||
typedef DWORD PST_PROVIDERCAPABILITIES;
|
||||
|
||||
typedef GUID PST_PROVIDERID, *PPST_PROVIDERID;
|
||||
|
||||
typedef struct _PST_PROVIDERINFO {
|
||||
DWORD cbSize;
|
||||
PST_PROVIDERID ID;
|
||||
PST_PROVIDERCAPABILITIES Capabilities;
|
||||
LPWSTR szProviderName;
|
||||
} PST_PROVIDERINFO, *PPST_PROVIDERINFO;
|
||||
|
||||
typedef void *PPST_PROMPTIFO;
|
||||
|
||||
typedef struct {
|
||||
DWORD cbSize;
|
||||
PST_ACCESSCLAUSETYPE ClauseType;
|
||||
DWORD cbClauseData;
|
||||
BYTE *pbClauseData;
|
||||
} PST_ACCESSCLAUSE, *PPST_ACCESSCLAUSE;
|
||||
|
||||
typedef struct {
|
||||
DWORD cbSize;
|
||||
PST_ACCESSMODE AccessModeFlags;
|
||||
DWORD cClauses;
|
||||
PST_ACCESSCLAUSE *rgClauses;
|
||||
} PST_ACCESSRULE, *PPST_ACCESSRULE;
|
||||
|
||||
typedef struct {
|
||||
DWORD cbSize;
|
||||
DWORD cClause;
|
||||
PST_ACCESSRULE *rgRules;
|
||||
} PST_ACCESSRULESET, *PPST_ACCESSRULESET;
|
||||
|
||||
typedef struct {
|
||||
DWORD cbSize;
|
||||
LPWSTR szDisplayName;
|
||||
} PST_TYPEINFO, *PPST_TYPEINFO;
|
||||
|
||||
typedef struct {
|
||||
DWORD cbSize;
|
||||
DWORD dwPromptFlags;
|
||||
DWORD_PTR hwndApp;
|
||||
LPCWSTR szPrompt;
|
||||
} PST_PROMPTINFO, *PPST_PROMPTINFO;
|
||||
|
||||
#ifndef __IEnumPStoreItems_FWD_DEFINED__
|
||||
#define __IEnumPStoreItems_FWD_DEFINED__
|
||||
typedef struct IEnumPStoreItems IEnumPStoreItems;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumPStoreItems interface
|
||||
*/
|
||||
#ifndef __IEnumPStoreItems_INTERFACE_DEFINED__
|
||||
#define __IEnumPStoreItems_INTERFACE_DEFINED__
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IEnumPStoreItems : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumPStoreItems** ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
DWORD celt,
|
||||
LPWSTR* rgelt,
|
||||
DWORD* pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
DWORD celt) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IEnumPStoreItemsVtbl IEnumPStoreItemsVtbl;
|
||||
struct IEnumPStoreItems {
|
||||
const IEnumPStoreItemsVtbl* lpVtbl;
|
||||
};
|
||||
struct IEnumPStoreItemsVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumPStoreItems* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumPStoreItems* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumPStoreItems* This);
|
||||
|
||||
/*** IEnumPStoreItems methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumPStoreItems* This,
|
||||
IEnumPStoreItems** ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumPStoreItems* This,
|
||||
DWORD celt,
|
||||
LPWSTR* rgelt,
|
||||
DWORD* pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumPStoreItems* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumPStoreItems* This,
|
||||
DWORD celt);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumPStoreItems_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumPStoreItems_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumPStoreItems_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumPStoreItems methods ***/
|
||||
#define IEnumPStoreItems_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#define IEnumPStoreItems_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumPStoreItems_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumPStoreItems_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IEnumPStoreItems_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IEnumPStoreItems methods ***/ \
|
||||
STDMETHOD_(HRESULT,Clone)(THIS_ IEnumPStoreItems** ppenum) PURE; \
|
||||
STDMETHOD_(HRESULT,Next)(THIS_ DWORD celt, LPWSTR* rgelt, DWORD* pceltFetched) PURE; \
|
||||
STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Skip)(THIS_ DWORD celt) PURE;
|
||||
|
||||
HRESULT CALLBACK IEnumPStoreItems_Clone_Proxy(
|
||||
IEnumPStoreItems* This,
|
||||
IEnumPStoreItems** ppenum);
|
||||
void __RPC_STUB IEnumPStoreItems_Clone_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumPStoreItems_Next_Proxy(
|
||||
IEnumPStoreItems* This,
|
||||
DWORD celt,
|
||||
LPWSTR* rgelt,
|
||||
DWORD* pceltFetched);
|
||||
void __RPC_STUB IEnumPStoreItems_Next_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumPStoreItems_Reset_Proxy(
|
||||
IEnumPStoreItems* This);
|
||||
void __RPC_STUB IEnumPStoreItems_Reset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumPStoreItems_Skip_Proxy(
|
||||
IEnumPStoreItems* This,
|
||||
DWORD celt);
|
||||
void __RPC_STUB IEnumPStoreItems_Skip_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IEnumPStoreItems_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IEnumPStoreTypes_FWD_DEFINED__
|
||||
#define __IEnumPStoreTypes_FWD_DEFINED__
|
||||
typedef struct IEnumPStoreTypes IEnumPStoreTypes;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IEnumPStoreTypes interface
|
||||
*/
|
||||
#ifndef __IEnumPStoreTypes_INTERFACE_DEFINED__
|
||||
#define __IEnumPStoreTypes_INTERFACE_DEFINED__
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IEnumPStoreTypes : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Clone(
|
||||
IEnumPStoreTypes** ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Next(
|
||||
DWORD celt,
|
||||
LPWSTR* rgelt,
|
||||
DWORD* pceltFetched) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Reset(
|
||||
) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Skip(
|
||||
DWORD celt) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IEnumPStoreTypesVtbl IEnumPStoreTypesVtbl;
|
||||
struct IEnumPStoreTypes {
|
||||
const IEnumPStoreTypesVtbl* lpVtbl;
|
||||
};
|
||||
struct IEnumPStoreTypesVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IEnumPStoreTypes* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IEnumPStoreTypes* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IEnumPStoreTypes* This);
|
||||
|
||||
/*** IEnumPStoreTypes methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Clone)(
|
||||
IEnumPStoreTypes* This,
|
||||
IEnumPStoreTypes** ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Next)(
|
||||
IEnumPStoreTypes* This,
|
||||
DWORD celt,
|
||||
LPWSTR* rgelt,
|
||||
DWORD* pceltFetched);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Reset)(
|
||||
IEnumPStoreTypes* This);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Skip)(
|
||||
IEnumPStoreTypes* This,
|
||||
DWORD celt);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IEnumPStoreTypes_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IEnumPStoreTypes_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IEnumPStoreTypes_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IEnumPStoreTypes methods ***/
|
||||
#define IEnumPStoreTypes_Clone(p,a) (p)->lpVtbl->Clone(p,a)
|
||||
#define IEnumPStoreTypes_Next(p,a,b,c) (p)->lpVtbl->Next(p,a,b,c)
|
||||
#define IEnumPStoreTypes_Reset(p) (p)->lpVtbl->Reset(p)
|
||||
#define IEnumPStoreTypes_Skip(p,a) (p)->lpVtbl->Skip(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IEnumPStoreTypes_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IEnumPStoreTypes methods ***/ \
|
||||
STDMETHOD_(HRESULT,Clone)(THIS_ IEnumPStoreTypes** ppenum) PURE; \
|
||||
STDMETHOD_(HRESULT,Next)(THIS_ DWORD celt, LPWSTR* rgelt, DWORD* pceltFetched) PURE; \
|
||||
STDMETHOD_(HRESULT,Reset)(THIS) PURE; \
|
||||
STDMETHOD_(HRESULT,Skip)(THIS_ DWORD celt) PURE;
|
||||
|
||||
HRESULT CALLBACK IEnumPStoreTypes_Clone_Proxy(
|
||||
IEnumPStoreTypes* This,
|
||||
IEnumPStoreTypes** ppenum);
|
||||
void __RPC_STUB IEnumPStoreTypes_Clone_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumPStoreTypes_Next_Proxy(
|
||||
IEnumPStoreTypes* This,
|
||||
DWORD celt,
|
||||
LPWSTR* rgelt,
|
||||
DWORD* pceltFetched);
|
||||
void __RPC_STUB IEnumPStoreTypes_Next_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumPStoreTypes_Reset_Proxy(
|
||||
IEnumPStoreTypes* This);
|
||||
void __RPC_STUB IEnumPStoreTypes_Reset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IEnumPStoreTypes_Skip_Proxy(
|
||||
IEnumPStoreTypes* This,
|
||||
DWORD celt);
|
||||
void __RPC_STUB IEnumPStoreTypes_Skip_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IEnumPStoreTypes_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IPStore_FWD_DEFINED__
|
||||
#define __IPStore_FWD_DEFINED__
|
||||
typedef struct IPStore IPStore;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IPStore interface
|
||||
*/
|
||||
#ifndef __IPStore_INTERFACE_DEFINED__
|
||||
#define __IPStore_INTERFACE_DEFINED__
|
||||
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IPStore : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE GetInfo(
|
||||
PPST_PROVIDERINFO* ppProperties) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetProvParam(
|
||||
DWORD dwParam,
|
||||
DWORD* pcbData,
|
||||
BYTE** ppbData,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE SetProvParam(
|
||||
DWORD dwParam,
|
||||
DWORD cbData,
|
||||
BYTE* pbData,
|
||||
DWORD* dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateType(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
PPST_TYPEINFO pInfo,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetTypeInfo(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
PPST_TYPEINFO** ppInfo,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteType(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateSubtype(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET pRules,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetSubtypeInfo(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO** ppInfo,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteSubtype(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE ReadAccessRuleset(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET** ppRules,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE WriteAccessRuleset(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET pRules,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumTypes(
|
||||
PST_KEY Key,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreTypes** ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumSubtypes(
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreTypes** ppenum) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE DeleteItem(
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubType,
|
||||
LPCWSTR szItemName,
|
||||
PPST_PROMPTINFO pPromptInfo,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE ReadItem(
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
DWORD* cbData,
|
||||
BYTE** pbData,
|
||||
PPST_PROMPTIFO pPromptInfo,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE WriteItem(
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
DWORD cbData,
|
||||
BYTE* ppbData,
|
||||
PPST_PROMPTIFO pPromptInfo,
|
||||
DWORD dwDefaultConfirmationStyle,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE OpenItem(
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
PST_ACCESSMODE ModeFlags,
|
||||
PPST_PROMPTIFO pProomptInfo,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE CloseItem(
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR* szItemName,
|
||||
DWORD dwFlags) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE EnumItems(
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreItems** ppenum) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IPStoreVtbl IPStoreVtbl;
|
||||
struct IPStore {
|
||||
const IPStoreVtbl* lpVtbl;
|
||||
};
|
||||
struct IPStoreVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IPStore* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IPStore* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IPStore* This);
|
||||
|
||||
/*** IPStore methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetInfo)(
|
||||
IPStore* This,
|
||||
PPST_PROVIDERINFO* ppProperties);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetProvParam)(
|
||||
IPStore* This,
|
||||
DWORD dwParam,
|
||||
DWORD* pcbData,
|
||||
BYTE** ppbData,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *SetProvParam)(
|
||||
IPStore* This,
|
||||
DWORD dwParam,
|
||||
DWORD cbData,
|
||||
BYTE* pbData,
|
||||
DWORD* dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateType)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
PPST_TYPEINFO pInfo,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
PPST_TYPEINFO** ppInfo,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteType)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CreateSubtype)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET pRules,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetSubtypeInfo)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO** ppInfo,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteSubtype)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *ReadAccessRuleset)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET** ppRules,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *WriteAccessRuleset)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET pRules,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumTypes)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreTypes** ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumSubtypes)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreTypes** ppenum);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *DeleteItem)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubType,
|
||||
LPCWSTR szItemName,
|
||||
PPST_PROMPTINFO pPromptInfo,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *ReadItem)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
DWORD* cbData,
|
||||
BYTE** pbData,
|
||||
PPST_PROMPTIFO pPromptInfo,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *WriteItem)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
DWORD cbData,
|
||||
BYTE* ppbData,
|
||||
PPST_PROMPTIFO pPromptInfo,
|
||||
DWORD dwDefaultConfirmationStyle,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *OpenItem)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
PST_ACCESSMODE ModeFlags,
|
||||
PPST_PROMPTIFO pProomptInfo,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *CloseItem)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR* szItemName,
|
||||
DWORD dwFlags);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *EnumItems)(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreItems** ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IPStore_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IPStore_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IPStore_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IPStore methods ***/
|
||||
#define IPStore_GetInfo(p,a) (p)->lpVtbl->GetInfo(p,a)
|
||||
#define IPStore_GetProvParam(p,a,b,c,d) (p)->lpVtbl->GetProvParam(p,a,b,c,d)
|
||||
#define IPStore_SetProvParam(p,a,b,c,d) (p)->lpVtbl->SetProvParam(p,a,b,c,d)
|
||||
#define IPStore_CreateType(p,a,b,c,d) (p)->lpVtbl->CreateType(p,a,b,c,d)
|
||||
#define IPStore_GetTypeInfo(p,a,b,c,d) (p)->lpVtbl->GetTypeInfo(p,a,b,c,d)
|
||||
#define IPStore_DeleteType(p,a,b,c) (p)->lpVtbl->DeleteType(p,a,b,c)
|
||||
#define IPStore_CreateSubtype(p,a,b,c,d,e,f) (p)->lpVtbl->CreateSubtype(p,a,b,c,d,e,f)
|
||||
#define IPStore_GetSubtypeInfo(p,a,b,c,d,e) (p)->lpVtbl->GetSubtypeInfo(p,a,b,c,d,e)
|
||||
#define IPStore_DeleteSubtype(p,a,b,c,d) (p)->lpVtbl->DeleteSubtype(p,a,b,c,d)
|
||||
#define IPStore_ReadAccessRuleset(p,a,b,c,d,e,f) (p)->lpVtbl->ReadAccessRuleset(p,a,b,c,d,e,f)
|
||||
#define IPStore_WriteAccessRuleset(p,a,b,c,d,e,f) (p)->lpVtbl->WriteAccessRuleset(p,a,b,c,d,e,f)
|
||||
#define IPStore_EnumTypes(p,a,b,c) (p)->lpVtbl->EnumTypes(p,a,b,c)
|
||||
#define IPStore_EnumSubtypes(p,a,b,c,d) (p)->lpVtbl->EnumSubtypes(p,a,b,c,d)
|
||||
#define IPStore_DeleteItem(p,a,b,c,d,e,f) (p)->lpVtbl->DeleteItem(p,a,b,c,d,e,f)
|
||||
#define IPStore_ReadItem(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->ReadItem(p,a,b,c,d,e,f,g,h)
|
||||
#define IPStore_WriteItem(p,a,b,c,d,e,f,g,h,i) (p)->lpVtbl->WriteItem(p,a,b,c,d,e,f,g,h,i)
|
||||
#define IPStore_OpenItem(p,a,b,c,d,e,f,g) (p)->lpVtbl->OpenItem(p,a,b,c,d,e,f,g)
|
||||
#define IPStore_CloseItem(p,a,b,c,d,e) (p)->lpVtbl->CloseItem(p,a,b,c,d,e)
|
||||
#define IPStore_EnumItems(p,a,b,c,d,e) (p)->lpVtbl->EnumItems(p,a,b,c,d,e)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IPStore_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IPStore methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetInfo)(THIS_ PPST_PROVIDERINFO* ppProperties) PURE; \
|
||||
STDMETHOD_(HRESULT,GetProvParam)(THIS_ DWORD dwParam, DWORD* pcbData, BYTE** ppbData, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,SetProvParam)(THIS_ DWORD dwParam, DWORD cbData, BYTE* pbData, DWORD* dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateType)(THIS_ PST_KEY Key, const GUID* pType, PPST_TYPEINFO pInfo, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ PST_KEY Key, const GUID* pType, PPST_TYPEINFO** ppInfo, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,DeleteType)(THIS_ PST_KEY Key, const GUID* pType, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,CreateSubtype)(THIS_ PST_KEY Key, const GUID* pType, const GUID* pSubtype, PPST_TYPEINFO pInfo, PPST_ACCESSRULESET pRules, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,GetSubtypeInfo)(THIS_ PST_KEY Key, const GUID* pType, const GUID* pSubtype, PPST_TYPEINFO** ppInfo, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,DeleteSubtype)(THIS_ PST_KEY Key, const GUID* pType, const GUID* pSubtype, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,ReadAccessRuleset)(THIS_ PST_KEY Key, const GUID* pType, const GUID* pSubtype, PPST_TYPEINFO pInfo, PPST_ACCESSRULESET** ppRules, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,WriteAccessRuleset)(THIS_ PST_KEY Key, const GUID* pType, const GUID* pSubtype, PPST_TYPEINFO pInfo, PPST_ACCESSRULESET pRules, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumTypes)(THIS_ PST_KEY Key, DWORD dwFlags, IEnumPStoreTypes** ppenum) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumSubtypes)(THIS_ PST_KEY Key, const GUID* pType, DWORD dwFlags, IEnumPStoreTypes** ppenum) PURE; \
|
||||
STDMETHOD_(HRESULT,DeleteItem)(THIS_ PST_KEY Key, const GUID* pItemType, const GUID* pItemSubType, LPCWSTR szItemName, PPST_PROMPTINFO pPromptInfo, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,ReadItem)(THIS_ PST_KEY Key, const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName, DWORD* cbData, BYTE** pbData, PPST_PROMPTIFO pPromptInfo, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,WriteItem)(THIS_ PST_KEY Key, const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName, DWORD cbData, BYTE* ppbData, PPST_PROMPTIFO pPromptInfo, DWORD dwDefaultConfirmationStyle, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,OpenItem)(THIS_ PST_KEY Key, const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR szItemName, PST_ACCESSMODE ModeFlags, PPST_PROMPTIFO pProomptInfo, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,CloseItem)(THIS_ PST_KEY Key, const GUID* pItemType, const GUID* pItemSubtype, LPCWSTR* szItemName, DWORD dwFlags) PURE; \
|
||||
STDMETHOD_(HRESULT,EnumItems)(THIS_ PST_KEY Key, const GUID* pItemType, const GUID* pItemSubtype, DWORD dwFlags, IEnumPStoreItems** ppenum) PURE;
|
||||
|
||||
HRESULT CALLBACK IPStore_GetInfo_Proxy(
|
||||
IPStore* This,
|
||||
PPST_PROVIDERINFO* ppProperties);
|
||||
void __RPC_STUB IPStore_GetInfo_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_GetProvParam_Proxy(
|
||||
IPStore* This,
|
||||
DWORD dwParam,
|
||||
DWORD* pcbData,
|
||||
BYTE** ppbData,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_GetProvParam_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_SetProvParam_Proxy(
|
||||
IPStore* This,
|
||||
DWORD dwParam,
|
||||
DWORD cbData,
|
||||
BYTE* pbData,
|
||||
DWORD* dwFlags);
|
||||
void __RPC_STUB IPStore_SetProvParam_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_CreateType_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
PPST_TYPEINFO pInfo,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_CreateType_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_GetTypeInfo_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
PPST_TYPEINFO** ppInfo,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_GetTypeInfo_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_DeleteType_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_DeleteType_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_CreateSubtype_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET pRules,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_CreateSubtype_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_GetSubtypeInfo_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO** ppInfo,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_GetSubtypeInfo_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_DeleteSubtype_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_DeleteSubtype_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_ReadAccessRuleset_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET** ppRules,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_ReadAccessRuleset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_WriteAccessRuleset_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
const GUID* pSubtype,
|
||||
PPST_TYPEINFO pInfo,
|
||||
PPST_ACCESSRULESET pRules,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_WriteAccessRuleset_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_EnumTypes_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreTypes** ppenum);
|
||||
void __RPC_STUB IPStore_EnumTypes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_EnumSubtypes_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pType,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreTypes** ppenum);
|
||||
void __RPC_STUB IPStore_EnumSubtypes_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_DeleteItem_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubType,
|
||||
LPCWSTR szItemName,
|
||||
PPST_PROMPTINFO pPromptInfo,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_DeleteItem_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_ReadItem_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
DWORD* cbData,
|
||||
BYTE** pbData,
|
||||
PPST_PROMPTIFO pPromptInfo,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_ReadItem_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_WriteItem_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
DWORD cbData,
|
||||
BYTE* ppbData,
|
||||
PPST_PROMPTIFO pPromptInfo,
|
||||
DWORD dwDefaultConfirmationStyle,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_WriteItem_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_OpenItem_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR szItemName,
|
||||
PST_ACCESSMODE ModeFlags,
|
||||
PPST_PROMPTIFO pProomptInfo,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_OpenItem_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_CloseItem_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
LPCWSTR* szItemName,
|
||||
DWORD dwFlags);
|
||||
void __RPC_STUB IPStore_CloseItem_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IPStore_EnumItems_Proxy(
|
||||
IPStore* This,
|
||||
PST_KEY Key,
|
||||
const GUID* pItemType,
|
||||
const GUID* pItemSubtype,
|
||||
DWORD dwFlags,
|
||||
IEnumPStoreItems** ppenum);
|
||||
void __RPC_STUB IPStore_EnumItems_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IPStore_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_PSTORE_H */
|
|
@ -1,109 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from servprov.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_SERVPROV_H
|
||||
#define __WIDL_SERVPROV_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <objidl.h>
|
||||
#ifndef __IServiceProvider_FWD_DEFINED__
|
||||
#define __IServiceProvider_FWD_DEFINED__
|
||||
typedef struct IServiceProvider IServiceProvider;
|
||||
#endif
|
||||
|
||||
typedef IServiceProvider *LPSERVICEPROVIDER;
|
||||
|
||||
/*****************************************************************************
|
||||
* IServiceProvider interface
|
||||
*/
|
||||
#ifndef __IServiceProvider_INTERFACE_DEFINED__
|
||||
#define __IServiceProvider_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IServiceProvider, 0x6d5140c1, 0x7436, 0x11ce, 0x80,0x34, 0x00,0xaa,0x00,0x60,0x09,0xfa);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IServiceProvider : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryService(
|
||||
REFGUID guidService,
|
||||
REFIID riid,
|
||||
void** ppvObject) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IServiceProviderVtbl IServiceProviderVtbl;
|
||||
struct IServiceProvider {
|
||||
const IServiceProviderVtbl* lpVtbl;
|
||||
};
|
||||
struct IServiceProviderVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IServiceProvider* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IServiceProvider* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IServiceProvider* This);
|
||||
|
||||
/*** IServiceProvider methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryService)(
|
||||
IServiceProvider* This,
|
||||
REFGUID guidService,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IServiceProvider_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IServiceProvider_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IServiceProvider_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IServiceProvider methods ***/
|
||||
#define IServiceProvider_QueryService(p,a,b,c) (p)->lpVtbl->QueryService(p,a,b,c)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IServiceProvider_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IServiceProvider methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryService)(THIS_ REFGUID guidService, REFIID riid, void** ppvObject) PURE;
|
||||
|
||||
HRESULT CALLBACK IServiceProvider_RemoteQueryService_Proxy(
|
||||
IServiceProvider* This,
|
||||
REFGUID guidService,
|
||||
REFIID riid,
|
||||
IUnknown** ppvObject);
|
||||
void __RPC_STUB IServiceProvider_RemoteQueryService_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IServiceProvider_QueryService_Proxy(
|
||||
IServiceProvider* This,
|
||||
REFGUID guidService,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
HRESULT __RPC_STUB IServiceProvider_QueryService_Stub(
|
||||
IServiceProvider* This,
|
||||
REFGUID guidService,
|
||||
REFIID riid,
|
||||
IUnknown** ppvObject);
|
||||
|
||||
#endif /* __IServiceProvider_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_SERVPROV_H */
|
|
@ -1,366 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from shldisp.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_SHLDISP_H
|
||||
#define __WIDL_SHLDISP_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <objidl.h>
|
||||
#include <oleidl.h>
|
||||
#include <oaidl.h>
|
||||
#include <shtypes.h>
|
||||
#include <servprov.h>
|
||||
#include <comcat.h>
|
||||
#ifndef __IAutoComplete_FWD_DEFINED__
|
||||
#define __IAutoComplete_FWD_DEFINED__
|
||||
typedef struct IAutoComplete IAutoComplete;
|
||||
#endif
|
||||
|
||||
typedef IAutoComplete *LPAUTOCOMPLETE;
|
||||
|
||||
/*****************************************************************************
|
||||
* IAutoComplete interface
|
||||
*/
|
||||
#ifndef __IAutoComplete_INTERFACE_DEFINED__
|
||||
#define __IAutoComplete_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAutoComplete, 0x00bb2762, 0x6a77, 0x11d0, 0xa5,0x35, 0x00,0xc0,0x4f,0xd7,0xd0,0x62);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IAutoComplete : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE Init(
|
||||
HWND hwndEdit,
|
||||
IUnknown* punkACL,
|
||||
LPCOLESTR pwszRegKeyPath,
|
||||
LPCOLESTR pwszQuickComplete) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE Enable(
|
||||
BOOL fEnable) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IAutoCompleteVtbl IAutoCompleteVtbl;
|
||||
struct IAutoComplete {
|
||||
const IAutoCompleteVtbl* lpVtbl;
|
||||
};
|
||||
struct IAutoCompleteVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAutoComplete* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAutoComplete* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAutoComplete* This);
|
||||
|
||||
/*** IAutoComplete methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Init)(
|
||||
IAutoComplete* This,
|
||||
HWND hwndEdit,
|
||||
IUnknown* punkACL,
|
||||
LPCOLESTR pwszRegKeyPath,
|
||||
LPCOLESTR pwszQuickComplete);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Enable)(
|
||||
IAutoComplete* This,
|
||||
BOOL fEnable);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAutoComplete_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IAutoComplete_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IAutoComplete_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IAutoComplete methods ***/
|
||||
#define IAutoComplete_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
|
||||
#define IAutoComplete_Enable(p,a) (p)->lpVtbl->Enable(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IAutoComplete_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IAutoComplete methods ***/ \
|
||||
STDMETHOD_(HRESULT,Init)(THIS_ HWND hwndEdit, IUnknown* punkACL, LPCOLESTR pwszRegKeyPath, LPCOLESTR pwszQuickComplete) PURE; \
|
||||
STDMETHOD_(HRESULT,Enable)(THIS_ BOOL fEnable) PURE;
|
||||
|
||||
HRESULT CALLBACK IAutoComplete_Init_Proxy(
|
||||
IAutoComplete* This,
|
||||
HWND hwndEdit,
|
||||
IUnknown* punkACL,
|
||||
LPCOLESTR pwszRegKeyPath,
|
||||
LPCOLESTR pwszQuickComplete);
|
||||
void __RPC_STUB IAutoComplete_Init_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IAutoComplete_Enable_Proxy(
|
||||
IAutoComplete* This,
|
||||
BOOL fEnable);
|
||||
void __RPC_STUB IAutoComplete_Enable_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IAutoComplete_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IAutoComplete2_FWD_DEFINED__
|
||||
#define __IAutoComplete2_FWD_DEFINED__
|
||||
typedef struct IAutoComplete2 IAutoComplete2;
|
||||
#endif
|
||||
|
||||
typedef IAutoComplete2 *LPAUTOCOMPLETE2;
|
||||
|
||||
typedef enum _tagAUTOCOMPLETEOPTIONS {
|
||||
ACO_NONE = 0x0,
|
||||
ACO_AUTOSUGGEST = 0x1,
|
||||
ACO_AUTOAPPEND = 0x2,
|
||||
ACO_SEARCH = 0x4,
|
||||
ACO_FILTERPREFIXES = 0x8,
|
||||
ACO_USETAB = 0x10,
|
||||
ACO_UPDOWNKEYDROPSLIST = 0x20,
|
||||
ACO_RTLREADING = 0x40
|
||||
} AUTOCOMPLETEOPTIONS;
|
||||
|
||||
/*****************************************************************************
|
||||
* IAutoComplete2 interface
|
||||
*/
|
||||
#ifndef __IAutoComplete2_INTERFACE_DEFINED__
|
||||
#define __IAutoComplete2_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IAutoComplete2, 0xeac04bc0, 0x3791, 0x11d2, 0xbb,0x95, 0x00,0x60,0x97,0x7b,0x46,0x4c);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IAutoComplete2 : public IAutoComplete
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE SetOptions(
|
||||
DWORD dwFlag) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE GetOptions(
|
||||
DWORD* pdwFlag) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IAutoComplete2Vtbl IAutoComplete2Vtbl;
|
||||
struct IAutoComplete2 {
|
||||
const IAutoComplete2Vtbl* lpVtbl;
|
||||
};
|
||||
struct IAutoComplete2Vtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IAutoComplete2* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IAutoComplete2* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IAutoComplete2* This);
|
||||
|
||||
/*** IAutoComplete methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *Init)(
|
||||
IAutoComplete2* This,
|
||||
HWND hwndEdit,
|
||||
IUnknown* punkACL,
|
||||
LPCOLESTR pwszRegKeyPath,
|
||||
LPCOLESTR pwszQuickComplete);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Enable)(
|
||||
IAutoComplete2* This,
|
||||
BOOL fEnable);
|
||||
|
||||
/*** IAutoComplete2 methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *SetOptions)(
|
||||
IAutoComplete2* This,
|
||||
DWORD dwFlag);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetOptions)(
|
||||
IAutoComplete2* This,
|
||||
DWORD* pdwFlag);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IAutoComplete2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IAutoComplete2_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IAutoComplete2_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IAutoComplete methods ***/
|
||||
#define IAutoComplete2_Init(p,a,b,c,d) (p)->lpVtbl->Init(p,a,b,c,d)
|
||||
#define IAutoComplete2_Enable(p,a) (p)->lpVtbl->Enable(p,a)
|
||||
/*** IAutoComplete2 methods ***/
|
||||
#define IAutoComplete2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
|
||||
#define IAutoComplete2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IAutoComplete2_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IAutoComplete methods ***/ \
|
||||
STDMETHOD_(HRESULT,Init)(THIS_ HWND hwndEdit, IUnknown* punkACL, LPCOLESTR pwszRegKeyPath, LPCOLESTR pwszQuickComplete) PURE; \
|
||||
STDMETHOD_(HRESULT,Enable)(THIS_ BOOL fEnable) PURE; \
|
||||
/*** IAutoComplete2 methods ***/ \
|
||||
STDMETHOD_(HRESULT,SetOptions)(THIS_ DWORD dwFlag) PURE; \
|
||||
STDMETHOD_(HRESULT,GetOptions)(THIS_ DWORD* pdwFlag) PURE;
|
||||
|
||||
HRESULT CALLBACK IAutoComplete2_SetOptions_Proxy(
|
||||
IAutoComplete2* This,
|
||||
DWORD dwFlag);
|
||||
void __RPC_STUB IAutoComplete2_SetOptions_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IAutoComplete2_GetOptions_Proxy(
|
||||
IAutoComplete2* This,
|
||||
DWORD* pdwFlag);
|
||||
void __RPC_STUB IAutoComplete2_GetOptions_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IAutoComplete2_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IFolderViewOC_FWD_DEFINED__
|
||||
#define __IFolderViewOC_FWD_DEFINED__
|
||||
typedef struct IFolderViewOC IFolderViewOC;
|
||||
#endif
|
||||
|
||||
/*****************************************************************************
|
||||
* IFolderViewOC interface
|
||||
*/
|
||||
#ifndef __IFolderViewOC_INTERFACE_DEFINED__
|
||||
#define __IFolderViewOC_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IFolderViewOC, 0x9ba05970, 0xf6a8, 0x11cf, 0xa4,0x42, 0x00,0xa0,0xc9,0x0a,0x8f,0x39);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IFolderViewOC : public IDispatch
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE SetFolderView(
|
||||
IDispatch* pdisp) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IFolderViewOCVtbl IFolderViewOCVtbl;
|
||||
struct IFolderViewOC {
|
||||
const IFolderViewOCVtbl* lpVtbl;
|
||||
};
|
||||
struct IFolderViewOCVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IFolderViewOC* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IFolderViewOC* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IFolderViewOC* This);
|
||||
|
||||
/*** IDispatch methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(
|
||||
IFolderViewOC* This,
|
||||
UINT* pctinfo);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(
|
||||
IFolderViewOC* This,
|
||||
UINT iTInfo,
|
||||
LCID lcid,
|
||||
ITypeInfo** ppTInfo);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(
|
||||
IFolderViewOC* This,
|
||||
REFIID riid,
|
||||
LPOLESTR* rgszNames,
|
||||
UINT cNames,
|
||||
LCID lcid,
|
||||
DISPID* rgDispId);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *Invoke)(
|
||||
IFolderViewOC* This,
|
||||
DISPID dispIdMember,
|
||||
REFIID riid,
|
||||
LCID lcid,
|
||||
WORD wFlags,
|
||||
DISPPARAMS* pDispParams,
|
||||
VARIANT* pVarResult,
|
||||
EXCEPINFO* pExcepInfo,
|
||||
UINT* puArgErr);
|
||||
|
||||
/*** IFolderViewOC methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *SetFolderView)(
|
||||
IFolderViewOC* This,
|
||||
IDispatch* pdisp);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IFolderViewOC_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IFolderViewOC_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IFolderViewOC_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IDispatch methods ***/
|
||||
#define IFolderViewOC_GetTypeInfoCount(p,a) (p)->lpVtbl->GetTypeInfoCount(p,a)
|
||||
#define IFolderViewOC_GetTypeInfo(p,a,b,c) (p)->lpVtbl->GetTypeInfo(p,a,b,c)
|
||||
#define IFolderViewOC_GetIDsOfNames(p,a,b,c,d,e) (p)->lpVtbl->GetIDsOfNames(p,a,b,c,d,e)
|
||||
#define IFolderViewOC_Invoke(p,a,b,c,d,e,f,g,h) (p)->lpVtbl->Invoke(p,a,b,c,d,e,f,g,h)
|
||||
/*** IFolderViewOC methods ***/
|
||||
#define IFolderViewOC_SetFolderView(p,a) (p)->lpVtbl->SetFolderView(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IFolderViewOC_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IDispatch methods ***/ \
|
||||
STDMETHOD_(HRESULT,GetTypeInfoCount)(THIS_ UINT* pctinfo) PURE; \
|
||||
STDMETHOD_(HRESULT,GetTypeInfo)(THIS_ UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) PURE; \
|
||||
STDMETHOD_(HRESULT,GetIDsOfNames)(THIS_ REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) PURE; \
|
||||
STDMETHOD_(HRESULT,Invoke)(THIS_ DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) PURE; \
|
||||
/*** IFolderViewOC methods ***/ \
|
||||
STDMETHOD_(HRESULT,SetFolderView)(THIS_ IDispatch* pdisp) PURE;
|
||||
|
||||
HRESULT CALLBACK IFolderViewOC_SetFolderView_Proxy(
|
||||
IFolderViewOC* This,
|
||||
IDispatch* pdisp);
|
||||
void __RPC_STUB IFolderViewOC_SetFolderView_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IFolderViewOC_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_SHLDISP_H */
|
4317
include/shobjidl.h
4317
include/shobjidl.h
File diff suppressed because it is too large
Load Diff
|
@ -1,60 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from shtypes.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_SHTYPES_H
|
||||
#define __WIDL_SHTYPES_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <wtypes.h>
|
||||
#include <pshpack1.h>
|
||||
typedef struct {
|
||||
WORD cb;
|
||||
BYTE abID[1];
|
||||
} SHITEMID, *LPSHITEMID;
|
||||
|
||||
typedef const SHITEMID *LPCSHITEMID;
|
||||
|
||||
typedef struct _ITEMIDLIST {
|
||||
SHITEMID mkid;
|
||||
} ITEMIDLIST, *LPITEMIDLIST;
|
||||
|
||||
typedef const ITEMIDLIST *LPCITEMIDLIST;
|
||||
|
||||
#include <poppack.h>
|
||||
#if 0
|
||||
typedef struct {
|
||||
int dummy;
|
||||
} WIN32_FIND_DATAA, WIN32_FIND_DATAW;
|
||||
|
||||
#endif
|
||||
typedef enum tagSTRRET_TYPE {
|
||||
STRRET_WSTR = 0,
|
||||
STRRET_OFFSET = 1,
|
||||
STRRET_CSTR = 2
|
||||
} STRRET_TYPE;
|
||||
|
||||
#include <pshpack4.h>
|
||||
typedef struct _STRRET {
|
||||
UINT uType;
|
||||
union {
|
||||
LPWSTR pOleStr;
|
||||
UINT uOffset;
|
||||
char cStr[260];
|
||||
} DUMMYUNIONNAME;
|
||||
} STRRET, *LPSTRRET;
|
||||
|
||||
#include <poppack.h>
|
||||
#include <pshpack1.h>
|
||||
typedef struct {
|
||||
int fmt;
|
||||
int cxChar;
|
||||
STRRET str;
|
||||
} SHELLDETAILS, *LPSHELLDETAILS;
|
||||
|
||||
#include <poppack.h>
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_SHTYPES_H */
|
7964
include/strmif.h
7964
include/strmif.h
File diff suppressed because it is too large
Load Diff
225
include/unknwn.h
225
include/unknwn.h
|
@ -1,225 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from unknwn.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_UNKNWN_H
|
||||
#define __WIDL_UNKNWN_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <wtypes.h>
|
||||
#ifndef __IUnknown_FWD_DEFINED__
|
||||
#define __IUnknown_FWD_DEFINED__
|
||||
typedef struct IUnknown IUnknown;
|
||||
#endif
|
||||
|
||||
typedef IUnknown *LPUNKNOWN;
|
||||
|
||||
/*****************************************************************************
|
||||
* IUnknown interface
|
||||
*/
|
||||
#ifndef __IUnknown_INTERFACE_DEFINED__
|
||||
#define __IUnknown_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IUnknown, 0x00000000, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IUnknown
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE QueryInterface(
|
||||
REFIID riid,
|
||||
void** ppvObject) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE AddRef(
|
||||
) = 0;
|
||||
|
||||
virtual ULONG STDMETHODCALLTYPE Release(
|
||||
) = 0;
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
#else
|
||||
typedef struct IUnknownVtbl IUnknownVtbl;
|
||||
struct IUnknown {
|
||||
const IUnknownVtbl* lpVtbl;
|
||||
};
|
||||
struct IUnknownVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IUnknown* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IUnknown* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IUnknown* This);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IUnknown_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IUnknown_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IUnknown_Release(p) (p)->lpVtbl->Release(p)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IUnknown_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE;
|
||||
|
||||
HRESULT CALLBACK IUnknown_QueryInterface_Proxy(
|
||||
IUnknown* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
void __RPC_STUB IUnknown_QueryInterface_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
ULONG CALLBACK IUnknown_AddRef_Proxy(
|
||||
IUnknown* This);
|
||||
void __RPC_STUB IUnknown_AddRef_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
ULONG CALLBACK IUnknown_Release_Proxy(
|
||||
IUnknown* This);
|
||||
void __RPC_STUB IUnknown_Release_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
|
||||
#endif /* __IUnknown_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifndef __IClassFactory_FWD_DEFINED__
|
||||
#define __IClassFactory_FWD_DEFINED__
|
||||
typedef struct IClassFactory IClassFactory;
|
||||
#endif
|
||||
|
||||
typedef IClassFactory *LPCLASSFACTORY;
|
||||
|
||||
/*****************************************************************************
|
||||
* IClassFactory interface
|
||||
*/
|
||||
#ifndef __IClassFactory_INTERFACE_DEFINED__
|
||||
#define __IClassFactory_INTERFACE_DEFINED__
|
||||
|
||||
DEFINE_GUID(IID_IClassFactory, 0x00000001, 0x0000, 0x0000, 0xc0,0x00, 0x00,0x00,0x00,0x00,0x00,0x46);
|
||||
#if defined(__cplusplus) && !defined(CINTERFACE)
|
||||
struct IClassFactory : public IUnknown
|
||||
{
|
||||
virtual HRESULT STDMETHODCALLTYPE CreateInstance(
|
||||
IUnknown* pUnkOuter,
|
||||
REFIID riid,
|
||||
void** ppvObject) = 0;
|
||||
|
||||
virtual HRESULT STDMETHODCALLTYPE LockServer(
|
||||
BOOL fLock) = 0;
|
||||
|
||||
};
|
||||
#else
|
||||
typedef struct IClassFactoryVtbl IClassFactoryVtbl;
|
||||
struct IClassFactory {
|
||||
const IClassFactoryVtbl* lpVtbl;
|
||||
};
|
||||
struct IClassFactoryVtbl {
|
||||
BEGIN_INTERFACE
|
||||
|
||||
/*** IUnknown methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *AddRef)(
|
||||
IClassFactory* This);
|
||||
|
||||
ULONG (STDMETHODCALLTYPE *Release)(
|
||||
IClassFactory* This);
|
||||
|
||||
/*** IClassFactory methods ***/
|
||||
HRESULT (STDMETHODCALLTYPE *CreateInstance)(
|
||||
IClassFactory* This,
|
||||
IUnknown* pUnkOuter,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
|
||||
HRESULT (STDMETHODCALLTYPE *LockServer)(
|
||||
IClassFactory* This,
|
||||
BOOL fLock);
|
||||
|
||||
END_INTERFACE
|
||||
};
|
||||
|
||||
#ifdef COBJMACROS
|
||||
/*** IUnknown methods ***/
|
||||
#define IClassFactory_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
|
||||
#define IClassFactory_AddRef(p) (p)->lpVtbl->AddRef(p)
|
||||
#define IClassFactory_Release(p) (p)->lpVtbl->Release(p)
|
||||
/*** IClassFactory methods ***/
|
||||
#define IClassFactory_CreateInstance(p,a,b,c) (p)->lpVtbl->CreateInstance(p,a,b,c)
|
||||
#define IClassFactory_LockServer(p,a) (p)->lpVtbl->LockServer(p,a)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#define IClassFactory_METHODS \
|
||||
/*** IUnknown methods ***/ \
|
||||
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
|
||||
STDMETHOD_(ULONG,Release)(THIS) PURE; \
|
||||
/*** IClassFactory methods ***/ \
|
||||
STDMETHOD_(HRESULT,CreateInstance)(THIS_ IUnknown* pUnkOuter, REFIID riid, void** ppvObject) PURE; \
|
||||
STDMETHOD_(HRESULT,LockServer)(THIS_ BOOL fLock) PURE;
|
||||
|
||||
HRESULT CALLBACK IClassFactory_RemoteCreateInstance_Proxy(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
IUnknown** ppvObject);
|
||||
void __RPC_STUB IClassFactory_RemoteCreateInstance_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IClassFactory_CreateInstance_Proxy(
|
||||
IClassFactory* This,
|
||||
IUnknown* pUnkOuter,
|
||||
REFIID riid,
|
||||
void** ppvObject);
|
||||
HRESULT __RPC_STUB IClassFactory_CreateInstance_Stub(
|
||||
IClassFactory* This,
|
||||
REFIID riid,
|
||||
IUnknown** ppvObject);
|
||||
HRESULT CALLBACK IClassFactory_RemoteLockServer_Proxy(
|
||||
IClassFactory* This,
|
||||
BOOL fLock);
|
||||
void __RPC_STUB IClassFactory_RemoteLockServer_Stub(
|
||||
struct IRpcStubBuffer* This,
|
||||
struct IRpcChannelBuffer* pRpcChannelBuffer,
|
||||
PRPC_MESSAGE pRpcMessage,
|
||||
DWORD* pdwStubPhase);
|
||||
HRESULT CALLBACK IClassFactory_LockServer_Proxy(
|
||||
IClassFactory* This,
|
||||
BOOL fLock);
|
||||
HRESULT __RPC_STUB IClassFactory_LockServer_Stub(
|
||||
IClassFactory* This,
|
||||
BOOL fLock);
|
||||
|
||||
#endif /* __IClassFactory_INTERFACE_DEFINED__ */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_UNKNWN_H */
|
1639
include/urlmon.h
1639
include/urlmon.h
File diff suppressed because it is too large
Load Diff
783
include/wtypes.h
783
include/wtypes.h
|
@ -1,783 +0,0 @@
|
|||
/*** Autogenerated by WIDL 0.1 from wtypes.idl - Do not edit ***/
|
||||
#include <rpc.h>
|
||||
#include <rpcndr.h>
|
||||
|
||||
#ifndef __WIDL_WTYPES_H
|
||||
#define __WIDL_WTYPES_H
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include <basetsd.h>
|
||||
#include <guiddef.h>
|
||||
#if 0 /* winnt.h */
|
||||
typedef unsigned char BYTE;
|
||||
|
||||
typedef unsigned short WORD;
|
||||
|
||||
typedef unsigned long DWORD;
|
||||
|
||||
typedef long BOOL;
|
||||
|
||||
typedef unsigned char UCHAR;
|
||||
|
||||
typedef int INT;
|
||||
|
||||
typedef unsigned int UINT;
|
||||
|
||||
typedef short SHORT;
|
||||
|
||||
typedef unsigned short USHORT;
|
||||
|
||||
typedef long LONG;
|
||||
|
||||
typedef unsigned long ULONG;
|
||||
|
||||
typedef float FLOAT;
|
||||
|
||||
typedef void *PVOID, *LPVOID;
|
||||
|
||||
typedef char CHAR;
|
||||
|
||||
typedef CHAR *LPSTR;
|
||||
|
||||
typedef const CHAR *LPCSTR;
|
||||
|
||||
typedef wchar_t WCHAR;
|
||||
|
||||
typedef WCHAR *LPWSTR;
|
||||
|
||||
typedef const WCHAR *LPCWSTR;
|
||||
|
||||
typedef boolean BOOLEAN;
|
||||
|
||||
typedef DWORD COLORREF;
|
||||
|
||||
typedef void *HANDLE;
|
||||
|
||||
typedef void *HACCEL;
|
||||
|
||||
typedef void *HDC;
|
||||
|
||||
typedef void *HFONT;
|
||||
|
||||
typedef void *HWND;
|
||||
|
||||
typedef void *HMENU;
|
||||
|
||||
typedef void *HMODULE;
|
||||
|
||||
typedef void *HINSTANCE;
|
||||
|
||||
typedef void *HRGN;
|
||||
|
||||
typedef void *HTASK;
|
||||
|
||||
typedef void *HKEY;
|
||||
|
||||
typedef void *HICON;
|
||||
|
||||
typedef LONG_PTR LRESULT;
|
||||
|
||||
typedef LONG HRESULT;
|
||||
|
||||
typedef DWORD LCID;
|
||||
|
||||
typedef unsigned __int64 DWORDLONG;
|
||||
|
||||
typedef __int64 LONGLONG;
|
||||
|
||||
typedef unsigned __int64 ULONGLONG;
|
||||
|
||||
typedef struct _LARGE_INTEGER {
|
||||
LONGLONG QuadPart;
|
||||
} LARGE_INTEGER;
|
||||
|
||||
typedef struct _ULARGE_INTEGER {
|
||||
ULONGLONG QuadPart;
|
||||
} ULARGE_INTEGER;
|
||||
|
||||
typedef struct _SID_IDENTIFIER_AUTHORITY {
|
||||
UCHAR Value[6];
|
||||
} SID_IDENTIFIER_AUTHORITY, *PSID_IDENTIFIER_AUTHORITY;
|
||||
|
||||
typedef struct _SID {
|
||||
UCHAR Revision;
|
||||
UCHAR SubAuthorityCount;
|
||||
SID_IDENTIFIER_AUTHORITY IdentifierAuthority;
|
||||
ULONG SubAuthority[1];
|
||||
} SID, *PSID;
|
||||
|
||||
typedef USHORT SECURITY_DESCRIPTOR_CONTROL, *PSECURITY_DESCRIPTOR_CONTROL;
|
||||
|
||||
typedef struct _ACL {
|
||||
UCHAR AclRevision;
|
||||
UCHAR Sbz1;
|
||||
USHORT AclSize;
|
||||
USHORT AceCount;
|
||||
USHORT Sbz2;
|
||||
} ACL;
|
||||
|
||||
typedef ACL *PACL;
|
||||
|
||||
typedef struct _SECURITY_DESCRIPTOR {
|
||||
UCHAR Revision;
|
||||
UCHAR Sbz1;
|
||||
SECURITY_DESCRIPTOR_CONTROL Control;
|
||||
PSID Owner;
|
||||
PSID Group;
|
||||
PACL Sacl;
|
||||
PACL Dacl;
|
||||
} SECURITY_DESCRIPTOR, *PSECURITY_DESCRIPTOR;
|
||||
|
||||
typedef struct _SECURITY_ATTRIBUTES {
|
||||
DWORD nLength;
|
||||
LPVOID lpSecurityDescriptor;
|
||||
BOOL bInheritHandle;
|
||||
} SECURITY_ATTRIBUTES, *PSECURITY_ATTRIBUTES, *LPSECURITY_ATTRIBUTES;
|
||||
|
||||
typedef struct tagSIZE {
|
||||
LONG cx;
|
||||
LONG cy;
|
||||
} SIZE, *PSIZE, *LPSIZE;
|
||||
|
||||
typedef SIZE SIZEL, *PSIZEL, *LPSIZEL;
|
||||
|
||||
typedef struct tagPOINT {
|
||||
LONG x;
|
||||
LONG y;
|
||||
} POINT, *PPOINT, *LPPOINT;
|
||||
|
||||
typedef struct _POINTL {
|
||||
LONG x;
|
||||
LONG y;
|
||||
} POINTL, *PPOINTL;
|
||||
|
||||
typedef struct tagRECT {
|
||||
LONG left;
|
||||
LONG top;
|
||||
LONG right;
|
||||
LONG bottom;
|
||||
} RECT, *PRECT, *LPRECT;
|
||||
|
||||
typedef const RECT *LPCRECT;
|
||||
|
||||
typedef struct _RECTL {
|
||||
LONG left;
|
||||
LONG top;
|
||||
LONG right;
|
||||
LONG bottom;
|
||||
} RECTL, *PRECTL, *LPRECTL;
|
||||
|
||||
typedef const RECTL *LPCRECTL;
|
||||
|
||||
typedef UINT_PTR WPARAM;
|
||||
|
||||
typedef LONG_PTR LPARAM;
|
||||
|
||||
typedef struct tagMSG {
|
||||
HWND hwnd;
|
||||
UINT message;
|
||||
WPARAM wParam;
|
||||
LPARAM lParam;
|
||||
DWORD time;
|
||||
POINT pt;
|
||||
} MSG, *PMSG, *NPMSG, *LPMSG;
|
||||
|
||||
#endif /* winnt.h */
|
||||
#if 0
|
||||
typedef double DOUBLE;
|
||||
|
||||
#else
|
||||
typedef double DECLSPEC_ALIGN(8) DOUBLE;
|
||||
#endif
|
||||
#ifndef _PALETTEENTRY_DEFINED
|
||||
#define _PALETTEENTRY_DEFINED
|
||||
typedef struct tagPALETTEENTRY {
|
||||
BYTE peRed;
|
||||
BYTE peGreen;
|
||||
BYTE peBlue;
|
||||
BYTE peFlags;
|
||||
} PALETTEENTRY, *PPALETTEENTRY, *LPPALETTEENTRY;
|
||||
|
||||
#endif
|
||||
#ifndef _LOGPALETTE_DEFINED
|
||||
#define _LOGPALETTE_DEFINED
|
||||
typedef struct tagLOGPALETTE {
|
||||
WORD palVersion;
|
||||
WORD palNumEntries;
|
||||
PALETTEENTRY palPalEntry[1];
|
||||
} LOGPALETTE, *PLOGPALETTE, *LPLOGPALETTE;
|
||||
|
||||
#endif
|
||||
#ifndef _FILETIME_
|
||||
#define _FILETIME_
|
||||
typedef struct _FILETIME {
|
||||
DWORD dwLowDateTime;
|
||||
DWORD dwHighDateTime;
|
||||
} FILETIME, *PFILETIME, *LPFILETIME;
|
||||
|
||||
#endif
|
||||
#ifndef _TEXTMETRIC_DEFINED
|
||||
#define _TEXTMETRIC_DEFINED
|
||||
typedef struct tagTEXTMETRICA {
|
||||
LONG tmHeight;
|
||||
LONG tmAscent;
|
||||
LONG tmDescent;
|
||||
LONG tmInternalLeading;
|
||||
LONG tmExternalLeading;
|
||||
LONG tmAveCharWidth;
|
||||
LONG tmMaxCharWidth;
|
||||
LONG tmWeight;
|
||||
LONG tmOverhang;
|
||||
LONG tmDigitizedAspectX;
|
||||
LONG tmDigitizedAspectY;
|
||||
BYTE tmFirstChar;
|
||||
BYTE tmLastChar;
|
||||
BYTE tmDefaultChar;
|
||||
BYTE tmBreakChar;
|
||||
BYTE tmItalic;
|
||||
BYTE tmUnderlined;
|
||||
BYTE tmStruckOut;
|
||||
BYTE tmPitchAndFamily;
|
||||
BYTE tmCharSet;
|
||||
} TEXTMETRICA, *LPTEXTMETRICA, *PTEXTMETRICA;
|
||||
|
||||
typedef struct tagTEXTMETRICW {
|
||||
LONG tmHeight;
|
||||
LONG tmAscent;
|
||||
LONG tmDescent;
|
||||
LONG tmInternalLeading;
|
||||
LONG tmExternalLeading;
|
||||
LONG tmAveCharWidth;
|
||||
LONG tmMaxCharWidth;
|
||||
LONG tmWeight;
|
||||
LONG tmOverhang;
|
||||
LONG tmDigitizedAspectX;
|
||||
LONG tmDigitizedAspectY;
|
||||
WCHAR tmFirstChar;
|
||||
WCHAR tmLastChar;
|
||||
WCHAR tmDefaultChar;
|
||||
WCHAR tmBreakChar;
|
||||
BYTE tmItalic;
|
||||
BYTE tmUnderlined;
|
||||
BYTE tmStruckOut;
|
||||
BYTE tmPitchAndFamily;
|
||||
BYTE tmCharSet;
|
||||
} TEXTMETRICW, *LPTEXTMETRICW, *PTEXTMETRICW;
|
||||
|
||||
#endif
|
||||
typedef WCHAR OLECHAR;
|
||||
|
||||
typedef OLECHAR *LPOLESTR;
|
||||
|
||||
typedef const OLECHAR *LPCOLESTR;
|
||||
|
||||
#ifndef __WINESRC__
|
||||
#define OLESTR(str) L##str
|
||||
#endif
|
||||
typedef LONG SCODE;
|
||||
|
||||
typedef struct _COAUTHIDENTITY {
|
||||
USHORT *User;
|
||||
ULONG UserLength;
|
||||
USHORT *Domain;
|
||||
ULONG DomainLength;
|
||||
USHORT *Password;
|
||||
ULONG PasswordLength;
|
||||
ULONG Flags;
|
||||
} COAUTHIDENTITY;
|
||||
|
||||
typedef struct _COAUTHINFO {
|
||||
DWORD dwAuthnSvc;
|
||||
DWORD dwAuthzSvc;
|
||||
LPWSTR pwszServerPrincName;
|
||||
DWORD dwAuthnLevel;
|
||||
DWORD dwImpersonationLevel;
|
||||
COAUTHIDENTITY *pAuthIdentityData;
|
||||
DWORD dwCapabilities;
|
||||
} COAUTHINFO;
|
||||
|
||||
typedef struct _COSERVERINFO {
|
||||
DWORD dwReserved1;
|
||||
LPWSTR pwszName;
|
||||
COAUTHINFO *pAuthInfo;
|
||||
DWORD dwReserved2;
|
||||
} COSERVERINFO;
|
||||
|
||||
typedef enum tagMEMCTX {
|
||||
MEMCTX_TASK = 1,
|
||||
MEMCTX_SHARED = 2,
|
||||
MEMCTX_MACSYSTEM = 3,
|
||||
MEMCTX_UNKNOWN = -1,
|
||||
MEMCTX_SAME = -2
|
||||
} MEMCTX;
|
||||
|
||||
#ifndef _ROTFLAGS_DEFINED
|
||||
#define _ROTFLAGS_DEFINED
|
||||
#define ROTFLAGS_REGISTRATIONKEEPSALIVE 0x1
|
||||
#define ROTFLAGS_ALLOWANYCLIENT 0x2
|
||||
#endif
|
||||
typedef enum tagCLSCTX {
|
||||
CLSCTX_INPROC_SERVER = 0x1,
|
||||
CLSCTX_INPROC_HANDLER = 0x2,
|
||||
CLSCTX_LOCAL_SERVER = 0x4,
|
||||
CLSCTX_INPROC_SERVER16 = 0x8,
|
||||
CLSCTX_REMOTE_SERVER = 0x10,
|
||||
CLSCTX_INPROC_HANDLER16 = 0x20,
|
||||
CLSCTX_INPROC_SERVERX86 = 0x40,
|
||||
CLSCTX_INPROC_HANDLERX86 = 0x80,
|
||||
CLSCTX_ESERVER_HANDLER = 0x100,
|
||||
CLSCTX_NO_CODE_DOWNLOAD = 0x400,
|
||||
CLSCTX_NO_CUSTOM_MARSHAL = 0x1000,
|
||||
CLSCTX_ENABLE_CODE_DOWNLOAD = 0x2000,
|
||||
CLSCTX_NO_FAILURE_LOG = 0x4000,
|
||||
CLSCTX_DISABLE_AAA = 0x8000,
|
||||
CLSCTX_ENABLE_AAA = 0x10000,
|
||||
CLSCTX_FROM_DEFAULT_CONTEXT = 0x20000
|
||||
} CLSCTX;
|
||||
|
||||
#define CLSCTX_INPROC (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER)
|
||||
#define CLSCTX_ALL (CLSCTX_INPROC_SERVER | CLSCTX_INPROC_HANDLER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
|
||||
#define CLSCTX_SERVER (CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER | CLSCTX_REMOTE_SERVER)
|
||||
typedef enum tagMSHLFLAGS {
|
||||
MSHLFLAGS_NORMAL = 0,
|
||||
MSHLFLAGS_TABLESTRONG = 1,
|
||||
MSHLFLAGS_TABLEWEAK = 2,
|
||||
MSHLFLAGS_NOPING = 4
|
||||
} MSHLFLAGS;
|
||||
|
||||
typedef enum tagMSHCTX {
|
||||
MSHCTX_LOCAL = 0,
|
||||
MSHCTX_NOSHAREDMEM = 1,
|
||||
MSHCTX_DIFFERENTMACHINE = 2,
|
||||
MSHCTX_INPROC = 3,
|
||||
MSHCTX_CROSSCTX = 4
|
||||
} MSHCTX;
|
||||
|
||||
typedef struct _BYTE_BLOB {
|
||||
unsigned long clSize;
|
||||
byte abData[1];
|
||||
} BYTE_BLOB;
|
||||
|
||||
typedef BYTE_BLOB *UP_BYTE_BLOB;
|
||||
|
||||
typedef struct _FLAGGED_BYTE_BLOB {
|
||||
unsigned long fFlags;
|
||||
unsigned long clSize;
|
||||
byte abData[1];
|
||||
} FLAGGED_BYTE_BLOB;
|
||||
|
||||
typedef FLAGGED_BYTE_BLOB *UP_FLAGGED_BYTE_BLOB;
|
||||
|
||||
typedef struct _FLAGGED_WORD_BLOB {
|
||||
unsigned long fFlags;
|
||||
unsigned long clSize;
|
||||
unsigned short asData[1];
|
||||
} FLAGGED_WORD_BLOB;
|
||||
|
||||
typedef FLAGGED_WORD_BLOB *UP_FLAGGED_WORD_BLOB;
|
||||
|
||||
typedef struct _BYTE_SIZEDARR {
|
||||
unsigned long clSize;
|
||||
byte *pData;
|
||||
} BYTE_SIZEDARR;
|
||||
|
||||
typedef struct _SHORT_SIZEDARR {
|
||||
unsigned long clSize;
|
||||
unsigned short *pData;
|
||||
} WORD_SIZEDARR;
|
||||
|
||||
typedef struct _LONG_SIZEDARR {
|
||||
unsigned long clSize;
|
||||
unsigned long *pData;
|
||||
} DWORD_SIZEDARR;
|
||||
|
||||
typedef struct _HYPER_SIZEDARR {
|
||||
unsigned long clSize;
|
||||
hyper *pData;
|
||||
} HYPER_SIZEDARR;
|
||||
|
||||
#define WDT_INPROC_CALL (0x48746457)
|
||||
|
||||
#define WDT_REMOTE_CALL (0x52746457)
|
||||
|
||||
typedef struct _userCLIPFORMAT {
|
||||
long fContext;
|
||||
union {
|
||||
DWORD dwValue;
|
||||
LPWSTR pwszName;
|
||||
} u;
|
||||
} userCLIPFORMAT;
|
||||
|
||||
typedef userCLIPFORMAT *wireCLIPFORMAT;
|
||||
|
||||
typedef WORD CLIPFORMAT;
|
||||
unsigned long __RPC_USER CLIPFORMAT_UserSize (unsigned long *, unsigned long, CLIPFORMAT *);
|
||||
unsigned char * __RPC_USER CLIPFORMAT_UserMarshal (unsigned long *, unsigned char *, CLIPFORMAT *);
|
||||
unsigned char * __RPC_USER CLIPFORMAT_UserUnmarshal(unsigned long *, unsigned char *, CLIPFORMAT *);
|
||||
void __RPC_USER CLIPFORMAT_UserFree (unsigned long *, CLIPFORMAT *);
|
||||
|
||||
typedef struct tagRemHGLOBAL {
|
||||
long fNullHGlobal;
|
||||
unsigned long cbData;
|
||||
byte data[1];
|
||||
} RemHGLOBAL;
|
||||
|
||||
typedef struct _userHGLOBAL {
|
||||
long fContext;
|
||||
union {
|
||||
long hInproc;
|
||||
FLAGGED_BYTE_BLOB *hRemote;
|
||||
long hGlobal;
|
||||
} u;
|
||||
} userHGLOBAL;
|
||||
|
||||
typedef userHGLOBAL *wireHGLOBAL;
|
||||
|
||||
typedef struct tagRemHMETAFILEPICT {
|
||||
long mm;
|
||||
long xExt;
|
||||
long yExt;
|
||||
unsigned long cbData;
|
||||
byte data[1];
|
||||
} RemHMETAFILEPICT;
|
||||
|
||||
typedef struct _userHMETAFILE {
|
||||
long fContext;
|
||||
union {
|
||||
long hInproc;
|
||||
BYTE_BLOB *hRemote;
|
||||
long hGlobal;
|
||||
} u;
|
||||
} userHMETAFILE;
|
||||
|
||||
typedef userHMETAFILE *wireHMETAFILE;
|
||||
|
||||
typedef struct _remoteMETAFILEPICT {
|
||||
long mm;
|
||||
long xExt;
|
||||
long yExt;
|
||||
userHMETAFILE *hMF;
|
||||
} remoteMETAFILEPICT;
|
||||
|
||||
typedef struct _userHMETAFILEPICT {
|
||||
long fContext;
|
||||
union {
|
||||
long hInproc;
|
||||
remoteMETAFILEPICT *hRemote;
|
||||
long hGlobal;
|
||||
} u;
|
||||
} userHMETAFILEPICT;
|
||||
|
||||
typedef userHMETAFILEPICT *wireHMETAFILEPICT;
|
||||
|
||||
typedef struct tagRemHENHMETAFILE {
|
||||
unsigned long cbData;
|
||||
byte data[1];
|
||||
} RemHENHMETAFILE;
|
||||
|
||||
typedef struct _userHENHMETAFILE {
|
||||
long fContext;
|
||||
union {
|
||||
long hInproc;
|
||||
BYTE_BLOB *hRemote;
|
||||
long hGlobal;
|
||||
} u;
|
||||
} userHENHMETAFILE;
|
||||
|
||||
typedef userHENHMETAFILE *wireHENHMETAFILE;
|
||||
|
||||
typedef struct tagRemHBITMAP {
|
||||
unsigned long cbData;
|
||||
byte data[1];
|
||||
} RemHBITMAP;
|
||||
|
||||
typedef struct _userBITMAP {
|
||||
LONG bmType;
|
||||
LONG bmWidth;
|
||||
LONG bmHeight;
|
||||
LONG bmWidthBytes;
|
||||
WORD bmPlanes;
|
||||
WORD bmBitsPixel;
|
||||
ULONG cbSize;
|
||||
byte pBuffer[1];
|
||||
} userBITMAP;
|
||||
|
||||
typedef struct _userHBITMAP {
|
||||
long fContext;
|
||||
union {
|
||||
long hInproc;
|
||||
userBITMAP *hRemote;
|
||||
long hGlobal;
|
||||
} u;
|
||||
} userHBITMAP;
|
||||
|
||||
typedef userHBITMAP *wireHBITMAP;
|
||||
|
||||
typedef struct tagRemHPALETTE {
|
||||
unsigned long cbData;
|
||||
byte data[1];
|
||||
} RemHPALETTE;
|
||||
|
||||
typedef struct tagrpcLOGPALETTE {
|
||||
WORD palVersion;
|
||||
WORD palNumEntries;
|
||||
PALETTEENTRY palPalEntry[1];
|
||||
} rpcLOGPALETTE;
|
||||
|
||||
typedef struct _userHPALETTE {
|
||||
long fContext;
|
||||
union {
|
||||
long hInproc;
|
||||
rpcLOGPALETTE *hRemote;
|
||||
long hGlobal;
|
||||
} u;
|
||||
} userHPALETTE;
|
||||
|
||||
typedef userHPALETTE *wireHPALETTE;
|
||||
|
||||
#if 0
|
||||
typedef void *HGLOBAL;
|
||||
unsigned long __RPC_USER HGLOBAL_UserSize (unsigned long *, unsigned long, HGLOBAL *);
|
||||
unsigned char * __RPC_USER HGLOBAL_UserMarshal (unsigned long *, unsigned char *, HGLOBAL *);
|
||||
unsigned char * __RPC_USER HGLOBAL_UserUnmarshal(unsigned long *, unsigned char *, HGLOBAL *);
|
||||
void __RPC_USER HGLOBAL_UserFree (unsigned long *, HGLOBAL *);
|
||||
|
||||
typedef HGLOBAL HLOCAL;
|
||||
|
||||
typedef void *HBITMAP;
|
||||
unsigned long __RPC_USER HBITMAP_UserSize (unsigned long *, unsigned long, HBITMAP *);
|
||||
unsigned char * __RPC_USER HBITMAP_UserMarshal (unsigned long *, unsigned char *, HBITMAP *);
|
||||
unsigned char * __RPC_USER HBITMAP_UserUnmarshal(unsigned long *, unsigned char *, HBITMAP *);
|
||||
void __RPC_USER HBITMAP_UserFree (unsigned long *, HBITMAP *);
|
||||
|
||||
typedef void *HPALETTE;
|
||||
unsigned long __RPC_USER HPALETTE_UserSize (unsigned long *, unsigned long, HPALETTE *);
|
||||
unsigned char * __RPC_USER HPALETTE_UserMarshal (unsigned long *, unsigned char *, HPALETTE *);
|
||||
unsigned char * __RPC_USER HPALETTE_UserUnmarshal(unsigned long *, unsigned char *, HPALETTE *);
|
||||
void __RPC_USER HPALETTE_UserFree (unsigned long *, HPALETTE *);
|
||||
|
||||
typedef void *HENHMETAFILE;
|
||||
unsigned long __RPC_USER HENHMETAFILE_UserSize (unsigned long *, unsigned long, HENHMETAFILE *);
|
||||
unsigned char * __RPC_USER HENHMETAFILE_UserMarshal (unsigned long *, unsigned char *, HENHMETAFILE *);
|
||||
unsigned char * __RPC_USER HENHMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HENHMETAFILE *);
|
||||
void __RPC_USER HENHMETAFILE_UserFree (unsigned long *, HENHMETAFILE *);
|
||||
|
||||
typedef void *HMETAFILE;
|
||||
unsigned long __RPC_USER HMETAFILE_UserSize (unsigned long *, unsigned long, HMETAFILE *);
|
||||
unsigned char * __RPC_USER HMETAFILE_UserMarshal (unsigned long *, unsigned char *, HMETAFILE *);
|
||||
unsigned char * __RPC_USER HMETAFILE_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILE *);
|
||||
void __RPC_USER HMETAFILE_UserFree (unsigned long *, HMETAFILE *);
|
||||
|
||||
#endif
|
||||
typedef void *HMETAFILEPICT;
|
||||
unsigned long __RPC_USER HMETAFILEPICT_UserSize (unsigned long *, unsigned long, HMETAFILEPICT *);
|
||||
unsigned char * __RPC_USER HMETAFILEPICT_UserMarshal (unsigned long *, unsigned char *, HMETAFILEPICT *);
|
||||
unsigned char * __RPC_USER HMETAFILEPICT_UserUnmarshal(unsigned long *, unsigned char *, HMETAFILEPICT *);
|
||||
void __RPC_USER HMETAFILEPICT_UserFree (unsigned long *, HMETAFILEPICT *);
|
||||
|
||||
#if 0
|
||||
typedef GUID *REFGUID;
|
||||
|
||||
typedef IID *REFIID;
|
||||
|
||||
typedef CLSID *REFCLSID;
|
||||
|
||||
typedef FMTID *REFFMTID;
|
||||
|
||||
#endif
|
||||
typedef enum tagDVASPECT {
|
||||
DVASPECT_CONTENT = 1,
|
||||
DVASPECT_THUMBNAIL = 2,
|
||||
DVASPECT_ICON = 4,
|
||||
DVASPECT_DOCPRINT = 8
|
||||
} DVASPECT;
|
||||
|
||||
typedef enum tagSTGC {
|
||||
STGC_DEFAULT = 0,
|
||||
STGC_OVERWRITE = 1,
|
||||
STGC_ONLYIFCURRENT = 2,
|
||||
STGC_DANGEROUSLYCOMMITMERELYTODISKCACHE = 4,
|
||||
STGC_CONSOLIDATE = 8
|
||||
} STGC;
|
||||
|
||||
typedef enum tagSTGMOVE {
|
||||
STGMOVE_MOVE = 0,
|
||||
STGMOVE_COPY = 1,
|
||||
STGMOVE_SHALLOWCOPY = 2
|
||||
} STGMOVE;
|
||||
|
||||
typedef enum tagSTATFLAG {
|
||||
STATFLAG_DEFAULT = 0,
|
||||
STATFLAG_NONAME = 1,
|
||||
STATFLAG_NOOPEN = 2
|
||||
} STATFLAG;
|
||||
|
||||
#if 0
|
||||
typedef double DATE;
|
||||
|
||||
#else
|
||||
typedef double DECLSPEC_ALIGN(8) DATE;
|
||||
#endif
|
||||
#if 0
|
||||
typedef struct tagCY {
|
||||
LONGLONG int64;
|
||||
} CY;
|
||||
|
||||
#else
|
||||
#ifndef _tagCY_DEFINED
|
||||
#define _tagCY_DEFINED
|
||||
typedef union tagCY {
|
||||
struct {
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
LONG Hi;
|
||||
ULONG Lo;
|
||||
#else
|
||||
ULONG Lo;
|
||||
LONG Hi;
|
||||
#endif
|
||||
} DUMMYSTRUCTNAME;
|
||||
LONGLONG int64;
|
||||
} CY;
|
||||
#endif
|
||||
#endif
|
||||
typedef CY *LPCY;
|
||||
|
||||
#if 0
|
||||
typedef struct tagDEC {
|
||||
USHORT wReserved;
|
||||
BYTE scale;
|
||||
BYTE sign;
|
||||
ULONG Hi32;
|
||||
ULONGLONG Lo64;
|
||||
} DECIMAL;
|
||||
|
||||
#else
|
||||
typedef struct tagDEC {
|
||||
USHORT wReserved;
|
||||
union {
|
||||
struct {
|
||||
BYTE scale;
|
||||
BYTE sign;
|
||||
} DUMMYSTRUCTNAME;
|
||||
USHORT signscale;
|
||||
} DUMMYUNIONNAME;
|
||||
ULONG Hi32;
|
||||
union {
|
||||
struct {
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
ULONG Mid32;
|
||||
ULONG Lo32;
|
||||
#else
|
||||
ULONG Lo32;
|
||||
ULONG Mid32;
|
||||
#endif
|
||||
} DUMMYSTRUCTNAME1;
|
||||
ULONGLONG Lo64;
|
||||
} DUMMYUNIONNAME1;
|
||||
} DECIMAL;
|
||||
#endif
|
||||
#define DECIMAL_NEG ((BYTE)0x80)
|
||||
#define DECIMAL_SETZERO(d) do{ memset(((char*)(d)) + sizeof(USHORT), 0, sizeof(ULONG) * 3u + sizeof(USHORT)); }while (0)
|
||||
typedef DECIMAL *LPDECIMAL;
|
||||
|
||||
typedef FLAGGED_WORD_BLOB *wireBSTR;
|
||||
|
||||
typedef OLECHAR *BSTR;
|
||||
unsigned long __RPC_USER BSTR_UserSize (unsigned long *, unsigned long, BSTR *);
|
||||
unsigned char * __RPC_USER BSTR_UserMarshal (unsigned long *, unsigned char *, BSTR *);
|
||||
unsigned char * __RPC_USER BSTR_UserUnmarshal(unsigned long *, unsigned char *, BSTR *);
|
||||
void __RPC_USER BSTR_UserFree (unsigned long *, BSTR *);
|
||||
|
||||
typedef BSTR *LPBSTR;
|
||||
|
||||
typedef short VARIANT_BOOL;
|
||||
|
||||
typedef VARIANT_BOOL _VARIANT_BOOL;
|
||||
|
||||
#define VARIANT_TRUE ((VARIANT_BOOL)0xFFFF)
|
||||
#define VARIANT_FALSE ((VARIANT_BOOL)0x0000)
|
||||
typedef struct tagBSTRBLOB {
|
||||
ULONG cbSize;
|
||||
BYTE *pData;
|
||||
} BSTRBLOB, *LPBSTRBLOB;
|
||||
|
||||
#ifndef _tagBLOB_DEFINED
|
||||
#define _tagBLOB_DEFINED
|
||||
#define _BLOB_DEFINED
|
||||
#define _LPBLOB_DEFINED
|
||||
typedef struct tagBLOB {
|
||||
ULONG cbSize;
|
||||
BYTE *pBlobData;
|
||||
} BLOB, *LPBLOB;
|
||||
|
||||
#endif
|
||||
typedef struct tagCLIPDATA {
|
||||
ULONG cbSize;
|
||||
long ulClipFmt;
|
||||
BYTE *pClipData;
|
||||
} CLIPDATA;
|
||||
|
||||
#define CBPCLIPDATA(cb) ((cb).cbSize - sizeof((cb).ulClipFmt))
|
||||
typedef ULONG PROPID;
|
||||
|
||||
typedef unsigned short VARTYPE;
|
||||
|
||||
enum VARENUM {
|
||||
VT_EMPTY = 0,
|
||||
VT_NULL = 1,
|
||||
VT_I2 = 2,
|
||||
VT_I4 = 3,
|
||||
VT_R4 = 4,
|
||||
VT_R8 = 5,
|
||||
VT_CY = 6,
|
||||
VT_DATE = 7,
|
||||
VT_BSTR = 8,
|
||||
VT_DISPATCH = 9,
|
||||
VT_ERROR = 10,
|
||||
VT_BOOL = 11,
|
||||
VT_VARIANT = 12,
|
||||
VT_UNKNOWN = 13,
|
||||
VT_DECIMAL = 14,
|
||||
VT_I1 = 16,
|
||||
VT_UI1 = 17,
|
||||
VT_UI2 = 18,
|
||||
VT_UI4 = 19,
|
||||
VT_I8 = 20,
|
||||
VT_UI8 = 21,
|
||||
VT_INT = 22,
|
||||
VT_UINT = 23,
|
||||
VT_VOID = 24,
|
||||
VT_HRESULT = 25,
|
||||
VT_PTR = 26,
|
||||
VT_SAFEARRAY = 27,
|
||||
VT_CARRAY = 28,
|
||||
VT_USERDEFINED = 29,
|
||||
VT_LPSTR = 30,
|
||||
VT_LPWSTR = 31,
|
||||
VT_RECORD = 36,
|
||||
VT_INT_PTR = 37,
|
||||
VT_UINT_PTR = 38,
|
||||
VT_FILETIME = 64,
|
||||
VT_BLOB = 65,
|
||||
VT_STREAM = 66,
|
||||
VT_STORAGE = 67,
|
||||
VT_STREAMED_OBJECT = 68,
|
||||
VT_STORED_OBJECT = 69,
|
||||
VT_BLOB_OBJECT = 70,
|
||||
VT_CF = 71,
|
||||
VT_CLSID = 72,
|
||||
VT_BSTR_BLOB = 0xfff,
|
||||
VT_VECTOR = 0x1000,
|
||||
VT_ARRAY = 0x2000,
|
||||
VT_BYREF = 0x4000,
|
||||
VT_RESERVED = 0x8000,
|
||||
VT_ILLEGAL = 0xffff,
|
||||
VT_ILLEGALMASKED = 0xfff,
|
||||
VT_TYPEMASK = 0xfff
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif /* __WIDL_WTYPES_H */
|
Loading…
Reference in New Issue