home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / internet / webpost / wbpost / wpspi_p.c < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-30  |  3.1 KB  |  128 lines

  1. /* this ALWAYS GENERATED file contains the proxy stub code */
  2.  
  3.  
  4. /* File created by MIDL compiler version 3.03.0110 */
  5. /* at Mon Mar 30 03:02:38 1998
  6.  */
  7. /* Compiler settings for wpspi.idl:
  8.     Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
  9.     error checks: none
  10. */
  11. //@@MIDL_FILE_HEADING(  )
  12.  
  13.  
  14. /* verify that the <rpcproxy.h> version is high enough to compile this file*/
  15. #ifndef __REDQ_RPCPROXY_H_VERSION__
  16. #define __REQUIRED_RPCPROXY_H_VERSION__ 440
  17. #endif
  18.  
  19.  
  20. #include "rpcproxy.h"
  21. #ifndef __RPCPROXY_H_VERSION__
  22. #error this stub requires an updated version of <rpcproxy.h>
  23. #endif // __RPCPROXY_H_VERSION__
  24.  
  25.  
  26. #include "wpspi.h"
  27.  
  28. #define TYPE_FORMAT_STRING_SIZE   1                                 
  29. #define PROC_FORMAT_STRING_SIZE   1                                 
  30.  
  31. typedef struct _MIDL_TYPE_FORMAT_STRING
  32.     {
  33.     short          Pad;
  34.     unsigned char  Format[ TYPE_FORMAT_STRING_SIZE ];
  35.     } MIDL_TYPE_FORMAT_STRING;
  36.  
  37. typedef struct _MIDL_PROC_FORMAT_STRING
  38.     {
  39.     short          Pad;
  40.     unsigned char  Format[ PROC_FORMAT_STRING_SIZE ];
  41.     } MIDL_PROC_FORMAT_STRING;
  42.  
  43.  
  44. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  45. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  46.  
  47.  
  48. /* Standard interface: __MIDL_itf_wpspi_0000, ver. 0.0,
  49.    GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
  50.  
  51.  
  52. /* Object interface: IUnknown, ver. 0.0,
  53.    GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  54.  
  55.  
  56. /* Object interface: IWPSiteW, ver. 0.0,
  57.    GUID={0x5261F720,0x6C4C,0x11CF,{0x86,0xB1,0x00,0xAA,0x00,0x60,0xF8,0x6C}} */
  58.  
  59.  
  60. /* Object interface: IWPProvider, ver. 0.0,
  61.    GUID={0xCB1D5316,0x30F6,0x11D0,{0xAD,0x03,0x00,0xAA,0x00,0xA2,0x19,0xAA}} */
  62.  
  63. #pragma data_seg(".rdata")
  64.  
  65. #if !defined(__RPC_WIN32__)
  66. #error  Invalid build platform for this stub.
  67. #endif
  68.  
  69. #if !(TARGET_IS_NT40_OR_LATER)
  70. #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
  71. #error   more than 32 methods in the interface.
  72. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  73. #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
  74. #endif
  75.  
  76.  
  77. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  78.     {
  79.         0,
  80.         {
  81.  
  82.             0x0
  83.         }
  84.     };
  85.  
  86. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  87.     {
  88.         0,
  89.         {
  90.  
  91.             0x0
  92.         }
  93.     };
  94.  
  95. const CInterfaceProxyVtbl * _wpspi_ProxyVtblList[] = 
  96. {
  97.     0
  98. };
  99.  
  100. const CInterfaceStubVtbl * _wpspi_StubVtblList[] = 
  101. {
  102.     0
  103. };
  104.  
  105. PCInterfaceName const _wpspi_InterfaceNamesList[] = 
  106. {
  107.     0
  108. };
  109.  
  110.  
  111. #define _wpspi_CHECK_IID(n)    IID_GENERIC_CHECK_IID( _wpspi, pIID, n)
  112.  
  113. int __stdcall _wpspi_IID_Lookup( const IID * pIID, int * pIndex )
  114. {
  115.     return 0;
  116. }
  117.  
  118. const ExtendedProxyFileInfo wpspi_ProxyFileInfo = 
  119. {
  120.     (PCInterfaceProxyVtblList *) & _wpspi_ProxyVtblList,
  121.     (PCInterfaceStubVtblList *) & _wpspi_StubVtblList,
  122.     (const PCInterfaceName * ) & _wpspi_InterfaceNamesList,
  123.     0, // no delegation
  124.     & _wpspi_IID_Lookup, 
  125.     0,
  126.     1
  127. };
  128.