Author: greatlrd Date: Sun May 27 15:04:46 2007 New Revision: 26914
URL: http://svn.reactos.org/svn/reactos?rev=26914&view=rev Log: adding regbag.idl compatible with ms dxsdk 2004 dec
Added: trunk/reactos/include/dxsdk/regbag.idl (with props) Removed: trunk/reactos/include/dxsdk/regbag.h Modified: trunk/reactos/include/dxsdk/dxsdk.rbuild
Modified: trunk/reactos/include/dxsdk/dxsdk.rbuild URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/dxsdk.rbuild?... ============================================================================== --- trunk/reactos/include/dxsdk/dxsdk.rbuild (original) +++ trunk/reactos/include/dxsdk/dxsdk.rbuild Sun May 27 15:04:46 2007 @@ -1,11 +1,12 @@ <module name="dxsdk" type="idlheader"> + <file>amstream.idl</file> <file>austream.idl</file> - <file>amstream.idl</file> <file>ddstream.idl</file> <file>mixerocx.idl</file> <file>mediaobj.idl</file> <file>medparam.idl</file> <file>mmstream.idl</file> + <file>regbag.idl</file> <file>vidcap.idl</file> <file>Videoacc.idl</file> </module>
Removed: trunk/reactos/include/dxsdk/regbag.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/regbag.h?rev=... ============================================================================== --- trunk/reactos/include/dxsdk/regbag.h (original) +++ trunk/reactos/include/dxsdk/regbag.h (removed) @@ -1,109 +1,0 @@ - - -#ifndef __REQUIRED_RPCNDR_H_VERSION__ -#define __REQUIRED_RPCNDR_H_VERSION__ 475 -#endif - -#include "rpc.h" -#include "rpcndr.h" - -#ifndef __RPCNDR_H_VERSION__ -#error this stub requires never version of <rpcndr.h> -#endif - -#ifndef COM_NO_WINDOWS_H - #include "windows.h" - #include "ole2.h" -#endif - -#ifndef __regbag_h__ -#define __regbag_h__ - -#if defined(_MSC_VER) && (_MSC_VER >= 1020) - #pragma once -#endif - -#ifndef __ICreatePropBagOnRegKey_FWD_DEFINED__ - #define __ICreatePropBagOnRegKey_FWD_DEFINED__ - typedef interface ICreatePropBagOnRegKey ICreatePropBagOnRegKey; -#endif - -#include "objidl.h" -#include "oaidl.h" -#include "ocidl.h" - -#ifdef __cplusplus -extern "C"{ -#endif - -void * __RPC_USER MIDL_user_allocate(size_t); -void __RPC_USER MIDL_user_free( void * ); - - -#pragma once - - -extern RPC_IF_HANDLE __MIDL_itf_regbag_0000_v0_0_c_ifspec; -extern RPC_IF_HANDLE __MIDL_itf_regbag_0000_v0_0_s_ifspec; - -#ifndef __ICreatePropBagOnRegKey_INTERFACE_DEFINED__ - #define __ICreatePropBagOnRegKey_INTERFACE_DEFINED__ - EXTERN_C const IID IID_ICreatePropBagOnRegKey; - #if defined(__cplusplus) && !defined(CINTERFACE) - MIDL_INTERFACE("8A674B48-1F63-11D3-B64C-00C04F79498E") - ICreatePropBagOnRegKey : public IUnknown - { - public: - virtual HRESULT STDMETHODCALLTYPE Create(HKEY hkey, LPCOLESTR subkey, DWORD ulOptions, DWORD samDesired, - REFIID iid, LPVOID *ppBag) = 0; - }; -#else - - typedef struct ICreatePropBagOnRegKeyVtbl - { - BEGIN_INTERFACE - HRESULT ( STDMETHODCALLTYPE *QueryInterface )(ICreatePropBagOnRegKey * This, REFIID riid, void **ppvObject); - ULONG ( STDMETHODCALLTYPE *AddRef )(ICreatePropBagOnRegKey * This); - ULONG ( STDMETHODCALLTYPE *Release )(ICreatePropBagOnRegKey * This); - HRESULT ( STDMETHODCALLTYPE *Create )(ICreatePropBagOnRegKey * This, HKEY hkey, LPCOLESTR subkey, - DWORD ulOptions, DWORD samDesired, REFIID iid, LPVOID *ppBag); - END_INTERFACE - } ICreatePropBagOnRegKeyVtbl; - - interface ICreatePropBagOnRegKey - { - CONST_VTBL struct ICreatePropBagOnRegKeyVtbl *lpVtbl; - }; - - #ifdef COBJMACROS - #define ICreatePropBagOnRegKey_QueryInterface(This,riid,ppvObject) (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) - #define ICreatePropBagOnRegKey_AddRef(This) (This)->lpVtbl -> AddRef(This) - #define ICreatePropBagOnRegKey_Release(This) (This)->lpVtbl -> Release(This) - #define ICreatePropBagOnRegKey_Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag) (This)->lpVtbl -> Create(This,hkey,subkey,ulOptions,samDesired,iid,ppBag) - #endif -#endif - - -void __RPC_STUB -ICreatePropBagOnRegKey_Create_Stub( - IRpcStubBuffer *This, - IRpcChannelBuffer *_pRpcChannelBuffer, - PRPC_MESSAGE _pRpcMessage, - DWORD *_pdwStubPhase); - -HRESULT STDMETHODCALLTYPE -ICreatePropBagOnRegKey_Create_Proxy( - ICreatePropBagOnRegKey * This, - HKEY hkey, - LPCOLESTR subkey, - DWORD ulOptions, - DWORD samDesired, - REFIID iid, - LPVOID *ppBag); - -#endif -#ifdef __cplusplus -} -#endif - -#endif
Added: trunk/reactos/include/dxsdk/regbag.idl URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/dxsdk/regbag.idl?re... ============================================================================== --- trunk/reactos/include/dxsdk/regbag.idl (added) +++ trunk/reactos/include/dxsdk/regbag.idl Sun May 27 15:04:46 2007 @@ -1,0 +1,20 @@ + +cpp_quote("#pragma once") + +#ifndef DO_NO_IMPORTS +import "objidl.idl"; +import "oaidl.idl"; +import "ocidl.idl"; +#endif + +[object, + hidden, restricted, + uuid(8A674B48-1F63-11d3-B64C-00C04F79498E), + pointer_default(unique), + local +] +interface ICreatePropBagOnRegKey : IUnknown +{ + HRESULT Create([in] HKEY hkey, [in] LPCOLESTR subkey, [in] DWORD ulOptions, [in] DWORD samDesired, REFIID iid, [out] LPVOID *ppBag); +}; +
Propchange: trunk/reactos/include/dxsdk/regbag.idl ------------------------------------------------------------------------------ svn:eol-style = native