IWinamp_p.c 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. /* this ALWAYS GENERATED file contains the proxy stub code */
  2. /* File created by MIDL compiler version 7.00.0500 */
  3. /* at Mon Aug 24 16:18:09 2009
  4. */
  5. /* Compiler settings for .\IWinamp.idl:
  6. Oicf, W1, Zp8, env=Win32 (32b run)
  7. protocol : dce , ms_ext, c_ext, robust
  8. error checks: allocation ref bounds_check enum stub_data
  9. VC __declspec() decoration level:
  10. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  11. DECLSPEC_UUID(), MIDL_INTERFACE()
  12. */
  13. //@@MIDL_FILE_HEADING( )
  14. #if !defined(_M_IA64) && !defined(_M_AMD64)
  15. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  16. #if _MSC_VER >= 1200
  17. #pragma warning(push)
  18. #endif
  19. #pragma warning( disable: 4211 ) /* redefine extern to static */
  20. #pragma warning( disable: 4232 ) /* dllimport identity*/
  21. #pragma warning( disable: 4024 ) /* array to pointer mapping*/
  22. #pragma warning( disable: 4152 ) /* function/data pointer conversion in expression */
  23. #pragma warning( disable: 4100 ) /* unreferenced arguments in x86 call */
  24. #pragma optimize("", off )
  25. #define USE_STUBLESS_PROXY
  26. /* verify that the <rpcproxy.h> version is high enough to compile this file*/
  27. #ifndef __REDQ_RPCPROXY_H_VERSION__
  28. #define __REQUIRED_RPCPROXY_H_VERSION__ 475
  29. #endif
  30. #include "rpcproxy.h"
  31. #ifndef __RPCPROXY_H_VERSION__
  32. #error this stub requires an updated version of <rpcproxy.h>
  33. #endif // __RPCPROXY_H_VERSION__
  34. #include "IWinamp.h"
  35. #define TYPE_FORMAT_STRING_SIZE 3
  36. #define PROC_FORMAT_STRING_SIZE 1
  37. #define EXPR_FORMAT_STRING_SIZE 1
  38. #define TRANSMIT_AS_TABLE_SIZE 0
  39. #define WIRE_MARSHAL_TABLE_SIZE 0
  40. typedef struct _IWinamp_MIDL_TYPE_FORMAT_STRING
  41. {
  42. short Pad;
  43. unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
  44. } IWinamp_MIDL_TYPE_FORMAT_STRING;
  45. typedef struct _IWinamp_MIDL_PROC_FORMAT_STRING
  46. {
  47. short Pad;
  48. unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
  49. } IWinamp_MIDL_PROC_FORMAT_STRING;
  50. typedef struct _IWinamp_MIDL_EXPR_FORMAT_STRING
  51. {
  52. long Pad;
  53. unsigned char Format[ EXPR_FORMAT_STRING_SIZE ];
  54. } IWinamp_MIDL_EXPR_FORMAT_STRING;
  55. static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
  56. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
  57. extern const IWinamp_MIDL_TYPE_FORMAT_STRING IWinamp__MIDL_TypeFormatString;
  58. extern const IWinamp_MIDL_PROC_FORMAT_STRING IWinamp__MIDL_ProcFormatString;
  59. extern const IWinamp_MIDL_EXPR_FORMAT_STRING IWinamp__MIDL_ExprFormatString;
  60. extern const MIDL_STUB_DESC Object_StubDesc;
  61. extern const MIDL_SERVER_INFO IWinamp_ServerInfo;
  62. extern const MIDL_STUBLESS_PROXY_INFO IWinamp_ProxyInfo;
  63. #if !defined(__RPC_WIN32__)
  64. #error Invalid build platform for this stub.
  65. #endif
  66. #if !(TARGET_IS_NT50_OR_LATER)
  67. #error You need a Windows 2000 or later to run this stub because it uses these features:
  68. #error /robust command line switch.
  69. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  70. #error This app will fail with the RPC_X_WRONG_STUB_VERSION error.
  71. #endif
  72. static const IWinamp_MIDL_PROC_FORMAT_STRING IWinamp__MIDL_ProcFormatString =
  73. {
  74. 0,
  75. {
  76. 0x0
  77. }
  78. };
  79. static const IWinamp_MIDL_TYPE_FORMAT_STRING IWinamp__MIDL_TypeFormatString =
  80. {
  81. 0,
  82. {
  83. NdrFcShort( 0x0 ), /* 0 */
  84. 0x0
  85. }
  86. };
  87. /* Object interface: IUnknown, ver. 0.0,
  88. GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  89. /* Object interface: IObjectWithSite, ver. 0.0,
  90. GUID={0xFC4801A3,0x2BA9,0x11CF,{0xA2,0x29,0x00,0xAA,0x00,0x3D,0x73,0x52}} */
  91. /* Object interface: IWinamp, ver. 0.0,
  92. GUID={0x007374A5,0xFE80,0x4b29,{0xAF,0x8C,0xFD,0x9C,0x0F,0x16,0xC8,0x5C}} */
  93. #pragma code_seg(".orpc")
  94. static const unsigned short IWinamp_FormatStringOffsetTable[] =
  95. {
  96. (unsigned short) -1,
  97. (unsigned short) -1,
  98. 0
  99. };
  100. static const MIDL_STUBLESS_PROXY_INFO IWinamp_ProxyInfo =
  101. {
  102. &Object_StubDesc,
  103. IWinamp__MIDL_ProcFormatString.Format,
  104. &IWinamp_FormatStringOffsetTable[-3],
  105. 0,
  106. 0,
  107. 0
  108. };
  109. static const MIDL_SERVER_INFO IWinamp_ServerInfo =
  110. {
  111. &Object_StubDesc,
  112. 0,
  113. IWinamp__MIDL_ProcFormatString.Format,
  114. &IWinamp_FormatStringOffsetTable[-3],
  115. 0,
  116. 0,
  117. 0,
  118. 0};
  119. CINTERFACE_PROXY_VTABLE(5) _IWinampProxyVtbl =
  120. {
  121. 0,
  122. &IID_IWinamp,
  123. IUnknown_QueryInterface_Proxy,
  124. IUnknown_AddRef_Proxy,
  125. IUnknown_Release_Proxy ,
  126. 0 /* (void *) (INT_PTR) -1 /* IObjectWithSite::SetSite */ ,
  127. 0 /* (void *) (INT_PTR) -1 /* IObjectWithSite::GetSite */
  128. };
  129. static const PRPC_STUB_FUNCTION IWinamp_table[] =
  130. {
  131. STUB_FORWARDING_FUNCTION,
  132. STUB_FORWARDING_FUNCTION
  133. };
  134. CInterfaceStubVtbl _IWinampStubVtbl =
  135. {
  136. &IID_IWinamp,
  137. &IWinamp_ServerInfo,
  138. 5,
  139. &IWinamp_table[-3],
  140. CStdStubBuffer_DELEGATING_METHODS
  141. };
  142. static const MIDL_STUB_DESC Object_StubDesc =
  143. {
  144. 0,
  145. NdrOleAllocate,
  146. NdrOleFree,
  147. 0,
  148. 0,
  149. 0,
  150. 0,
  151. 0,
  152. IWinamp__MIDL_TypeFormatString.Format,
  153. 1, /* -error bounds_check flag */
  154. 0x50002, /* Ndr library version */
  155. 0,
  156. 0x70001f4, /* MIDL Version 7.0.500 */
  157. 0,
  158. 0,
  159. 0, /* notify & notify_flag routine table */
  160. 0x1, /* MIDL flag */
  161. 0, /* cs routines */
  162. 0, /* proxy/server info */
  163. 0
  164. };
  165. const CInterfaceProxyVtbl * _IWinamp_ProxyVtblList[] =
  166. {
  167. ( CInterfaceProxyVtbl *) &_IWinampProxyVtbl,
  168. 0
  169. };
  170. const CInterfaceStubVtbl * _IWinamp_StubVtblList[] =
  171. {
  172. ( CInterfaceStubVtbl *) &_IWinampStubVtbl,
  173. 0
  174. };
  175. PCInterfaceName const _IWinamp_InterfaceNamesList[] =
  176. {
  177. "IWinamp",
  178. 0
  179. };
  180. const IID * _IWinamp_BaseIIDList[] =
  181. {
  182. &IID_IObjectWithSite,
  183. 0
  184. };
  185. #define _IWinamp_CHECK_IID(n) IID_GENERIC_CHECK_IID( _IWinamp, pIID, n)
  186. int __stdcall _IWinamp_IID_Lookup( const IID * pIID, int * pIndex )
  187. {
  188. if(!_IWinamp_CHECK_IID(0))
  189. {
  190. *pIndex = 0;
  191. return 1;
  192. }
  193. return 0;
  194. }
  195. const ExtendedProxyFileInfo IWinamp_ProxyFileInfo =
  196. {
  197. (PCInterfaceProxyVtblList *) & _IWinamp_ProxyVtblList,
  198. (PCInterfaceStubVtblList *) & _IWinamp_StubVtblList,
  199. (const PCInterfaceName * ) & _IWinamp_InterfaceNamesList,
  200. (const IID ** ) & _IWinamp_BaseIIDList,
  201. & _IWinamp_IID_Lookup,
  202. 1,
  203. 2,
  204. 0, /* table of [async_uuid] interfaces */
  205. 0, /* Filler1 */
  206. 0, /* Filler2 */
  207. 0 /* Filler3 */
  208. };
  209. #pragma optimize("", on )
  210. #if _MSC_VER >= 1200
  211. #pragma warning(pop)
  212. #endif
  213. #endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/