prevband_p.c
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 5k
Category:

Windows Kernel

Development Platform:

Visual C++

  1. /* this ALWAYS GENERATED file contains the proxy stub code */
  2. /* File created by MIDL compiler version 3.03.0110 */
  3. /* at Mon Sep 08 11:19:17 1997
  4.  */
  5. /* Compiler settings for prevband.idl:
  6.     Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7.     error checks: none
  8. */
  9. //@@MIDL_FILE_HEADING(  )
  10. #define USE_STUBLESS_PROXY
  11. /* verify that the <rpcproxy.h> version is high enough to compile this file*/
  12. #ifndef __REDQ_RPCPROXY_H_VERSION__
  13. #define __REQUIRED_RPCPROXY_H_VERSION__ 440
  14. #endif
  15. #include "rpcproxy.h"
  16. #ifndef __RPCPROXY_H_VERSION__
  17. #error this stub requires an updated version of <rpcproxy.h>
  18. #endif // __RPCPROXY_H_VERSION__
  19. #include "prevband.h"
  20. #define TYPE_FORMAT_STRING_SIZE   1                                 
  21. #define PROC_FORMAT_STRING_SIZE   1                                 
  22. typedef struct _MIDL_TYPE_FORMAT_STRING
  23.     {
  24.     short          Pad;
  25.     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
  26.     } MIDL_TYPE_FORMAT_STRING;
  27. typedef struct _MIDL_PROC_FORMAT_STRING
  28.     {
  29.     short          Pad;
  30.     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
  31.     } MIDL_PROC_FORMAT_STRING;
  32. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  33. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  34. /* Object interface: IUnknown, ver. 0.0,
  35.    GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  36. /* Object interface: IDispatch, ver. 0.0,
  37.    GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  38. /* Object interface: IPreviewBand, ver. 0.0,
  39.    GUID={0xA582D7F3,0x0386,0x11D1,{0xB2,0xF5,0x00,0xAA,0x00,0x37,0x50,0x31}} */
  40. extern const MIDL_STUB_DESC Object_StubDesc;
  41. #pragma code_seg(".orpc")
  42. static const MIDL_STUB_DESC Object_StubDesc = 
  43.     {
  44.     0,
  45.     NdrOleAllocate,
  46.     NdrOleFree,
  47.     0,
  48.     0,
  49.     0,
  50.     0,
  51.     0,
  52.     __MIDL_TypeFormatString.Format,
  53.     0, /* -error bounds_check flag */
  54.     0x20000, /* Ndr library version */
  55.     0,
  56.     0x303006e, /* MIDL Version 3.3.110 */
  57.     0,
  58.     0,
  59.     0,  /* Reserved1 */
  60.     0,  /* Reserved2 */
  61.     0,  /* Reserved3 */
  62.     0,  /* Reserved4 */
  63.     0   /* Reserved5 */
  64.     };
  65. CINTERFACE_PROXY_VTABLE(7) _IPreviewBandProxyVtbl = 
  66. {
  67.     0,
  68.     &IID_IPreviewBand,
  69.     IUnknown_QueryInterface_Proxy,
  70.     IUnknown_AddRef_Proxy,
  71.     IUnknown_Release_Proxy ,
  72.     0 /* (void *)-1 /* IDispatch::GetTypeInfoCount */ ,
  73.     0 /* (void *)-1 /* IDispatch::GetTypeInfo */ ,
  74.     0 /* (void *)-1 /* IDispatch::GetIDsOfNames */ ,
  75.     0 /* IDispatch_Invoke_Proxy */
  76. };
  77. static const PRPC_STUB_FUNCTION IPreviewBand_table[] =
  78. {
  79.     STUB_FORWARDING_FUNCTION,
  80.     STUB_FORWARDING_FUNCTION,
  81.     STUB_FORWARDING_FUNCTION,
  82.     STUB_FORWARDING_FUNCTION
  83. };
  84. CInterfaceStubVtbl _IPreviewBandStubVtbl =
  85. {
  86.     &IID_IPreviewBand,
  87.     0,
  88.     7,
  89.     &IPreviewBand_table[-3],
  90.     CStdStubBuffer_DELEGATING_METHODS
  91. };
  92. #pragma data_seg(".rdata")
  93. #if !defined(__RPC_WIN32__)
  94. #error  Invalid build platform for this stub.
  95. #endif
  96. #if !(TARGET_IS_NT40_OR_LATER)
  97. #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
  98. #error   -Oif or -Oicf.
  99. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  100. #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
  101. #endif
  102. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  103.     {
  104.         0,
  105.         {
  106. 0x0
  107.         }
  108.     };
  109. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  110.     {
  111.         0,
  112.         {
  113. 0x0
  114.         }
  115.     };
  116. const CInterfaceProxyVtbl * _prevband_ProxyVtblList[] = 
  117. {
  118.     ( CInterfaceProxyVtbl *) &_IPreviewBandProxyVtbl,
  119.     0
  120. };
  121. const CInterfaceStubVtbl * _prevband_StubVtblList[] = 
  122. {
  123.     ( CInterfaceStubVtbl *) &_IPreviewBandStubVtbl,
  124.     0
  125. };
  126. PCInterfaceName const _prevband_InterfaceNamesList[] = 
  127. {
  128.     "IPreviewBand",
  129.     0
  130. };
  131. const IID *  _prevband_BaseIIDList[] = 
  132. {
  133.     &IID_IDispatch,
  134.     0
  135. };
  136. #define _prevband_CHECK_IID(n) IID_GENERIC_CHECK_IID( _prevband, pIID, n)
  137. int __stdcall _prevband_IID_Lookup( const IID * pIID, int * pIndex )
  138. {
  139.     
  140.     if(!_prevband_CHECK_IID(0))
  141.         {
  142.         *pIndex = 0;
  143.         return 1;
  144.         }
  145.     return 0;
  146. }
  147. const ExtendedProxyFileInfo prevband_ProxyFileInfo = 
  148. {
  149.     (PCInterfaceProxyVtblList *) & _prevband_ProxyVtblList,
  150.     (PCInterfaceStubVtblList *) & _prevband_StubVtblList,
  151.     (const PCInterfaceName * ) & _prevband_InterfaceNamesList,
  152.     (const IID ** ) & _prevband_BaseIIDList,
  153.     & _prevband_IID_Lookup, 
  154.     1,
  155.     2
  156. };