The Winamp Remote Control suite
a remote control client and plugin for Winamp 2.x, 5.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
winampinterface_s.c
Go to the documentation of this file.
1 /* this ALWAYS GENERATED file contains the RPC server stubs */
2 
3 
4 /* File created by MIDL compiler version 5.01.0164 */
5 /* at Sun Jul 28 17:27:21 2013
6  */
7 /* Compiler settings for winampinterface.idl:
8  Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
9  error checks: stub_data
10 */
11 //@@MIDL_FILE_HEADING( )
12 
13 #include <string.h>
14 #include "winampinterface.h"
15 
16 #define TYPE_FORMAT_STRING_SIZE 55
17 #define PROC_FORMAT_STRING_SIZE 91
18 
19 typedef struct _MIDL_TYPE_FORMAT_STRING
20  {
21  short Pad;
22  unsigned char Format[ TYPE_FORMAT_STRING_SIZE ];
24 
25 typedef struct _MIDL_PROC_FORMAT_STRING
26  {
27  short Pad;
28  unsigned char Format[ PROC_FORMAT_STRING_SIZE ];
30 
33 
34 /* Standard interface: winamp, ver. 1.0,
35  GUID={0xDBA14E47,0xF2F4,0x11D3,{0x9C,0xCE,0x90,0xA8,0xEF,0x7A,0xA9,0x61}} */
36 
37 
38 extern RPC_DISPATCH_TABLE winamp_v1_0_DispatchTable;
39 
40 static const RPC_SERVER_INTERFACE winamp___RpcServerInterface =
41  {
42  sizeof(RPC_SERVER_INTERFACE),
43  {{0xDBA14E47,0xF2F4,0x11D3,{0x9C,0xCE,0x90,0xA8,0xEF,0x7A,0xA9,0x61}},{1,0}},
44  {{0x8A885D04,0x1CEB,0x11C9,{0x9F,0xE8,0x08,0x00,0x2B,0x10,0x48,0x60}},{2,0}},
46  0,
47  0,
48  0,
49  0,
50  0
51  };
52 RPC_IF_HANDLE winamp_v1_0_s_ifspec = (RPC_IF_HANDLE)& winamp___RpcServerInterface;
53 
54 extern const MIDL_STUB_DESC winamp_StubDesc;
55 
56 void __RPC_STUB
58  PRPC_MESSAGE _pRpcMessage )
59 {
60  MIDL_STUB_MESSAGE _StubMsg;
61  unsigned char __RPC_FAR *pszString;
62  RPC_STATUS _Status;
63 
64  ((void)(_Status));
65  NdrServerInitializeNew(
66  _pRpcMessage,
67  &_StubMsg,
69 
70  ( unsigned char __RPC_FAR * )pszString = 0;
71  RpcTryFinally
72  {
73  RpcTryExcept
74  {
75  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
76  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[0] );
77 
78  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
79  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
80  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
81  (unsigned char)0 );
82 
83  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
84  {
85  RpcRaiseException(RPC_X_BAD_STUB_DATA);
86  }
87  }
88  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
89  {
90  RpcRaiseException(RPC_X_BAD_STUB_DATA);
91  }
92  RpcEndExcept
93 
94  WAMessageProc(pszString);
95 
96  }
97  RpcFinally
98  {
99  }
100  RpcEndFinally
101  _pRpcMessage->BufferLength =
102  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
103 
104 }
105 
106 void __RPC_STUB
108  PRPC_MESSAGE _pRpcMessage )
109 {
110  MIDL_STUB_MESSAGE _StubMsg;
111  long command;
112  unsigned char __RPC_FAR *pszString;
113  RPC_STATUS _Status;
114 
115  ((void)(_Status));
116  NdrServerInitializeNew(
117  _pRpcMessage,
118  &_StubMsg,
119  &winamp_StubDesc);
120 
121  ( unsigned char __RPC_FAR * )pszString = 0;
122  RpcTryFinally
123  {
124  RpcTryExcept
125  {
126  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
127  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[6] );
128 
129  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
130  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
131  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
132  (unsigned char)0 );
133 
134  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
135  command = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
136 
137  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
138  {
139  RpcRaiseException(RPC_X_BAD_STUB_DATA);
140  }
141  }
142  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
143  {
144  RpcRaiseException(RPC_X_BAD_STUB_DATA);
145  }
146  RpcEndExcept
147 
148  WAExecuteMessage(pszString,command);
149 
150  }
151  RpcFinally
152  {
153  }
154  RpcEndFinally
155  _pRpcMessage->BufferLength =
156  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
157 
158 }
159 
160 void __RPC_STUB
162  PRPC_MESSAGE _pRpcMessage )
163 {
164  MIDL_STUB_MESSAGE _StubMsg;
165  long command;
166  unsigned char __RPC_FAR *pszParam;
167  unsigned char __RPC_FAR *pszString;
168  RPC_STATUS _Status;
169 
170  ((void)(_Status));
171  NdrServerInitializeNew(
172  _pRpcMessage,
173  &_StubMsg,
174  &winamp_StubDesc);
175 
176  ( unsigned char __RPC_FAR * )pszString = 0;
177  ( unsigned char __RPC_FAR * )pszParam = 0;
178  RpcTryFinally
179  {
180  RpcTryExcept
181  {
182  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
183  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[14] );
184 
185  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
186  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
187  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
188  (unsigned char)0 );
189 
190  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
191  (unsigned char __RPC_FAR * __RPC_FAR *)&pszParam,
192  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
193  (unsigned char)0 );
194 
195  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
196  command = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
197 
198  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
199  {
200  RpcRaiseException(RPC_X_BAD_STUB_DATA);
201  }
202  }
203  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
204  {
205  RpcRaiseException(RPC_X_BAD_STUB_DATA);
206  }
207  RpcEndExcept
208 
210  pszString,
211  pszParam,
212  command);
213 
214  }
215  RpcFinally
216  {
217  }
218  RpcEndFinally
219  _pRpcMessage->BufferLength =
220  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
221 
222 }
223 
224 void __RPC_STUB
226  PRPC_MESSAGE _pRpcMessage )
227 {
228  long _RetVal;
229  MIDL_STUB_MESSAGE _StubMsg;
230  long command;
231  long data;
232  unsigned char __RPC_FAR *pszString;
233  RPC_STATUS _Status;
234 
235  ((void)(_Status));
236  NdrServerInitializeNew(
237  _pRpcMessage,
238  &_StubMsg,
239  &winamp_StubDesc);
240 
241  ( unsigned char __RPC_FAR * )pszString = 0;
242  RpcTryFinally
243  {
244  RpcTryExcept
245  {
246  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
247  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[26] );
248 
249  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
250  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
251  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
252  (unsigned char)0 );
253 
254  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
255  command = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
256 
257  data = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
258 
259  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
260  {
261  RpcRaiseException(RPC_X_BAD_STUB_DATA);
262  }
263  }
264  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
265  {
266  RpcRaiseException(RPC_X_BAD_STUB_DATA);
267  }
268  RpcEndExcept
269 
270  _RetVal = WAIntegerResult(
271  pszString,
272  command,
273  data);
274 
275  _StubMsg.BufferLength = 4U;
276  _StubMsg.BufferLength += 16;
277 
278  _pRpcMessage->BufferLength = _StubMsg.BufferLength;
279 
280  _Status = I_RpcGetBuffer( _pRpcMessage );
281  if ( _Status )
282  RpcRaiseException( _Status );
283 
284  _StubMsg.Buffer = (unsigned char __RPC_FAR *) _pRpcMessage->Buffer;
285 
286  *(( long __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
287 
288  }
289  RpcFinally
290  {
291  }
292  RpcEndFinally
293  _pRpcMessage->BufferLength =
294  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
295 
296 }
297 
298 void __RPC_STUB
300  PRPC_MESSAGE _pRpcMessage )
301 {
302  long _RetVal;
303  MIDL_STUB_MESSAGE _StubMsg;
304  long command;
305  long data;
306  unsigned char ( __RPC_FAR *pszString )[ 260 ];
307  RPC_STATUS _Status;
308 
309  ((void)(_Status));
310  NdrServerInitializeNew(
311  _pRpcMessage,
312  &_StubMsg,
313  &winamp_StubDesc);
314 
315  pszString = 0;
316  RpcTryFinally
317  {
318  RpcTryExcept
319  {
320  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
321  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[36] );
322 
323  NdrNonConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
324  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
325  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6],
326  (unsigned char)0 );
327 
328  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
329  command = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
330 
331  data = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
332 
333  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
334  {
335  RpcRaiseException(RPC_X_BAD_STUB_DATA);
336  }
337  }
338  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
339  {
340  RpcRaiseException(RPC_X_BAD_STUB_DATA);
341  }
342  RpcEndExcept
343 
344  _RetVal = WAStringResult(
345  *pszString,
346  command,
347  data);
348 
349  _StubMsg.BufferLength = 268U + 11U;
350  _pRpcMessage->BufferLength = _StubMsg.BufferLength;
351 
352  _Status = I_RpcGetBuffer( _pRpcMessage );
353  if ( _Status )
354  RpcRaiseException( _Status );
355 
356  _StubMsg.Buffer = (unsigned char __RPC_FAR *) _pRpcMessage->Buffer;
357 
358  NdrNonConformantStringMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
359  (unsigned char __RPC_FAR *)*pszString,
360  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[6] );
361 
362  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
363  *(( long __RPC_FAR * )_StubMsg.Buffer)++ = _RetVal;
364 
365  }
366  RpcFinally
367  {
368  if ( pszString )
369  _StubMsg.pfnFree( pszString );
370 
371  }
372  RpcEndFinally
373  _pRpcMessage->BufferLength =
374  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
375 
376 }
377 
378 void __RPC_STUB
380  PRPC_MESSAGE _pRpcMessage )
381 {
382  MIDL_STUB_MESSAGE _StubMsg;
383  RPC_STATUS _Status;
384 
385  ((void)(_Status));
386  NdrServerInitializeNew(
387  _pRpcMessage,
388  &_StubMsg,
389  &winamp_StubDesc);
390 
391  RpcTryFinally
392  {
393  RpcTryExcept
394  {
395  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
396  {
397  RpcRaiseException(RPC_X_BAD_STUB_DATA);
398  }
399  }
400  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
401  {
402  RpcRaiseException(RPC_X_BAD_STUB_DATA);
403  }
404  RpcEndExcept
405 
406  WAShutdown();
407 
408  }
409  RpcFinally
410  {
411  }
412  RpcEndFinally
413  _pRpcMessage->BufferLength =
414  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
415 
416 }
417 
418 void __RPC_STUB
420  PRPC_MESSAGE _pRpcMessage )
421 {
422  byte ( __RPC_FAR *Buffer )[ ];
423  unsigned long BufferLength;
424  MIDL_STUB_MESSAGE _StubMsg;
425  long command;
426  unsigned char __RPC_FAR *pszString;
427  RPC_STATUS _Status;
428 
429  ((void)(_Status));
430  NdrServerInitializeNew(
431  _pRpcMessage,
432  &_StubMsg,
433  &winamp_StubDesc);
434 
435  ( unsigned char __RPC_FAR * )pszString = 0;
436  Buffer = 0;
437  RpcTryFinally
438  {
439  RpcTryExcept
440  {
441  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
442  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[48] );
443 
444  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
445  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
446  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
447  (unsigned char)0 );
448 
449  NdrConformantArrayUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
450  (unsigned char __RPC_FAR * __RPC_FAR *)&Buffer,
451  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[10],
452  (unsigned char)0 );
453 
454  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
455  BufferLength = *(( unsigned long __RPC_FAR * )_StubMsg.Buffer)++;
456 
457  command = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
458 
459  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
460  {
461  RpcRaiseException(RPC_X_BAD_STUB_DATA);
462  }
463  }
464  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
465  {
466  RpcRaiseException(RPC_X_BAD_STUB_DATA);
467  }
468  RpcEndExcept
469 
471  pszString,
472  *Buffer,
473  BufferLength,
474  command);
475 
476  }
477  RpcFinally
478  {
479  }
480  RpcEndFinally
481  _pRpcMessage->BufferLength =
482  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
483 
484 }
485 
486 void __RPC_STUB
488  PRPC_MESSAGE _pRpcMessage )
489 {
490  MIDL_STUB_MESSAGE _StubMsg;
491  BUFFER _pBufferM;
492  long command;
493  BUFFER __RPC_FAR *pBuffer;
494  unsigned char __RPC_FAR *pszString;
495  RPC_STATUS _Status;
496 
497  ((void)(_Status));
498  NdrServerInitializeNew(
499  _pRpcMessage,
500  &_StubMsg,
501  &winamp_StubDesc);
502 
503  ( unsigned char __RPC_FAR * )pszString = 0;
504  ( BUFFER __RPC_FAR * )pBuffer = 0;
505  RpcTryFinally
506  {
507  RpcTryExcept
508  {
509  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
510  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[62] );
511 
512  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
513  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
514  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
515  (unsigned char)0 );
516 
517  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
518  command = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
519 
520  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
521  {
522  RpcRaiseException(RPC_X_BAD_STUB_DATA);
523  }
524  }
525  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
526  {
527  RpcRaiseException(RPC_X_BAD_STUB_DATA);
528  }
529  RpcEndExcept
530  pBuffer = &_pBufferM;
531  pBuffer -> Buffer = 0;
532 
534  pszString,
535  pBuffer,
536  command);
537 
538  _StubMsg.BufferLength = 0U;
539  NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
540  (unsigned char __RPC_FAR *)pBuffer,
541  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
542 
543  _pRpcMessage->BufferLength = _StubMsg.BufferLength;
544 
545  _Status = I_RpcGetBuffer( _pRpcMessage );
546  if ( _Status )
547  RpcRaiseException( _Status );
548 
549  _StubMsg.Buffer = (unsigned char __RPC_FAR *) _pRpcMessage->Buffer;
550 
551  NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
552  (unsigned char __RPC_FAR *)pBuffer,
553  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
554 
555  }
556  RpcFinally
557  {
558  NdrPointerFree( &_StubMsg,
559  (unsigned char __RPC_FAR *)pBuffer,
560  &__MIDL_TypeFormatString.Format[20] );
561 
562  }
563  RpcEndFinally
564  _pRpcMessage->BufferLength =
565  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
566 
567 }
568 
569 void __RPC_STUB
571  PRPC_MESSAGE _pRpcMessage )
572 {
573  MIDL_STUB_MESSAGE _StubMsg;
574  BUFFER _pBufferM;
575  long datacommand;
576  long datadata;
577  BUFFER __RPC_FAR *pBuffer;
578  unsigned char __RPC_FAR *pszString;
579  long stringcommand;
580  RPC_STATUS _Status;
581 
582  ((void)(_Status));
583  NdrServerInitializeNew(
584  _pRpcMessage,
585  &_StubMsg,
586  &winamp_StubDesc);
587 
588  ( unsigned char __RPC_FAR * )pszString = 0;
589  ( BUFFER __RPC_FAR * )pBuffer = 0;
590  RpcTryFinally
591  {
592  RpcTryExcept
593  {
594  if ( (_pRpcMessage->DataRepresentation & 0X0000FFFFUL) != NDR_LOCAL_DATA_REPRESENTATION )
595  NdrConvert( (PMIDL_STUB_MESSAGE) &_StubMsg, (PFORMAT_STRING) &__MIDL_ProcFormatString.Format[74] );
596 
597  NdrConformantStringUnmarshall( (PMIDL_STUB_MESSAGE) &_StubMsg,
598  (unsigned char __RPC_FAR * __RPC_FAR *)&pszString,
599  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[4],
600  (unsigned char)0 );
601 
602  _StubMsg.Buffer = (unsigned char __RPC_FAR *)(((long)_StubMsg.Buffer + 3) & ~ 0x3);
603  stringcommand = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
604 
605  datacommand = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
606 
607  datadata = *(( long __RPC_FAR * )_StubMsg.Buffer)++;
608 
609  if(_StubMsg.Buffer > _StubMsg.BufferEnd)
610  {
611  RpcRaiseException(RPC_X_BAD_STUB_DATA);
612  }
613  }
614  RpcExcept( RPC_BAD_STUB_DATA_EXCEPTION_FILTER )
615  {
616  RpcRaiseException(RPC_X_BAD_STUB_DATA);
617  }
618  RpcEndExcept
619  pBuffer = &_pBufferM;
620  pBuffer -> Buffer = 0;
621 
623  pszString,
624  pBuffer,
625  stringcommand,
626  datacommand,
627  datadata);
628 
629  _StubMsg.BufferLength = 0U;
630  NdrSimpleStructBufferSize( (PMIDL_STUB_MESSAGE) &_StubMsg,
631  (unsigned char __RPC_FAR *)pBuffer,
632  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
633 
634  _pRpcMessage->BufferLength = _StubMsg.BufferLength;
635 
636  _Status = I_RpcGetBuffer( _pRpcMessage );
637  if ( _Status )
638  RpcRaiseException( _Status );
639 
640  _StubMsg.Buffer = (unsigned char __RPC_FAR *) _pRpcMessage->Buffer;
641 
642  NdrSimpleStructMarshall( (PMIDL_STUB_MESSAGE)& _StubMsg,
643  (unsigned char __RPC_FAR *)pBuffer,
644  (PFORMAT_STRING) &__MIDL_TypeFormatString.Format[34] );
645 
646  }
647  RpcFinally
648  {
649  NdrPointerFree( &_StubMsg,
650  (unsigned char __RPC_FAR *)pBuffer,
651  &__MIDL_TypeFormatString.Format[20] );
652 
653  }
654  RpcEndFinally
655  _pRpcMessage->BufferLength =
656  (unsigned int)((long)_StubMsg.Buffer - (long)_pRpcMessage->Buffer);
657 
658 }
659 
660 
661 static const MIDL_STUB_DESC winamp_StubDesc =
662  {
663  (void __RPC_FAR *)& winamp___RpcServerInterface,
666  0,
667  0,
668  0,
669  0,
670  0,
671  __MIDL_TypeFormatString.Format,
672  0, /* -error bounds_check flag */
673  0x10001, /* Ndr library version */
674  0,
675  0x50100a4, /* MIDL Version 5.1.164 */
676  0,
677  0,
678  0, /* notify & notify_flag routine table */
679  1, /* Flags */
680  0, /* Reserved3 */
681  0, /* Reserved4 */
682  0 /* Reserved5 */
683  };
684 
685 static RPC_DISPATCH_FUNCTION winamp_table[] =
686  {
696  0
697  };
698 RPC_DISPATCH_TABLE winamp_v1_0_DispatchTable =
699  {
700  9,
702  };
703 
704 #if !defined(__RPC_WIN32__)
705 #error Invalid build platform for this stub.
706 #endif
707 
708 static const MIDL_PROC_FORMAT_STRING __MIDL_ProcFormatString =
709  {
710  0,
711  {
712 
713  0x4d, /* FC_IN_PARAM */
714 #ifndef _ALPHA_
715  0x1, /* x86, MIPS & PPC Stack size = 1 */
716 #else
717  0x2, /* Alpha Stack size = 2 */
718 #endif
719 /* 2 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
720 /* 4 */ 0x5b, /* FC_END */
721  0x5c, /* FC_PAD */
722 /* 6 */
723  0x4d, /* FC_IN_PARAM */
724 #ifndef _ALPHA_
725  0x1, /* x86, MIPS & PPC Stack size = 1 */
726 #else
727  0x2, /* Alpha Stack size = 2 */
728 #endif
729 /* 8 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
730 /* 10 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
731  0x8, /* FC_LONG */
732 /* 12 */ 0x5b, /* FC_END */
733  0x5c, /* FC_PAD */
734 /* 14 */
735  0x4d, /* FC_IN_PARAM */
736 #ifndef _ALPHA_
737  0x1, /* x86, MIPS & PPC Stack size = 1 */
738 #else
739  0x2, /* Alpha Stack size = 2 */
740 #endif
741 /* 16 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
742 /* 18 */
743  0x4d, /* FC_IN_PARAM */
744 #ifndef _ALPHA_
745  0x1, /* x86, MIPS & PPC Stack size = 1 */
746 #else
747  0x2, /* Alpha Stack size = 2 */
748 #endif
749 /* 20 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
750 /* 22 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
751  0x8, /* FC_LONG */
752 /* 24 */ 0x5b, /* FC_END */
753  0x5c, /* FC_PAD */
754 /* 26 */
755  0x4d, /* FC_IN_PARAM */
756 #ifndef _ALPHA_
757  0x1, /* x86, MIPS & PPC Stack size = 1 */
758 #else
759  0x2, /* Alpha Stack size = 2 */
760 #endif
761 /* 28 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
762 /* 30 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
763  0x8, /* FC_LONG */
764 /* 32 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
765  0x8, /* FC_LONG */
766 /* 34 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
767  0x8, /* FC_LONG */
768 /* 36 */
769  0x50, /* FC_IN_OUT_PARAM */
770 #ifndef _ALPHA_
771  0x1, /* x86, MIPS & PPC Stack size = 1 */
772 #else
773  0x2, /* Alpha Stack size = 2 */
774 #endif
775 /* 38 */ NdrFcShort( 0x6 ), /* Type Offset=6 */
776 /* 40 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
777  0x8, /* FC_LONG */
778 /* 42 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
779  0x8, /* FC_LONG */
780 /* 44 */ 0x53, /* FC_RETURN_PARAM_BASETYPE */
781  0x8, /* FC_LONG */
782 /* 46 */ 0x5b, /* FC_END */
783  0x5c, /* FC_PAD */
784 /* 48 */
785  0x4d, /* FC_IN_PARAM */
786 #ifndef _ALPHA_
787  0x1, /* x86, MIPS & PPC Stack size = 1 */
788 #else
789  0x2, /* Alpha Stack size = 2 */
790 #endif
791 /* 50 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
792 /* 52 */
793  0x4d, /* FC_IN_PARAM */
794 #ifndef _ALPHA_
795  0x1, /* x86, MIPS & PPC Stack size = 1 */
796 #else
797  0x2, /* Alpha Stack size = 2 */
798 #endif
799 /* 54 */ NdrFcShort( 0xa ), /* Type Offset=10 */
800 /* 56 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
801  0x8, /* FC_LONG */
802 /* 58 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
803  0x8, /* FC_LONG */
804 /* 60 */ 0x5b, /* FC_END */
805  0x5c, /* FC_PAD */
806 /* 62 */
807  0x4d, /* FC_IN_PARAM */
808 #ifndef _ALPHA_
809  0x1, /* x86, MIPS & PPC Stack size = 1 */
810 #else
811  0x2, /* Alpha Stack size = 2 */
812 #endif
813 /* 64 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
814 /* 66 */
815  0x51, /* FC_OUT_PARAM */
816 #ifndef _ALPHA_
817  0x1, /* x86, MIPS & PPC Stack size = 1 */
818 #else
819  0x2, /* Alpha Stack size = 2 */
820 #endif
821 /* 68 */ NdrFcShort( 0x14 ), /* Type Offset=20 */
822 /* 70 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
823  0x8, /* FC_LONG */
824 /* 72 */ 0x5b, /* FC_END */
825  0x5c, /* FC_PAD */
826 /* 74 */
827  0x4d, /* FC_IN_PARAM */
828 #ifndef _ALPHA_
829  0x1, /* x86, MIPS & PPC Stack size = 1 */
830 #else
831  0x2, /* Alpha Stack size = 2 */
832 #endif
833 /* 76 */ NdrFcShort( 0x2 ), /* Type Offset=2 */
834 /* 78 */
835  0x51, /* FC_OUT_PARAM */
836 #ifndef _ALPHA_
837  0x1, /* x86, MIPS & PPC Stack size = 1 */
838 #else
839  0x2, /* Alpha Stack size = 2 */
840 #endif
841 /* 80 */ NdrFcShort( 0x14 ), /* Type Offset=20 */
842 /* 82 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
843  0x8, /* FC_LONG */
844 /* 84 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
845  0x8, /* FC_LONG */
846 /* 86 */ 0x4e, /* FC_IN_PARAM_BASETYPE */
847  0x8, /* FC_LONG */
848 /* 88 */ 0x5b, /* FC_END */
849  0x5c, /* FC_PAD */
850 
851  0x0
852  }
853  };
854 
855 static const MIDL_TYPE_FORMAT_STRING __MIDL_TypeFormatString =
856  {
857  0,
858  {
859  NdrFcShort( 0x0 ), /* 0 */
860 /* 2 */
861  0x11, 0x8, /* FC_RP [simple_pointer] */
862 /* 4 */
863  0x22, /* FC_C_CSTRING */
864  0x5c, /* FC_PAD */
865 /* 6 */
866  0x26, /* FC_CSTRING */
867  0x5c, /* FC_PAD */
868 /* 8 */ NdrFcShort( 0x104 ), /* 260 */
869 /* 10 */
870  0x1b, /* FC_CARRAY */
871  0x0, /* 0 */
872 /* 12 */ NdrFcShort( 0x1 ), /* 1 */
873 /* 14 */ 0x29, /* Corr desc: parameter, FC_ULONG */
874  0x0, /* */
875 #ifndef _ALPHA_
876 /* 16 */ NdrFcShort( 0x8 ), /* x86, MIPS, PPC Stack size/offset = 8 */
877 #else
878  NdrFcShort( 0x10 ), /* Alpha Stack size/offset = 16 */
879 #endif
880 /* 18 */ 0x1, /* FC_BYTE */
881  0x5b, /* FC_END */
882 /* 20 */
883  0x11, 0x4, /* FC_RP [alloced_on_stack] */
884 /* 22 */ NdrFcShort( 0xc ), /* Offset= 12 (34) */
885 /* 24 */
886  0x1b, /* FC_CARRAY */
887  0x0, /* 0 */
888 /* 26 */ NdrFcShort( 0x1 ), /* 1 */
889 /* 28 */ 0x19, /* Corr desc: field pointer, FC_ULONG */
890  0x0, /* */
891 /* 30 */ NdrFcShort( 0x0 ), /* 0 */
892 /* 32 */ 0x1, /* FC_BYTE */
893  0x5b, /* FC_END */
894 /* 34 */
895  0x16, /* FC_PSTRUCT */
896  0x3, /* 3 */
897 /* 36 */ NdrFcShort( 0x8 ), /* 8 */
898 /* 38 */
899  0x4b, /* FC_PP */
900  0x5c, /* FC_PAD */
901 /* 40 */
902  0x46, /* FC_NO_REPEAT */
903  0x5c, /* FC_PAD */
904 /* 42 */ NdrFcShort( 0x4 ), /* 4 */
905 /* 44 */ NdrFcShort( 0x4 ), /* 4 */
906 /* 46 */ 0x12, 0x0, /* FC_UP */
907 /* 48 */ NdrFcShort( 0xffffffe8 ), /* Offset= -24 (24) */
908 /* 50 */
909  0x5b, /* FC_END */
910 
911  0x8, /* FC_LONG */
912 /* 52 */ 0x8, /* FC_LONG */
913  0x5b, /* FC_END */
914 
915  0x0
916  }
917  };