Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2289 lines
74 KiB

  1. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  2. /* this ALWAYS GENERATED file contains the proxy stub code */
  3. /* File created by MIDL compiler version 6.00.0347 */
  4. /* at Mon May 20 11:18:54 2002
  5. */
  6. /* Compiler settings for _OCAData.idl:
  7. Os, W1, Zp8, env=Win32 (32b run)
  8. protocol : dce , ms_ext, c_ext
  9. error checks: allocation ref bounds_check enum stub_data
  10. VC __declspec() decoration level:
  11. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  12. DECLSPEC_UUID(), MIDL_INTERFACE()
  13. */
  14. //@@MIDL_FILE_HEADING( )
  15. #if !defined(_M_IA64) && !defined(_M_AMD64)
  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. #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. #include "_OCAData.h"
  25. #define TYPE_FORMAT_STRING_SIZE 63
  26. #define PROC_FORMAT_STRING_SIZE 31
  27. #define TRANSMIT_AS_TABLE_SIZE 0
  28. #define WIRE_MARSHAL_TABLE_SIZE 1
  29. typedef struct _MIDL_TYPE_FORMAT_STRING
  30. {
  31. short Pad;
  32. unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
  33. } MIDL_TYPE_FORMAT_STRING;
  34. typedef struct _MIDL_PROC_FORMAT_STRING
  35. {
  36. short Pad;
  37. unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
  38. } MIDL_PROC_FORMAT_STRING;
  39. static RPC_SYNTAX_IDENTIFIER _RpcTransferSyntax =
  40. {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}};
  41. extern const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString;
  42. extern const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString;
  43. extern const MIDL_STUB_DESC Object_StubDesc;
  44. extern const MIDL_SERVER_INFO ICountDaily_ServerInfo;
  45. extern const MIDL_STUBLESS_PROXY_INFO ICountDaily_ProxyInfo;
  46. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetDailyCount_Proxy(
  47. ICountDaily * This,
  48. /* [in] */ DATE dDate,
  49. /* [retval][out] */ LONG *iCount)
  50. {
  51. HRESULT _RetVal;
  52. RPC_MESSAGE _RpcMessage;
  53. MIDL_STUB_MESSAGE _StubMsg;
  54. RpcTryExcept
  55. {
  56. NdrProxyInitialize(
  57. ( void * )This,
  58. ( PRPC_MESSAGE )&_RpcMessage,
  59. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  60. ( PMIDL_STUB_DESC )&Object_StubDesc,
  61. 7);
  62. if(!iCount)
  63. {
  64. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  65. }
  66. RpcTryFinally
  67. {
  68. _StubMsg.BufferLength = 16;
  69. NdrProxyGetBuffer(This, &_StubMsg);
  70. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  71. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  72. NdrProxySendReceive(This, &_StubMsg);
  73. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  74. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  75. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  76. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  77. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  78. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  79. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  80. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  81. {
  82. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  83. }
  84. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  85. }
  86. RpcFinally
  87. {
  88. NdrProxyFreeBuffer(This, &_StubMsg);
  89. }
  90. RpcEndFinally
  91. }
  92. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  93. {
  94. NdrClearOutParameters(
  95. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  96. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  97. ( void * )iCount);
  98. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  99. }
  100. RpcEndExcept
  101. return _RetVal;
  102. }
  103. void __RPC_STUB ICountDaily_GetDailyCount_Stub(
  104. IRpcStubBuffer *This,
  105. IRpcChannelBuffer *_pRpcChannelBuffer,
  106. PRPC_MESSAGE _pRpcMessage,
  107. DWORD *_pdwStubPhase)
  108. {
  109. LONG _M0 = 0;
  110. HRESULT _RetVal;
  111. MIDL_STUB_MESSAGE _StubMsg;
  112. DATE dDate;
  113. LONG *iCount;
  114. NdrStubInitialize(
  115. _pRpcMessage,
  116. &_StubMsg,
  117. &Object_StubDesc,
  118. _pRpcChannelBuffer);
  119. dDate = 0;
  120. ( LONG * )iCount = 0;
  121. RpcTryFinally
  122. {
  123. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  124. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  125. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  126. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  127. {
  128. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  129. }
  130. dDate = *(( DATE * )_StubMsg.Buffer)++;
  131. iCount = &_M0;
  132. *_pdwStubPhase = STUB_CALL_SERVER;
  133. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDailyCount(
  134. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  135. dDate,
  136. iCount);
  137. *_pdwStubPhase = STUB_MARSHAL;
  138. _StubMsg.BufferLength = 36;
  139. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  140. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  141. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  142. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  143. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  144. }
  145. RpcFinally
  146. {
  147. }
  148. RpcEndFinally
  149. _pRpcMessage->BufferLength =
  150. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  151. }
  152. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetDailyCountADO_Proxy(
  153. ICountDaily * This,
  154. /* [in] */ DATE dDate,
  155. /* [retval][out] */ LONG *iCount)
  156. {
  157. HRESULT _RetVal;
  158. RPC_MESSAGE _RpcMessage;
  159. MIDL_STUB_MESSAGE _StubMsg;
  160. RpcTryExcept
  161. {
  162. NdrProxyInitialize(
  163. ( void * )This,
  164. ( PRPC_MESSAGE )&_RpcMessage,
  165. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  166. ( PMIDL_STUB_DESC )&Object_StubDesc,
  167. 8);
  168. if(!iCount)
  169. {
  170. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  171. }
  172. RpcTryFinally
  173. {
  174. _StubMsg.BufferLength = 16;
  175. NdrProxyGetBuffer(This, &_StubMsg);
  176. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  177. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  178. NdrProxySendReceive(This, &_StubMsg);
  179. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  180. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  181. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  182. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  183. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  184. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  185. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  186. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  187. {
  188. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  189. }
  190. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  191. }
  192. RpcFinally
  193. {
  194. NdrProxyFreeBuffer(This, &_StubMsg);
  195. }
  196. RpcEndFinally
  197. }
  198. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  199. {
  200. NdrClearOutParameters(
  201. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  202. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  203. ( void * )iCount);
  204. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  205. }
  206. RpcEndExcept
  207. return _RetVal;
  208. }
  209. void __RPC_STUB ICountDaily_GetDailyCountADO_Stub(
  210. IRpcStubBuffer *This,
  211. IRpcChannelBuffer *_pRpcChannelBuffer,
  212. PRPC_MESSAGE _pRpcMessage,
  213. DWORD *_pdwStubPhase)
  214. {
  215. LONG _M1 = 0;
  216. HRESULT _RetVal;
  217. MIDL_STUB_MESSAGE _StubMsg;
  218. DATE dDate;
  219. LONG *iCount;
  220. NdrStubInitialize(
  221. _pRpcMessage,
  222. &_StubMsg,
  223. &Object_StubDesc,
  224. _pRpcChannelBuffer);
  225. dDate = 0;
  226. ( LONG * )iCount = 0;
  227. RpcTryFinally
  228. {
  229. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  230. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  231. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  232. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  233. {
  234. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  235. }
  236. dDate = *(( DATE * )_StubMsg.Buffer)++;
  237. iCount = &_M1;
  238. *_pdwStubPhase = STUB_CALL_SERVER;
  239. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDailyCountADO(
  240. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  241. dDate,
  242. iCount);
  243. *_pdwStubPhase = STUB_MARSHAL;
  244. _StubMsg.BufferLength = 36;
  245. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  246. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  247. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  248. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  249. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  250. }
  251. RpcFinally
  252. {
  253. }
  254. RpcEndFinally
  255. _pRpcMessage->BufferLength =
  256. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  257. }
  258. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_ReportDailyBuckets_Proxy(
  259. ICountDaily * This,
  260. /* [in] */ DATE dDate,
  261. /* [retval][out] */ IDispatch **p_Rs)
  262. {
  263. HRESULT _RetVal;
  264. RPC_MESSAGE _RpcMessage;
  265. MIDL_STUB_MESSAGE _StubMsg;
  266. if(p_Rs)
  267. {
  268. MIDL_memset(
  269. p_Rs,
  270. 0,
  271. sizeof( IDispatch ** ));
  272. }
  273. RpcTryExcept
  274. {
  275. NdrProxyInitialize(
  276. ( void * )This,
  277. ( PRPC_MESSAGE )&_RpcMessage,
  278. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  279. ( PMIDL_STUB_DESC )&Object_StubDesc,
  280. 9);
  281. if(!p_Rs)
  282. {
  283. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  284. }
  285. RpcTryFinally
  286. {
  287. _StubMsg.BufferLength = 16;
  288. NdrProxyGetBuffer(This, &_StubMsg);
  289. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  290. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  291. NdrProxySendReceive(This, &_StubMsg);
  292. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  293. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  294. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  295. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] );
  296. NdrPointerUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  297. (unsigned char * *)&p_Rs,
  298. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
  299. (unsigned char)0 );
  300. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  301. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  302. {
  303. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  304. }
  305. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  306. }
  307. RpcFinally
  308. {
  309. NdrProxyFreeBuffer(This, &_StubMsg);
  310. }
  311. RpcEndFinally
  312. }
  313. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  314. {
  315. NdrClearOutParameters(
  316. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  317. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[6],
  318. ( void * )p_Rs);
  319. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  320. }
  321. RpcEndExcept
  322. return _RetVal;
  323. }
  324. void __RPC_STUB ICountDaily_ReportDailyBuckets_Stub(
  325. IRpcStubBuffer *This,
  326. IRpcChannelBuffer *_pRpcChannelBuffer,
  327. PRPC_MESSAGE _pRpcMessage,
  328. DWORD *_pdwStubPhase)
  329. {
  330. IDispatch *_M2;
  331. HRESULT _RetVal;
  332. MIDL_STUB_MESSAGE _StubMsg;
  333. DATE dDate;
  334. IDispatch **p_Rs;
  335. NdrStubInitialize(
  336. _pRpcMessage,
  337. &_StubMsg,
  338. &Object_StubDesc,
  339. _pRpcChannelBuffer);
  340. dDate = 0;
  341. ( IDispatch ** )p_Rs = 0;
  342. RpcTryFinally
  343. {
  344. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  345. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[8] );
  346. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  347. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  348. {
  349. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  350. }
  351. dDate = *(( DATE * )_StubMsg.Buffer)++;
  352. p_Rs = &_M2;
  353. _M2 = 0;
  354. *_pdwStubPhase = STUB_CALL_SERVER;
  355. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> ReportDailyBuckets(
  356. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  357. dDate,
  358. p_Rs);
  359. *_pdwStubPhase = STUB_MARSHAL;
  360. _StubMsg.BufferLength = 8;
  361. NdrPointerBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  362. (unsigned char *)p_Rs,
  363. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
  364. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  365. NdrPointerMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  366. (unsigned char *)p_Rs,
  367. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
  368. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  369. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  370. }
  371. RpcFinally
  372. {
  373. NdrPointerFree( &_StubMsg,
  374. (unsigned char *)p_Rs,
  375. &__MIDL_TypeFormatString.Format[6] );
  376. }
  377. RpcEndFinally
  378. _pRpcMessage->BufferLength =
  379. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  380. }
  381. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetFileCount_Proxy(
  382. ICountDaily * This,
  383. /* [in] */ enum ServerLocation eServer,
  384. /* [in] */ BSTR b_Location,
  385. /* [in] */ DATE d_Date,
  386. /* [retval][out] */ LONG *iCount)
  387. {
  388. HRESULT _RetVal;
  389. RPC_MESSAGE _RpcMessage;
  390. MIDL_STUB_MESSAGE _StubMsg;
  391. RpcTryExcept
  392. {
  393. NdrProxyInitialize(
  394. ( void * )This,
  395. ( PRPC_MESSAGE )&_RpcMessage,
  396. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  397. ( PMIDL_STUB_DESC )&Object_StubDesc,
  398. 10);
  399. if(!iCount)
  400. {
  401. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  402. }
  403. RpcTryFinally
  404. {
  405. _StubMsg.BufferLength = 22;
  406. NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  407. (unsigned char *)&b_Location,
  408. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52] );
  409. NdrProxyGetBuffer(This, &_StubMsg);
  410. NdrSimpleTypeMarshall(
  411. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  412. ( unsigned char * )&eServer,
  413. 13);
  414. NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  415. (unsigned char *)&b_Location,
  416. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52] );
  417. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  418. *(( DATE * )_StubMsg.Buffer)++ = d_Date;
  419. NdrProxySendReceive(This, &_StubMsg);
  420. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  421. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  422. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  423. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  424. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  425. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  426. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  427. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  428. {
  429. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  430. }
  431. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  432. }
  433. RpcFinally
  434. {
  435. NdrProxyFreeBuffer(This, &_StubMsg);
  436. }
  437. RpcEndFinally
  438. }
  439. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  440. {
  441. NdrClearOutParameters(
  442. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  443. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  444. ( void * )iCount);
  445. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  446. }
  447. RpcEndExcept
  448. return _RetVal;
  449. }
  450. void __RPC_STUB ICountDaily_GetFileCount_Stub(
  451. IRpcStubBuffer *This,
  452. IRpcChannelBuffer *_pRpcChannelBuffer,
  453. PRPC_MESSAGE _pRpcMessage,
  454. DWORD *_pdwStubPhase)
  455. {
  456. LONG _M3 = 0;
  457. HRESULT _RetVal;
  458. MIDL_STUB_MESSAGE _StubMsg;
  459. void *_p_b_Location;
  460. BSTR b_Location;
  461. DATE d_Date;
  462. enum ServerLocation eServer;
  463. LONG *iCount;
  464. NdrStubInitialize(
  465. _pRpcMessage,
  466. &_StubMsg,
  467. &Object_StubDesc,
  468. _pRpcChannelBuffer);
  469. eServer = 0;
  470. _p_b_Location = &b_Location;
  471. MIDL_memset(
  472. _p_b_Location,
  473. 0,
  474. sizeof( BSTR ));
  475. d_Date = 0;
  476. ( LONG * )iCount = 0;
  477. RpcTryFinally
  478. {
  479. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  480. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  481. NdrSimpleTypeUnmarshall(
  482. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  483. ( unsigned char * )&eServer,
  484. 13);
  485. NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  486. (unsigned char * *)&_p_b_Location,
  487. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52],
  488. (unsigned char)0 );
  489. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  490. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  491. {
  492. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  493. }
  494. d_Date = *(( DATE * )_StubMsg.Buffer)++;
  495. iCount = &_M3;
  496. *_pdwStubPhase = STUB_CALL_SERVER;
  497. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFileCount(
  498. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  499. eServer,
  500. b_Location,
  501. d_Date,
  502. iCount);
  503. *_pdwStubPhase = STUB_MARSHAL;
  504. _StubMsg.BufferLength = 36;
  505. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  506. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  507. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  508. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  509. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  510. }
  511. RpcFinally
  512. {
  513. NdrUserMarshalFree( &_StubMsg,
  514. (unsigned char *)&b_Location,
  515. &__MIDL_TypeFormatString.Format[52] );
  516. }
  517. RpcEndFinally
  518. _pRpcMessage->BufferLength =
  519. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  520. }
  521. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetDailyAnon_Proxy(
  522. ICountDaily * This,
  523. /* [in] */ DATE dDate,
  524. /* [retval][out] */ LONG *iCount)
  525. {
  526. HRESULT _RetVal;
  527. RPC_MESSAGE _RpcMessage;
  528. MIDL_STUB_MESSAGE _StubMsg;
  529. RpcTryExcept
  530. {
  531. NdrProxyInitialize(
  532. ( void * )This,
  533. ( PRPC_MESSAGE )&_RpcMessage,
  534. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  535. ( PMIDL_STUB_DESC )&Object_StubDesc,
  536. 11);
  537. if(!iCount)
  538. {
  539. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  540. }
  541. RpcTryFinally
  542. {
  543. _StubMsg.BufferLength = 16;
  544. NdrProxyGetBuffer(This, &_StubMsg);
  545. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  546. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  547. NdrProxySendReceive(This, &_StubMsg);
  548. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  549. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  550. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  551. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  552. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  553. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  554. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  555. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  556. {
  557. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  558. }
  559. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  560. }
  561. RpcFinally
  562. {
  563. NdrProxyFreeBuffer(This, &_StubMsg);
  564. }
  565. RpcEndFinally
  566. }
  567. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  568. {
  569. NdrClearOutParameters(
  570. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  571. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  572. ( void * )iCount);
  573. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  574. }
  575. RpcEndExcept
  576. return _RetVal;
  577. }
  578. void __RPC_STUB ICountDaily_GetDailyAnon_Stub(
  579. IRpcStubBuffer *This,
  580. IRpcChannelBuffer *_pRpcChannelBuffer,
  581. PRPC_MESSAGE _pRpcMessage,
  582. DWORD *_pdwStubPhase)
  583. {
  584. LONG _M4 = 0;
  585. HRESULT _RetVal;
  586. MIDL_STUB_MESSAGE _StubMsg;
  587. DATE dDate;
  588. LONG *iCount;
  589. NdrStubInitialize(
  590. _pRpcMessage,
  591. &_StubMsg,
  592. &Object_StubDesc,
  593. _pRpcChannelBuffer);
  594. dDate = 0;
  595. ( LONG * )iCount = 0;
  596. RpcTryFinally
  597. {
  598. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  599. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  600. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  601. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  602. {
  603. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  604. }
  605. dDate = *(( DATE * )_StubMsg.Buffer)++;
  606. iCount = &_M4;
  607. *_pdwStubPhase = STUB_CALL_SERVER;
  608. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetDailyAnon(
  609. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  610. dDate,
  611. iCount);
  612. *_pdwStubPhase = STUB_MARSHAL;
  613. _StubMsg.BufferLength = 36;
  614. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  615. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  616. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  617. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  618. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  619. }
  620. RpcFinally
  621. {
  622. }
  623. RpcEndFinally
  624. _pRpcMessage->BufferLength =
  625. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  626. }
  627. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetSpecificSolutions_Proxy(
  628. ICountDaily * This,
  629. /* [in] */ DATE dDate,
  630. /* [retval][out] */ LONG *iCount)
  631. {
  632. HRESULT _RetVal;
  633. RPC_MESSAGE _RpcMessage;
  634. MIDL_STUB_MESSAGE _StubMsg;
  635. RpcTryExcept
  636. {
  637. NdrProxyInitialize(
  638. ( void * )This,
  639. ( PRPC_MESSAGE )&_RpcMessage,
  640. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  641. ( PMIDL_STUB_DESC )&Object_StubDesc,
  642. 12);
  643. if(!iCount)
  644. {
  645. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  646. }
  647. RpcTryFinally
  648. {
  649. _StubMsg.BufferLength = 16;
  650. NdrProxyGetBuffer(This, &_StubMsg);
  651. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  652. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  653. NdrProxySendReceive(This, &_StubMsg);
  654. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  655. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  656. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  657. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  658. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  659. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  660. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  661. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  662. {
  663. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  664. }
  665. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  666. }
  667. RpcFinally
  668. {
  669. NdrProxyFreeBuffer(This, &_StubMsg);
  670. }
  671. RpcEndFinally
  672. }
  673. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  674. {
  675. NdrClearOutParameters(
  676. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  677. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  678. ( void * )iCount);
  679. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  680. }
  681. RpcEndExcept
  682. return _RetVal;
  683. }
  684. void __RPC_STUB ICountDaily_GetSpecificSolutions_Stub(
  685. IRpcStubBuffer *This,
  686. IRpcChannelBuffer *_pRpcChannelBuffer,
  687. PRPC_MESSAGE _pRpcMessage,
  688. DWORD *_pdwStubPhase)
  689. {
  690. LONG _M5 = 0;
  691. HRESULT _RetVal;
  692. MIDL_STUB_MESSAGE _StubMsg;
  693. DATE dDate;
  694. LONG *iCount;
  695. NdrStubInitialize(
  696. _pRpcMessage,
  697. &_StubMsg,
  698. &Object_StubDesc,
  699. _pRpcChannelBuffer);
  700. dDate = 0;
  701. ( LONG * )iCount = 0;
  702. RpcTryFinally
  703. {
  704. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  705. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  706. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  707. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  708. {
  709. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  710. }
  711. dDate = *(( DATE * )_StubMsg.Buffer)++;
  712. iCount = &_M5;
  713. *_pdwStubPhase = STUB_CALL_SERVER;
  714. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetSpecificSolutions(
  715. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  716. dDate,
  717. iCount);
  718. *_pdwStubPhase = STUB_MARSHAL;
  719. _StubMsg.BufferLength = 36;
  720. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  721. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  722. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  723. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  724. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  725. }
  726. RpcFinally
  727. {
  728. }
  729. RpcEndFinally
  730. _pRpcMessage->BufferLength =
  731. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  732. }
  733. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetGeneralSolutions_Proxy(
  734. ICountDaily * This,
  735. /* [in] */ DATE dDate,
  736. /* [retval][out] */ LONG *iCount)
  737. {
  738. HRESULT _RetVal;
  739. RPC_MESSAGE _RpcMessage;
  740. MIDL_STUB_MESSAGE _StubMsg;
  741. RpcTryExcept
  742. {
  743. NdrProxyInitialize(
  744. ( void * )This,
  745. ( PRPC_MESSAGE )&_RpcMessage,
  746. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  747. ( PMIDL_STUB_DESC )&Object_StubDesc,
  748. 13);
  749. if(!iCount)
  750. {
  751. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  752. }
  753. RpcTryFinally
  754. {
  755. _StubMsg.BufferLength = 16;
  756. NdrProxyGetBuffer(This, &_StubMsg);
  757. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  758. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  759. NdrProxySendReceive(This, &_StubMsg);
  760. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  761. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  762. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  763. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  764. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  765. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  766. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  767. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  768. {
  769. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  770. }
  771. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  772. }
  773. RpcFinally
  774. {
  775. NdrProxyFreeBuffer(This, &_StubMsg);
  776. }
  777. RpcEndFinally
  778. }
  779. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  780. {
  781. NdrClearOutParameters(
  782. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  783. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  784. ( void * )iCount);
  785. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  786. }
  787. RpcEndExcept
  788. return _RetVal;
  789. }
  790. void __RPC_STUB ICountDaily_GetGeneralSolutions_Stub(
  791. IRpcStubBuffer *This,
  792. IRpcChannelBuffer *_pRpcChannelBuffer,
  793. PRPC_MESSAGE _pRpcMessage,
  794. DWORD *_pdwStubPhase)
  795. {
  796. LONG _M6 = 0;
  797. HRESULT _RetVal;
  798. MIDL_STUB_MESSAGE _StubMsg;
  799. DATE dDate;
  800. LONG *iCount;
  801. NdrStubInitialize(
  802. _pRpcMessage,
  803. &_StubMsg,
  804. &Object_StubDesc,
  805. _pRpcChannelBuffer);
  806. dDate = 0;
  807. ( LONG * )iCount = 0;
  808. RpcTryFinally
  809. {
  810. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  811. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  812. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  813. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  814. {
  815. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  816. }
  817. dDate = *(( DATE * )_StubMsg.Buffer)++;
  818. iCount = &_M6;
  819. *_pdwStubPhase = STUB_CALL_SERVER;
  820. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetGeneralSolutions(
  821. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  822. dDate,
  823. iCount);
  824. *_pdwStubPhase = STUB_MARSHAL;
  825. _StubMsg.BufferLength = 36;
  826. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  827. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  828. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  829. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  830. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  831. }
  832. RpcFinally
  833. {
  834. }
  835. RpcEndFinally
  836. _pRpcMessage->BufferLength =
  837. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  838. }
  839. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetStopCodeSolutions_Proxy(
  840. ICountDaily * This,
  841. /* [in] */ DATE dDate,
  842. /* [retval][out] */ LONG *iCount)
  843. {
  844. HRESULT _RetVal;
  845. RPC_MESSAGE _RpcMessage;
  846. MIDL_STUB_MESSAGE _StubMsg;
  847. RpcTryExcept
  848. {
  849. NdrProxyInitialize(
  850. ( void * )This,
  851. ( PRPC_MESSAGE )&_RpcMessage,
  852. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  853. ( PMIDL_STUB_DESC )&Object_StubDesc,
  854. 14);
  855. if(!iCount)
  856. {
  857. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  858. }
  859. RpcTryFinally
  860. {
  861. _StubMsg.BufferLength = 16;
  862. NdrProxyGetBuffer(This, &_StubMsg);
  863. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  864. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  865. NdrProxySendReceive(This, &_StubMsg);
  866. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  867. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  868. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  869. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  870. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  871. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  872. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  873. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  874. {
  875. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  876. }
  877. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  878. }
  879. RpcFinally
  880. {
  881. NdrProxyFreeBuffer(This, &_StubMsg);
  882. }
  883. RpcEndFinally
  884. }
  885. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  886. {
  887. NdrClearOutParameters(
  888. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  889. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  890. ( void * )iCount);
  891. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  892. }
  893. RpcEndExcept
  894. return _RetVal;
  895. }
  896. void __RPC_STUB ICountDaily_GetStopCodeSolutions_Stub(
  897. IRpcStubBuffer *This,
  898. IRpcChannelBuffer *_pRpcChannelBuffer,
  899. PRPC_MESSAGE _pRpcMessage,
  900. DWORD *_pdwStubPhase)
  901. {
  902. LONG _M7 = 0;
  903. HRESULT _RetVal;
  904. MIDL_STUB_MESSAGE _StubMsg;
  905. DATE dDate;
  906. LONG *iCount;
  907. NdrStubInitialize(
  908. _pRpcMessage,
  909. &_StubMsg,
  910. &Object_StubDesc,
  911. _pRpcChannelBuffer);
  912. dDate = 0;
  913. ( LONG * )iCount = 0;
  914. RpcTryFinally
  915. {
  916. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  917. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  918. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  919. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  920. {
  921. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  922. }
  923. dDate = *(( DATE * )_StubMsg.Buffer)++;
  924. iCount = &_M7;
  925. *_pdwStubPhase = STUB_CALL_SERVER;
  926. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetStopCodeSolutions(
  927. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  928. dDate,
  929. iCount);
  930. *_pdwStubPhase = STUB_MARSHAL;
  931. _StubMsg.BufferLength = 36;
  932. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  933. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  934. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  935. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  936. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  937. }
  938. RpcFinally
  939. {
  940. }
  941. RpcEndFinally
  942. _pRpcMessage->BufferLength =
  943. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  944. }
  945. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetFileMiniCount_Proxy(
  946. ICountDaily * This,
  947. /* [in] */ enum ServerLocation eServer,
  948. /* [in] */ BSTR b_Location,
  949. /* [in] */ DATE d_Date,
  950. /* [retval][out] */ LONG *iCount)
  951. {
  952. HRESULT _RetVal;
  953. RPC_MESSAGE _RpcMessage;
  954. MIDL_STUB_MESSAGE _StubMsg;
  955. RpcTryExcept
  956. {
  957. NdrProxyInitialize(
  958. ( void * )This,
  959. ( PRPC_MESSAGE )&_RpcMessage,
  960. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  961. ( PMIDL_STUB_DESC )&Object_StubDesc,
  962. 15);
  963. if(!iCount)
  964. {
  965. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  966. }
  967. RpcTryFinally
  968. {
  969. _StubMsg.BufferLength = 22;
  970. NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  971. (unsigned char *)&b_Location,
  972. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52] );
  973. NdrProxyGetBuffer(This, &_StubMsg);
  974. NdrSimpleTypeMarshall(
  975. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  976. ( unsigned char * )&eServer,
  977. 13);
  978. NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  979. (unsigned char *)&b_Location,
  980. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52] );
  981. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  982. *(( DATE * )_StubMsg.Buffer)++ = d_Date;
  983. NdrProxySendReceive(This, &_StubMsg);
  984. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  985. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  986. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  987. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  988. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  989. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  990. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  991. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  992. {
  993. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  994. }
  995. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  996. }
  997. RpcFinally
  998. {
  999. NdrProxyFreeBuffer(This, &_StubMsg);
  1000. }
  1001. RpcEndFinally
  1002. }
  1003. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1004. {
  1005. NdrClearOutParameters(
  1006. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1007. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  1008. ( void * )iCount);
  1009. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1010. }
  1011. RpcEndExcept
  1012. return _RetVal;
  1013. }
  1014. void __RPC_STUB ICountDaily_GetFileMiniCount_Stub(
  1015. IRpcStubBuffer *This,
  1016. IRpcChannelBuffer *_pRpcChannelBuffer,
  1017. PRPC_MESSAGE _pRpcMessage,
  1018. DWORD *_pdwStubPhase)
  1019. {
  1020. LONG _M8 = 0;
  1021. HRESULT _RetVal;
  1022. MIDL_STUB_MESSAGE _StubMsg;
  1023. void *_p_b_Location;
  1024. BSTR b_Location;
  1025. DATE d_Date;
  1026. enum ServerLocation eServer;
  1027. LONG *iCount;
  1028. NdrStubInitialize(
  1029. _pRpcMessage,
  1030. &_StubMsg,
  1031. &Object_StubDesc,
  1032. _pRpcChannelBuffer);
  1033. eServer = 0;
  1034. _p_b_Location = &b_Location;
  1035. MIDL_memset(
  1036. _p_b_Location,
  1037. 0,
  1038. sizeof( BSTR ));
  1039. d_Date = 0;
  1040. ( LONG * )iCount = 0;
  1041. RpcTryFinally
  1042. {
  1043. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1044. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  1045. NdrSimpleTypeUnmarshall(
  1046. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1047. ( unsigned char * )&eServer,
  1048. 13);
  1049. NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1050. (unsigned char * *)&_p_b_Location,
  1051. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52],
  1052. (unsigned char)0 );
  1053. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1054. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  1055. {
  1056. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1057. }
  1058. d_Date = *(( DATE * )_StubMsg.Buffer)++;
  1059. iCount = &_M8;
  1060. *_pdwStubPhase = STUB_CALL_SERVER;
  1061. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetFileMiniCount(
  1062. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  1063. eServer,
  1064. b_Location,
  1065. d_Date,
  1066. iCount);
  1067. *_pdwStubPhase = STUB_MARSHAL;
  1068. _StubMsg.BufferLength = 36;
  1069. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1070. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1071. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  1072. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1073. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  1074. }
  1075. RpcFinally
  1076. {
  1077. NdrUserMarshalFree( &_StubMsg,
  1078. (unsigned char *)&b_Location,
  1079. &__MIDL_TypeFormatString.Format[52] );
  1080. }
  1081. RpcEndFinally
  1082. _pRpcMessage->BufferLength =
  1083. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  1084. }
  1085. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetIncompleteUploads_Proxy(
  1086. ICountDaily * This,
  1087. /* [in] */ DATE dDate,
  1088. /* [retval][out] */ LONG *iCount)
  1089. {
  1090. HRESULT _RetVal;
  1091. RPC_MESSAGE _RpcMessage;
  1092. MIDL_STUB_MESSAGE _StubMsg;
  1093. RpcTryExcept
  1094. {
  1095. NdrProxyInitialize(
  1096. ( void * )This,
  1097. ( PRPC_MESSAGE )&_RpcMessage,
  1098. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1099. ( PMIDL_STUB_DESC )&Object_StubDesc,
  1100. 16);
  1101. if(!iCount)
  1102. {
  1103. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1104. }
  1105. RpcTryFinally
  1106. {
  1107. _StubMsg.BufferLength = 16;
  1108. NdrProxyGetBuffer(This, &_StubMsg);
  1109. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1110. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  1111. NdrProxySendReceive(This, &_StubMsg);
  1112. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  1113. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  1114. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1115. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  1116. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1117. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  1118. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1119. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  1120. {
  1121. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1122. }
  1123. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  1124. }
  1125. RpcFinally
  1126. {
  1127. NdrProxyFreeBuffer(This, &_StubMsg);
  1128. }
  1129. RpcEndFinally
  1130. }
  1131. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1132. {
  1133. NdrClearOutParameters(
  1134. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1135. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  1136. ( void * )iCount);
  1137. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1138. }
  1139. RpcEndExcept
  1140. return _RetVal;
  1141. }
  1142. void __RPC_STUB ICountDaily_GetIncompleteUploads_Stub(
  1143. IRpcStubBuffer *This,
  1144. IRpcChannelBuffer *_pRpcChannelBuffer,
  1145. PRPC_MESSAGE _pRpcMessage,
  1146. DWORD *_pdwStubPhase)
  1147. {
  1148. LONG _M9 = 0;
  1149. HRESULT _RetVal;
  1150. MIDL_STUB_MESSAGE _StubMsg;
  1151. DATE dDate;
  1152. LONG *iCount;
  1153. NdrStubInitialize(
  1154. _pRpcMessage,
  1155. &_StubMsg,
  1156. &Object_StubDesc,
  1157. _pRpcChannelBuffer);
  1158. dDate = 0;
  1159. ( LONG * )iCount = 0;
  1160. RpcTryFinally
  1161. {
  1162. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1163. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  1164. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1165. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  1166. {
  1167. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1168. }
  1169. dDate = *(( DATE * )_StubMsg.Buffer)++;
  1170. iCount = &_M9;
  1171. *_pdwStubPhase = STUB_CALL_SERVER;
  1172. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetIncompleteUploads(
  1173. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  1174. dDate,
  1175. iCount);
  1176. *_pdwStubPhase = STUB_MARSHAL;
  1177. _StubMsg.BufferLength = 36;
  1178. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1179. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1180. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  1181. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1182. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  1183. }
  1184. RpcFinally
  1185. {
  1186. }
  1187. RpcEndFinally
  1188. _pRpcMessage->BufferLength =
  1189. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  1190. }
  1191. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetManualUploads_Proxy(
  1192. ICountDaily * This,
  1193. /* [in] */ DATE dDate,
  1194. /* [retval][out] */ LONG *iCount)
  1195. {
  1196. HRESULT _RetVal;
  1197. RPC_MESSAGE _RpcMessage;
  1198. MIDL_STUB_MESSAGE _StubMsg;
  1199. RpcTryExcept
  1200. {
  1201. NdrProxyInitialize(
  1202. ( void * )This,
  1203. ( PRPC_MESSAGE )&_RpcMessage,
  1204. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1205. ( PMIDL_STUB_DESC )&Object_StubDesc,
  1206. 17);
  1207. if(!iCount)
  1208. {
  1209. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1210. }
  1211. RpcTryFinally
  1212. {
  1213. _StubMsg.BufferLength = 16;
  1214. NdrProxyGetBuffer(This, &_StubMsg);
  1215. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1216. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  1217. NdrProxySendReceive(This, &_StubMsg);
  1218. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  1219. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  1220. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1221. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  1222. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1223. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  1224. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1225. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  1226. {
  1227. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1228. }
  1229. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  1230. }
  1231. RpcFinally
  1232. {
  1233. NdrProxyFreeBuffer(This, &_StubMsg);
  1234. }
  1235. RpcEndFinally
  1236. }
  1237. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1238. {
  1239. NdrClearOutParameters(
  1240. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1241. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  1242. ( void * )iCount);
  1243. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1244. }
  1245. RpcEndExcept
  1246. return _RetVal;
  1247. }
  1248. void __RPC_STUB ICountDaily_GetManualUploads_Stub(
  1249. IRpcStubBuffer *This,
  1250. IRpcChannelBuffer *_pRpcChannelBuffer,
  1251. PRPC_MESSAGE _pRpcMessage,
  1252. DWORD *_pdwStubPhase)
  1253. {
  1254. LONG _M10 = 0;
  1255. HRESULT _RetVal;
  1256. MIDL_STUB_MESSAGE _StubMsg;
  1257. DATE dDate;
  1258. LONG *iCount;
  1259. NdrStubInitialize(
  1260. _pRpcMessage,
  1261. &_StubMsg,
  1262. &Object_StubDesc,
  1263. _pRpcChannelBuffer);
  1264. dDate = 0;
  1265. ( LONG * )iCount = 0;
  1266. RpcTryFinally
  1267. {
  1268. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1269. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  1270. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1271. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  1272. {
  1273. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1274. }
  1275. dDate = *(( DATE * )_StubMsg.Buffer)++;
  1276. iCount = &_M10;
  1277. *_pdwStubPhase = STUB_CALL_SERVER;
  1278. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetManualUploads(
  1279. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  1280. dDate,
  1281. iCount);
  1282. *_pdwStubPhase = STUB_MARSHAL;
  1283. _StubMsg.BufferLength = 36;
  1284. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1285. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1286. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  1287. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1288. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  1289. }
  1290. RpcFinally
  1291. {
  1292. }
  1293. RpcEndFinally
  1294. _pRpcMessage->BufferLength =
  1295. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  1296. }
  1297. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetAutoUploads_Proxy(
  1298. ICountDaily * This,
  1299. /* [in] */ DATE dDate,
  1300. /* [retval][out] */ LONG *iCount)
  1301. {
  1302. HRESULT _RetVal;
  1303. RPC_MESSAGE _RpcMessage;
  1304. MIDL_STUB_MESSAGE _StubMsg;
  1305. RpcTryExcept
  1306. {
  1307. NdrProxyInitialize(
  1308. ( void * )This,
  1309. ( PRPC_MESSAGE )&_RpcMessage,
  1310. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1311. ( PMIDL_STUB_DESC )&Object_StubDesc,
  1312. 18);
  1313. if(!iCount)
  1314. {
  1315. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1316. }
  1317. RpcTryFinally
  1318. {
  1319. _StubMsg.BufferLength = 16;
  1320. NdrProxyGetBuffer(This, &_StubMsg);
  1321. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1322. *(( DATE * )_StubMsg.Buffer)++ = dDate;
  1323. NdrProxySendReceive(This, &_StubMsg);
  1324. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  1325. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  1326. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1327. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  1328. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1329. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  1330. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1331. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  1332. {
  1333. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1334. }
  1335. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  1336. }
  1337. RpcFinally
  1338. {
  1339. NdrProxyFreeBuffer(This, &_StubMsg);
  1340. }
  1341. RpcEndFinally
  1342. }
  1343. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1344. {
  1345. NdrClearOutParameters(
  1346. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1347. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  1348. ( void * )iCount);
  1349. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1350. }
  1351. RpcEndExcept
  1352. return _RetVal;
  1353. }
  1354. void __RPC_STUB ICountDaily_GetAutoUploads_Stub(
  1355. IRpcStubBuffer *This,
  1356. IRpcChannelBuffer *_pRpcChannelBuffer,
  1357. PRPC_MESSAGE _pRpcMessage,
  1358. DWORD *_pdwStubPhase)
  1359. {
  1360. LONG _M11 = 0;
  1361. HRESULT _RetVal;
  1362. MIDL_STUB_MESSAGE _StubMsg;
  1363. DATE dDate;
  1364. LONG *iCount;
  1365. NdrStubInitialize(
  1366. _pRpcMessage,
  1367. &_StubMsg,
  1368. &Object_StubDesc,
  1369. _pRpcChannelBuffer);
  1370. dDate = 0;
  1371. ( LONG * )iCount = 0;
  1372. RpcTryFinally
  1373. {
  1374. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1375. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
  1376. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1377. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  1378. {
  1379. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1380. }
  1381. dDate = *(( DATE * )_StubMsg.Buffer)++;
  1382. iCount = &_M11;
  1383. *_pdwStubPhase = STUB_CALL_SERVER;
  1384. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetAutoUploads(
  1385. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  1386. dDate,
  1387. iCount);
  1388. *_pdwStubPhase = STUB_MARSHAL;
  1389. _StubMsg.BufferLength = 36;
  1390. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1391. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1392. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  1393. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1394. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  1395. }
  1396. RpcFinally
  1397. {
  1398. }
  1399. RpcEndFinally
  1400. _pRpcMessage->BufferLength =
  1401. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  1402. }
  1403. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ICountDaily_GetTest_Proxy(
  1404. ICountDaily * This,
  1405. /* [in] */ enum ServerLocation eServer,
  1406. /* [in] */ BSTR b_Location,
  1407. /* [in] */ DATE d_Date,
  1408. /* [retval][out] */ LONG *iCount)
  1409. {
  1410. HRESULT _RetVal;
  1411. RPC_MESSAGE _RpcMessage;
  1412. MIDL_STUB_MESSAGE _StubMsg;
  1413. RpcTryExcept
  1414. {
  1415. NdrProxyInitialize(
  1416. ( void * )This,
  1417. ( PRPC_MESSAGE )&_RpcMessage,
  1418. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1419. ( PMIDL_STUB_DESC )&Object_StubDesc,
  1420. 19);
  1421. if(!iCount)
  1422. {
  1423. RpcRaiseException(RPC_X_NULL_REF_POINTER);
  1424. }
  1425. RpcTryFinally
  1426. {
  1427. _StubMsg.BufferLength = 22;
  1428. NdrUserMarshalBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1429. (unsigned char *)&b_Location,
  1430. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52] );
  1431. NdrProxyGetBuffer(This, &_StubMsg);
  1432. NdrSimpleTypeMarshall(
  1433. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1434. ( unsigned char * )&eServer,
  1435. 13);
  1436. NdrUserMarshalMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
  1437. (unsigned char *)&b_Location,
  1438. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52] );
  1439. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1440. *(( DATE * )_StubMsg.Buffer)++ = d_Date;
  1441. NdrProxySendReceive(This, &_StubMsg);
  1442. _StubMsg.BufferStart = (unsigned char *) _RpcMessage.Buffer;
  1443. _StubMsg.BufferEnd = _StubMsg.BufferStart + _RpcMessage.BufferLength;
  1444. if ( (_RpcMessage.DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1445. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  1446. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1447. *iCount = *(( LONG * )_StubMsg.Buffer)++;
  1448. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1449. if(_StubMsg.Buffer + 4 > _StubMsg.BufferEnd)
  1450. {
  1451. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1452. }
  1453. _RetVal = *(( HRESULT * )_StubMsg.Buffer)++;
  1454. }
  1455. RpcFinally
  1456. {
  1457. NdrProxyFreeBuffer(This, &_StubMsg);
  1458. }
  1459. RpcEndFinally
  1460. }
  1461. RpcExcept(_StubMsg.dwStubPhase != PROXY_SENDRECEIVE)
  1462. {
  1463. NdrClearOutParameters(
  1464. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1465. ( PFORMAT_STRING )&__MIDL_TypeFormatString.Format[2],
  1466. ( void * )iCount);
  1467. _RetVal = NdrProxyErrorHandler(RpcExceptionCode());
  1468. }
  1469. RpcEndExcept
  1470. return _RetVal;
  1471. }
  1472. void __RPC_STUB ICountDaily_GetTest_Stub(
  1473. IRpcStubBuffer *This,
  1474. IRpcChannelBuffer *_pRpcChannelBuffer,
  1475. PRPC_MESSAGE _pRpcMessage,
  1476. DWORD *_pdwStubPhase)
  1477. {
  1478. LONG _M12 = 0;
  1479. HRESULT _RetVal;
  1480. MIDL_STUB_MESSAGE _StubMsg;
  1481. void *_p_b_Location;
  1482. BSTR b_Location;
  1483. DATE d_Date;
  1484. enum ServerLocation eServer;
  1485. LONG *iCount;
  1486. NdrStubInitialize(
  1487. _pRpcMessage,
  1488. &_StubMsg,
  1489. &Object_StubDesc,
  1490. _pRpcChannelBuffer);
  1491. eServer = 0;
  1492. _p_b_Location = &b_Location;
  1493. MIDL_memset(
  1494. _p_b_Location,
  1495. 0,
  1496. sizeof( BSTR ));
  1497. d_Date = 0;
  1498. ( LONG * )iCount = 0;
  1499. RpcTryFinally
  1500. {
  1501. if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
  1502. NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[16] );
  1503. NdrSimpleTypeUnmarshall(
  1504. ( PMIDL_STUB_MESSAGE )&_StubMsg,
  1505. ( unsigned char * )&eServer,
  1506. 13);
  1507. NdrUserMarshalUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
  1508. (unsigned char * *)&_p_b_Location,
  1509. (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[52],
  1510. (unsigned char)0 );
  1511. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 7) & ~ 0x7);
  1512. if(_StubMsg.Buffer + 8 > _StubMsg.BufferEnd)
  1513. {
  1514. RpcRaiseException(RPC_X_BAD_STUB_DATA);
  1515. }
  1516. d_Date = *(( DATE * )_StubMsg.Buffer)++;
  1517. iCount = &_M12;
  1518. *_pdwStubPhase = STUB_CALL_SERVER;
  1519. _RetVal = (((ICountDaily*) ((CStdStubBuffer *)This)->pvServerObject)->lpVtbl) -> GetTest(
  1520. (ICountDaily *) ((CStdStubBuffer *)This)->pvServerObject,
  1521. eServer,
  1522. b_Location,
  1523. d_Date,
  1524. iCount);
  1525. *_pdwStubPhase = STUB_MARSHAL;
  1526. _StubMsg.BufferLength = 36;
  1527. NdrStubGetBuffer(This, _pRpcChannelBuffer, &_StubMsg);
  1528. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1529. *(( LONG * )_StubMsg.Buffer)++ = *iCount;
  1530. _StubMsg.Buffer = (unsigned char *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
  1531. *(( HRESULT * )_StubMsg.Buffer)++ = _RetVal;
  1532. }
  1533. RpcFinally
  1534. {
  1535. NdrUserMarshalFree( &_StubMsg,
  1536. (unsigned char *)&b_Location,
  1537. &__MIDL_TypeFormatString.Format[52] );
  1538. }
  1539. RpcEndFinally
  1540. _pRpcMessage->BufferLength =
  1541. (unsigned int)(_StubMsg.Buffer - (unsigned char *)_pRpcMessage->Buffer);
  1542. }
  1543. extern const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ];
  1544. #if !defined(__RPC_WIN32__)
  1545. #error Invalid build platform for this stub.
  1546. #endif
  1547. #if !(TARGET_IS_NT40_OR_LATER)
  1548. #error You need a Windows NT 4.0 or later to run this stub because it uses these features:
  1549. #error [wire_marshal] or [user_marshal] attribute.
  1550. #error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
  1551. #error This app will die there with the RPC_X_WRONG_STUB_VERSION error.
  1552. #endif
  1553. static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
  1554. {
  1555. 0,
  1556. {
  1557. 0x4e, /* FC_IN_PARAM_BASETYPE */
  1558. 0xc, /* FC_DOUBLE */
  1559. /* 2 */
  1560. 0x51, /* FC_OUT_PARAM */
  1561. 0x1, /* x86 stack size = 1 */
  1562. /* 4 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1563. /* 6 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1564. 0x8, /* FC_LONG */
  1565. /* 8 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1566. 0xc, /* FC_DOUBLE */
  1567. /* 10 */
  1568. 0x51, /* FC_OUT_PARAM */
  1569. 0x1, /* x86 stack size = 1 */
  1570. /* 12 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
  1571. /* 14 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1572. 0x8, /* FC_LONG */
  1573. /* 16 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1574. 0xd, /* FC_ENUM16 */
  1575. /* 18 */
  1576. 0x4d, /* FC_IN_PARAM */
  1577. 0x1, /* x86 stack size = 1 */
  1578. /* 20 */ NdrFcShort( 0x34 ), /* Type Offset=52 */
  1579. /* 22 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
  1580. 0xc, /* FC_DOUBLE */
  1581. /* 24 */
  1582. 0x51, /* FC_OUT_PARAM */
  1583. 0x1, /* x86 stack size = 1 */
  1584. /* 26 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
  1585. /* 28 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
  1586. 0x8, /* FC_LONG */
  1587. 0x0
  1588. }
  1589. };
  1590. static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
  1591. {
  1592. 0,
  1593. {
  1594. NdrFcShort( 0x0 ), /* 0 */
  1595. /* 2 */
  1596. 0x11, 0xc, /* FC_RP [alloced_on_stack] [simple_pointer] */
  1597. /* 4 */ 0x8, /* FC_LONG */
  1598. 0x5c, /* FC_PAD */
  1599. /* 6 */
  1600. 0x11, 0x14, /* FC_RP [alloced_on_stack] [pointer_deref] */
  1601. /* 8 */ NdrFcShort( 0x2 ), /* Offset= 2 (10) */
  1602. /* 10 */
  1603. 0x2f, /* FC_IP */
  1604. 0x5a, /* FC_CONSTANT_IID */
  1605. /* 12 */ NdrFcLong( 0x20400 ), /* 132096 */
  1606. /* 16 */ NdrFcShort( 0x0 ), /* 0 */
  1607. /* 18 */ NdrFcShort( 0x0 ), /* 0 */
  1608. /* 20 */ 0xc0, /* 192 */
  1609. 0x0, /* 0 */
  1610. /* 22 */ 0x0, /* 0 */
  1611. 0x0, /* 0 */
  1612. /* 24 */ 0x0, /* 0 */
  1613. 0x0, /* 0 */
  1614. /* 26 */ 0x0, /* 0 */
  1615. 0x46, /* 70 */
  1616. /* 28 */
  1617. 0x12, 0x0, /* FC_UP */
  1618. /* 30 */ NdrFcShort( 0xc ), /* Offset= 12 (42) */
  1619. /* 32 */
  1620. 0x1b, /* FC_CARRAY */
  1621. 0x1, /* 1 */
  1622. /* 34 */ NdrFcShort( 0x2 ), /* 2 */
  1623. /* 36 */ 0x9, /* Corr desc: FC_ULONG */
  1624. 0x0, /* */
  1625. /* 38 */ NdrFcShort( 0xfffc ), /* -4 */
  1626. /* 40 */ 0x6, /* FC_SHORT */
  1627. 0x5b, /* FC_END */
  1628. /* 42 */
  1629. 0x17, /* FC_CSTRUCT */
  1630. 0x3, /* 3 */
  1631. /* 44 */ NdrFcShort( 0x8 ), /* 8 */
  1632. /* 46 */ NdrFcShort( 0xfffffff2 ), /* Offset= -14 (32) */
  1633. /* 48 */ 0x8, /* FC_LONG */
  1634. 0x8, /* FC_LONG */
  1635. /* 50 */ 0x5c, /* FC_PAD */
  1636. 0x5b, /* FC_END */
  1637. /* 52 */ 0xb4, /* FC_USER_MARSHAL */
  1638. 0x83, /* 131 */
  1639. /* 54 */ NdrFcShort( 0x0 ), /* 0 */
  1640. /* 56 */ NdrFcShort( 0x4 ), /* 4 */
  1641. /* 58 */ NdrFcShort( 0x0 ), /* 0 */
  1642. /* 60 */ NdrFcShort( 0xffffffe0 ), /* Offset= -32 (28) */
  1643. 0x0
  1644. }
  1645. };
  1646. static const USER_MARSHAL_ROUTINE_QUADRUPLE UserMarshalRoutines[ WIRE_MARSHAL_TABLE_SIZE ] =
  1647. {
  1648. {
  1649. BSTR_UserSize
  1650. ,BSTR_UserMarshal
  1651. ,BSTR_UserUnmarshal
  1652. ,BSTR_UserFree
  1653. }
  1654. };
  1655. /* Standard interface: __MIDL_itf__OCAData_0000, ver. 0.0,
  1656. GUID={0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}} */
  1657. /* Object interface: IUnknown, ver. 0.0,
  1658. GUID={0x00000000,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  1659. /* Object interface: IDispatch, ver. 0.0,
  1660. GUID={0x00020400,0x0000,0x0000,{0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x46}} */
  1661. /* Object interface: ICountDaily, ver. 0.0,
  1662. GUID={0xCEF1A8A8,0xF31A,0x4C4B,{0x96,0xEB,0xEF,0x31,0xCF,0xDB,0x40,0xF5}} */
  1663. #pragma code_seg(".orpc")
  1664. static const unsigned short ICountDaily_FormatStringOffsetTable[] =
  1665. {
  1666. (unsigned short) -1,
  1667. (unsigned short) -1,
  1668. (unsigned short) -1,
  1669. (unsigned short) -1,
  1670. 0,
  1671. 0,
  1672. 8,
  1673. 16,
  1674. 0,
  1675. 0,
  1676. 0,
  1677. 0,
  1678. 16,
  1679. 0,
  1680. 0,
  1681. 0,
  1682. 16
  1683. };
  1684. static const MIDL_STUBLESS_PROXY_INFO ICountDaily_ProxyInfo =
  1685. {
  1686. &Object_StubDesc,
  1687. __MIDL_ProcFormatString.Format,
  1688. &ICountDaily_FormatStringOffsetTable[-3],
  1689. 0,
  1690. 0,
  1691. 0
  1692. };
  1693. static const MIDL_SERVER_INFO ICountDaily_ServerInfo =
  1694. {
  1695. &Object_StubDesc,
  1696. 0,
  1697. __MIDL_ProcFormatString.Format,
  1698. &ICountDaily_FormatStringOffsetTable[-3],
  1699. 0,
  1700. 0,
  1701. 0,
  1702. 0};
  1703. CINTERFACE_PROXY_VTABLE(20) _ICountDailyProxyVtbl =
  1704. {
  1705. &IID_ICountDaily,
  1706. IUnknown_QueryInterface_Proxy,
  1707. IUnknown_AddRef_Proxy,
  1708. IUnknown_Release_Proxy ,
  1709. 0 /* IDispatch_GetTypeInfoCount_Proxy */ ,
  1710. 0 /* IDispatch_GetTypeInfo_Proxy */ ,
  1711. 0 /* IDispatch_GetIDsOfNames_Proxy */ ,
  1712. 0 /* IDispatch_Invoke_Proxy */ ,
  1713. ICountDaily_GetDailyCount_Proxy ,
  1714. ICountDaily_GetDailyCountADO_Proxy ,
  1715. ICountDaily_ReportDailyBuckets_Proxy ,
  1716. ICountDaily_GetFileCount_Proxy ,
  1717. ICountDaily_GetDailyAnon_Proxy ,
  1718. ICountDaily_GetSpecificSolutions_Proxy ,
  1719. ICountDaily_GetGeneralSolutions_Proxy ,
  1720. ICountDaily_GetStopCodeSolutions_Proxy ,
  1721. ICountDaily_GetFileMiniCount_Proxy ,
  1722. ICountDaily_GetIncompleteUploads_Proxy ,
  1723. ICountDaily_GetManualUploads_Proxy ,
  1724. ICountDaily_GetAutoUploads_Proxy ,
  1725. ICountDaily_GetTest_Proxy
  1726. };
  1727. static const PRPC_STUB_FUNCTION ICountDaily_table[] =
  1728. {
  1729. STUB_FORWARDING_FUNCTION,
  1730. STUB_FORWARDING_FUNCTION,
  1731. STUB_FORWARDING_FUNCTION,
  1732. STUB_FORWARDING_FUNCTION,
  1733. ICountDaily_GetDailyCount_Stub,
  1734. ICountDaily_GetDailyCountADO_Stub,
  1735. ICountDaily_ReportDailyBuckets_Stub,
  1736. ICountDaily_GetFileCount_Stub,
  1737. ICountDaily_GetDailyAnon_Stub,
  1738. ICountDaily_GetSpecificSolutions_Stub,
  1739. ICountDaily_GetGeneralSolutions_Stub,
  1740. ICountDaily_GetStopCodeSolutions_Stub,
  1741. ICountDaily_GetFileMiniCount_Stub,
  1742. ICountDaily_GetIncompleteUploads_Stub,
  1743. ICountDaily_GetManualUploads_Stub,
  1744. ICountDaily_GetAutoUploads_Stub,
  1745. ICountDaily_GetTest_Stub
  1746. };
  1747. CInterfaceStubVtbl _ICountDailyStubVtbl =
  1748. {
  1749. &IID_ICountDaily,
  1750. &ICountDaily_ServerInfo,
  1751. 20,
  1752. &ICountDaily_table[-3],
  1753. CStdStubBuffer_DELEGATING_METHODS
  1754. };
  1755. static const MIDL_STUB_DESC Object_StubDesc =
  1756. {
  1757. 0,
  1758. NdrOleAllocate,
  1759. NdrOleFree,
  1760. 0,
  1761. 0,
  1762. 0,
  1763. 0,
  1764. 0,
  1765. __MIDL_TypeFormatString.Format,
  1766. 1, /* -error bounds_check flag */
  1767. 0x20000, /* Ndr library version */
  1768. 0,
  1769. 0x600015b, /* MIDL Version 6.0.347 */
  1770. 0,
  1771. UserMarshalRoutines,
  1772. 0, /* notify & notify_flag routine table */
  1773. 0x1, /* MIDL flag */
  1774. 0, /* cs routines */
  1775. 0, /* proxy/server info */
  1776. 0 /* Reserved5 */
  1777. };
  1778. const CInterfaceProxyVtbl * __OCAData_ProxyVtblList[] =
  1779. {
  1780. ( CInterfaceProxyVtbl *) &_ICountDailyProxyVtbl,
  1781. 0
  1782. };
  1783. const CInterfaceStubVtbl * __OCAData_StubVtblList[] =
  1784. {
  1785. ( CInterfaceStubVtbl *) &_ICountDailyStubVtbl,
  1786. 0
  1787. };
  1788. PCInterfaceName const __OCAData_InterfaceNamesList[] =
  1789. {
  1790. "ICountDaily",
  1791. 0
  1792. };
  1793. const IID * __OCAData_BaseIIDList[] =
  1794. {
  1795. &IID_IDispatch,
  1796. 0
  1797. };
  1798. #define __OCAData_CHECK_IID(n) IID_GENERIC_CHECK_IID( __OCAData, pIID, n)
  1799. int __stdcall __OCAData_IID_Lookup( const IID * pIID, int * pIndex )
  1800. {
  1801. if(!__OCAData_CHECK_IID(0))
  1802. {
  1803. *pIndex = 0;
  1804. return 1;
  1805. }
  1806. return 0;
  1807. }
  1808. const ExtendedProxyFileInfo _OCAData_ProxyFileInfo =
  1809. {
  1810. (PCInterfaceProxyVtblList *) & __OCAData_ProxyVtblList,
  1811. (PCInterfaceStubVtblList *) & __OCAData_StubVtblList,
  1812. (const PCInterfaceName * ) & __OCAData_InterfaceNamesList,
  1813. (const IID ** ) & __OCAData_BaseIIDList,
  1814. & __OCAData_IID_Lookup,
  1815. 1,
  1816. 1,
  1817. 0, /* table of [async_uuid] interfaces */
  1818. 0, /* Filler1 */
  1819. 0, /* Filler2 */
  1820. 0 /* Filler3 */
  1821. };
  1822. #endif /* !defined(_M_IA64) && !defined(_M_AMD64)*/