1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for mpeg2structs.idl:
8       Oicf, W1, Zp8, env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37
38 #ifndef __mpeg2structs_h__
39 #define __mpeg2structs_h__
40
41 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
42 #pragma once
43 #endif
44
45 /* Forward Declarations */ 
46
47 /* header files for imported files */
48 #include "wtypes.h"
49
50 #ifdef __cplusplus
51 extern "C"{
52 #endif 
53
54
55 /* interface __MIDL_itf_mpeg2structs_0000_0000 */
56 /* [local] */ 
57
58 #pragma once
59
60 #pragma pack(push)
61
62 #pragma pack(1)
63 typedef /* [public] */ struct __MIDL___MIDL_itf_mpeg2structs_0000_0000_0001
64       {
65       WORD Bits;
66       }     PID_BITS_MIDL;
67
68 typedef /* [public][public][public][public][public][public][public][public] */ struct __MIDL___MIDL_itf_mpeg2structs_0000_0000_0002
69       {
70       WORD Bits;
71       }     MPEG_HEADER_BITS_MIDL;
72
Lines 73 ... 411 are skipped.
412                     if ((_pSection)->TableId == 0x3B ||                                                \
413                           (_pSection)->TableId == 0x3C)                                                   \
414                     {                                                                                                         \
415                           SWAPBYTES((reinterpret_cast<PDSMCC_SECTION>(_pSection))->MessageId);                \
416                           SWAPWORDS((reinterpret_cast<PDSMCC_SECTION>(_pSection))->TransactionId);          \
417                           SWAPBYTES((reinterpret_cast<PDSMCC_SECTION>(_pSection))->MessageLength);          \
418                     }                                                                                                                                       \
419                     UNSWAP_MPEG_SECTION_HEADER_BYTES(_pSection)                                      \
420              }                                                                                                                   \
421       }
422
423 #define UNSWAP_MPEG_SECTION_HEADER_BYTES(_pSection)                                         \
424       {                                                                                                                      \
425              if (_pSection)                                                                                          \
426              {                                                                                                               \
427                     if (reinterpret_cast<PMPEG_HEADER_BITS>(&((reinterpret_cast<PLONG_SECTION>(_pSection)->Header.W)))->SectionSyntaxIndicator || \
428                                  (_pSection)->TableId == 0x00 ||                                             \
429                                  (_pSection)->TableId == 0x3A ||                                             \
430                                  (_pSection)->TableId == 0x3B ||                                             \
431                                  (_pSection)->TableId == 0x3C ||                                             \
432                                  (_pSection)->TableId == 0x3D ||                                             \
433                                  (_pSection)->TableId == 0x3E)                                                \
434                     {                                                                                                            \
435                           SWAPBYTES(reinterpret_cast<PLONG_SECTION>(_pSection)->TableIdExtension);      \
436                     }                                                                                                                                   \
437                     SWAPBYTES(reinterpret_cast<PLONG_SECTION>(_pSection)->Header.W);                          \
438              }                                                                                                                                          \
439       }
440
441
442 #pragma pack(pop)
443
444
445 extern RPC_IF_HANDLE __MIDL_itf_mpeg2structs_0000_0000_v0_0_c_ifspec;
446 extern RPC_IF_HANDLE __MIDL_itf_mpeg2structs_0000_0000_v0_0_s_ifspec;
447
448 /* Additional Prototypes for ALL interfaces */
449
450 /* end of Additional Prototypes */
451
452 #ifdef __cplusplus
453 }
454 #endif
455
456 #endif
457
458
459
460