1   /* this ALWAYS GENERATED file contains the proxy stub code */
  2  
  3  
  4   /* File created by MIDL compiler version 5.01.0164 */
  5   /* at Sun Oct 10 12:09:27 2004
  6    */
  7   /* Compiler settings for F:\projects\c++\working\Copy Handler\CopyHandlerShellExt\CopyHandlerShellExt.idl:
  8       Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  9       error checks: allocation ref bounds_check enum stub_data
  10   */
  11   //@@MIDL_FILE_HEADING(  )
  12  
  13   #define USE_STUBLESS_PROXY
  14  
  15  
  16   /* verify that the <rpcproxy.h> version is high enough to compile this file*/
  17   #ifndef __REDQ_RPCPROXY_H_VERSION__
  18   #define __REQUIRED_RPCPROXY_H_VERSION__ 440
  19   #endif
  20  
  21  
  22   #include "rpcproxy.h"
  23   #ifndef __RPCPROXY_H_VERSION__
  24   #error this stub requires an updated version of <rpcproxy.h>
  25   #endif // __RPCPROXY_H_VERSION__
  26  
  27  
  28   #include "CopyHandlerShellExt.h"
  29  
  30   #define TYPE_FORMAT_STRING_SIZE   3                                
  31   #define PROC_FORMAT_STRING_SIZE   1                                
  32  
  33   typedef struct _MIDL_TYPE_FORMAT_STRING
  34       {
  35       short          Pad;
  36       unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
  37       } MIDL_TYPE_FORMAT_STRING;
  38  
  39   typedef struct _MIDL_PROC_FORMAT_STRING
  40       {
  41       short          Pad;
  42       unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
  43       } MIDL_PROC_FORMAT_STRING;
  44  
  45  
  46   extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  47   extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  48  
  49  
  50   /* Object interface: IUnknown, ver. 0.0,
  51      GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  52  
  53  
  54   /* Object interface: IDispatch, ver. 0.0,
  55      GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  56  
  57  
  58   /* Object interface: IMenuExt, ver. 0.0,
  59      GUID={0x413AA618,0xE769,0x4E6E,{0xA6,0x10,0x7B,0xDC,0x8A,0x18,0x9F,0xB2}} */
  60  
  61  
  62   extern const MIDL_STUB_DESC Object_StubDesc;
  63  
  64  
  65   #pragma code_seg(".orpc")
  66   CINTERFACE_PROXY_VTABLE(7) _IMenuExtProxyVtbl =
  67   {
  68       0,
  69       &IID_IMenuExt,
  70       IUnknown_QueryInterface_Proxy,
  71       IUnknown_AddRef_Proxy,
  72       IUnknown_Release_Proxy ,
  73       0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
  74       0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
  75       0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
  76       0 /* IDispatch_Invoke_Proxy */
  77   };
  78  
  79  
  80   static const PRPC_STUB_FUNCTION IMenuExt_table[] =
  81   {
  82       STUB_FORWARDING_FUNCTION,
  83       STUB_FORWARDING_FUNCTION,
  84       STUB_FORWARDING_FUNCTION,
  85       STUB_FORWARDING_FUNCTION
  86   };
  87  
  88   CInterfaceStubVtbl _IMenuExtStubVtbl =
  89   {
  90       &IID_IMenuExt,
  91       0,
  92       7,
  93       &IMenuExt_table[-3],
  94       CStdStubBuffer_DELEGATING_METHODS
  95   };
  96  
  97  
  98   /* Object interface: IDropMenuExt, ver. 0.0,
  99      GUID={0x4AEAD637,0x8A55,0x47B9,{0xAA,0x1A,0xDA,0xCE,0xA3,0xDE,0x9B,0x71}} */
  100  
  101  
  102   extern const MIDL_STUB_DESC Object_StubDesc;
  103  
  104  
  105   #pragma code_seg(".orpc")
  106  
  107   static const MIDL_STUB_DESC Object_StubDesc =
  108       {
  109       0,
  110       NdrOleAllocate,
  111       NdrOleFree,
  112       0,
  113       0,
  114       0,
  115       0,
  116       0,
  117       __MIDL_TypeFormatString.Format,
  118       1, /* -error bounds_check flag */
  119       0x20000, /* Ndr library version */
  120       0,
  121       0x50100a4, /* MIDL Version 5.1.164 */
  122       0,
  123       0,
  124       0/* notify & notify_flag routine table */
  125       1/* Flags */
  126       0/* Reserved3 */
  127       0/* Reserved4 */
  128       0   /* Reserved5 */
  129       };
  130  
  131   CINTERFACE_PROXY_VTABLE(7) _IDropMenuExtProxyVtbl =
  132   {
  133       0,
  134       &IID_IDropMenuExt,
  135       IUnknown_QueryInterface_Proxy,
  136       IUnknown_AddRef_Proxy,
  137       IUnknown_Release_Proxy ,
  138       0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
  139       0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
  140       0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
  141       0 /* IDispatch_Invoke_Proxy */
  142   };
  143  
  144  
  145   static const PRPC_STUB_FUNCTION IDropMenuExt_table[] =
  146   {
  147       STUB_FORWARDING_FUNCTION,
  148       STUB_FORWARDING_FUNCTION,
  149       STUB_FORWARDING_FUNCTION,
  150       STUB_FORWARDING_FUNCTION
  151   };
  152  
  153   CInterfaceStubVtbl _IDropMenuExtStubVtbl =
  154   {
  155       &IID_IDropMenuExt,
  156       0,
  157       7,
  158       &IDropMenuExt_table[-3],
  159       CStdStubBuffer_DELEGATING_METHODS
  160   };
  161  
  162   #pragma data_seg(".rdata")
  163  
  164   #if !defined(__RPC_WIN32__)
  165   #error  Invalid build platform for this stub.
  166   #endif
  167  
  168   #if !(TARGET_IS_NT40_OR_LATER)
  169   #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
  170   #error   -Oif or -Oicf, more than 32 methods in the interface.
  171   #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  172   #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
  173   #endif
  174  
  175  
  176   static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  177       {
  178           0,
  179           {
  180  
  181                           0x0
  182           }
  183       };
  184  
  185   static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  186       {
  187           0,
  188           {
  189                           NdrFcShort( 0x0 ),      /* 0 */
  190  
  191                           0x0
  192           }
  193       };
  194  
  195   const CInterfaceProxyVtbl * _CopyHandlerShellExt_ProxyVtblList[] =
  196   {
  197       ( CInterfaceProxyVtbl *) &_IMenuExtProxyVtbl,
  198       ( CInterfaceProxyVtbl *) &_IDropMenuExtProxyVtbl,
  199       0
  200   };
  201  
  202   const CInterfaceStubVtbl * _CopyHandlerShellExt_StubVtblList[] =
  203   {
  204       ( CInterfaceStubVtbl *) &_IMenuExtStubVtbl,
  205       ( CInterfaceStubVtbl *) &_IDropMenuExtStubVtbl,
  206       0
  207   };
  208  
  209   PCInterfaceName const _CopyHandlerShellExt_InterfaceNamesList[] =
  210   {
  211       "IMenuExt",
  212       "IDropMenuExt",
  213       0
  214   };
  215  
  216   const IID_CopyHandlerShellExt_BaseIIDList[] =
  217   {
  218       &IID_IDispatch,
  219       &IID_IDispatch,
  220       0
  221   };
  222  
  223  
  224   #define _CopyHandlerShellExt_CHECK_IID(n)       IID_GENERIC_CHECK_IID( _CopyHandlerShellExt, pIID, n)
  225  
  226   int __stdcall _CopyHandlerShellExt_IID_Lookup( const IID * pIID, int * pIndex )
  227   {
  228       IID_BS_LOOKUP_SETUP
  229  
  230       IID_BS_LOOKUP_INITIAL_TEST( _CopyHandlerShellExt, 2, 1 )
  231       IID_BS_LOOKUP_RETURN_RESULT( _CopyHandlerShellExt, 2, *pIndex )
  232      
  233   }
  234  
  235   const ExtendedProxyFileInfo CopyHandlerShellExt_ProxyFileInfo =
  236   {
  237       (PCInterfaceProxyVtblList *) & _CopyHandlerShellExt_ProxyVtblList,
  238       (PCInterfaceStubVtblList *) & _CopyHandlerShellExt_StubVtblList,
  239       (const PCInterfaceName * ) & _CopyHandlerShellExt_InterfaceNamesList,
  240       (const IID ** ) & _CopyHandlerShellExt_BaseIIDList,
  241       & _CopyHandlerShellExt_IID_Lookup,
  242       2,
  243       2,
  244       0, /* table of [async_uuid] interfaces */
  245       0, /* Filler1 */
  246       0, /* Filler2 */
  247       0  /* Filler3 */
  248   };