ReactOS  0.4.15-dev-1207-g698a8e6
tvratings.idl
Go to the documentation of this file.
1 
2 import "oaidl.idl";
3 import "ocidl.idl";
4 
5 typedef enum
6 {
7  MPAA = 0,
8  US_TV = 1,
11  Reserved4 = 4,
12  System5 = 5,
13  System6 = 6,
14  Reserved7 = 7,
18 
19 
20 typedef enum
21 {
22  TvRat_0 = 0,
23  TvRat_1 = 1,
24  TvRat_2 = 2,
25  TvRat_3 = 3,
26  TvRat_4 = 4,
27  TvRat_5 = 5,
28  TvRat_6 = 6,
29  TvRat_7 = 7,
33 
34 
35 typedef enum
36 {
45 } EnTvRat_MPAA;
46 
47 typedef enum
48 {
58 
59 typedef enum
60 {
70 
71 typedef enum
72 {
82 
83 typedef enum
84 {
90  BfIsAttr_4 = 16,
91  BfIsAttr_5 = 32,
92  BfIsAttr_6 = 64,
93  BfIsAttr_7 = 128,
96 
97 typedef enum
98 {
106 
107 typedef enum
108 {
112 
113 typedef enum
114 {
118 
119 typedef enum
120 {
124 
125 
126 [
127  object,
128  uuid(C5C5C5B0-3ABC-11D6-B25B-00C04FA0C026),
129  dual,
131 ]
132 interface IXDSToRat : IDispatch
133 {
134  [id(1)]
135  HRESULT Init();
136  [id(2)]
137  HRESULT ParseXDSBytePair([in] BYTE byte1, [in] BYTE byte2, [out] EnTvRat_System *pEnSystem, [out] EnTvRat_GenericLevel *pEnLevel, [out] LONG *plBfEnAttributes);
138 };
139 
140 
141 [
142  object,
143  uuid(C5C5C5B1-3ABC-11D6-B25B-00C04FA0C026),
144  dual,
146 ]
147 interface IEvalRat : IDispatch
148 {
149  [propget, id(1)]
150  HRESULT BlockedRatingAttributes([in] EnTvRat_System enSystem, [in] EnTvRat_GenericLevel enLevel, [out, retval] LONG *plbfAttrs);
151  [propput, id(1)]
152  HRESULT BlockedRatingAttributes([in] EnTvRat_System enSystem, [in] EnTvRat_GenericLevel enLevel, [in] LONG lbfAttrs);
153  [propget, id(2)]
154  HRESULT BlockUnRated([out, retval] BOOL *pfBlockUnRatedShows);
155  [propput, id(2)]
156  HRESULT BlockUnRated([in] BOOL fBlockUnRatedShows);
157  [id(3)]
158  HRESULT MostRestrictiveRating([in] EnTvRat_System enSystem1, [in] EnTvRat_GenericLevel enEnLevel1, [in] LONG lbfEnAttr1, [in] EnTvRat_System enSystem2, [in] EnTvRat_GenericLevel enEnLevel2, [in] LONG lbfEnAttr2, [out] EnTvRat_System *penSystem, [out] EnTvRat_GenericLevel *penEnLevel, [out] LONG *plbfEnAttr);
159  [id(4)]
160  HRESULT TestRating([in] EnTvRat_System enShowSystem, [in] EnTvRat_GenericLevel enShowLevel, [in] LONG lbfEnShowAttributes);
161 
162 };
163 
164 [uuid(C5C5C500-3ABC-11D6-B25B-00C04FA0C026)]
166 {
167  importlib("stdole32.tlb");
168  importlib("stdole2.tlb");
169 
170  [uuid(C5C5C5F0-3ABC-11D6-B25B-00C04FA0C026)]
171  coclass XDSToRat
172  {
173  [default] interface IXDSToRat;
174  };
175  [uuid(C5C5C5F1-3ABC-11D6-B25B-00C04FA0C026)]
176  coclass EvalRat
177  {
178  [default] interface IEvalRat;
179  };
180 };
181 
importlib("stdole2.tlb")
Definition: wingdi.h:1409
EnTvRat_GenericLevel
Definition: tvratings.idl:20
EnTvRat_US_TV
Definition: tvratings.idl:47
HRESULT Init()
coclass SHDocVw::ShellWindows dual
Definition: exdisp.idl:631
EnTvRat_CAE_TV
Definition: tvratings.idl:59
BfEnTvRat_Attributes_CAF_TV
Definition: tvratings.idl:119
HRESULT ParseXDSBytePair([in] BYTE byte1, [in] BYTE byte2, [out] EnTvRat_System *pEnSystem, [out] EnTvRat_GenericLevel *pEnLevel, [out] LONG *plBfEnAttributes)
FT_Library library
Definition: cffdrivr.c:654
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
LONG BlockedRatingAttributes([in] EnTvRat_System enSystem, [in] EnTvRat_GenericLevel enLevel)
BfEnTvRat_GenericAttributes
Definition: tvratings.idl:83
EnTvRat_CAF_TV
Definition: tvratings.idl:71
EnTvRat_MPAA
Definition: tvratings.idl:35
HRESULT MostRestrictiveRating([in] EnTvRat_System enSystem1, [in] EnTvRat_GenericLevel enEnLevel1, [in] LONG lbfEnAttr1, [in] EnTvRat_System enSystem2, [in] EnTvRat_GenericLevel enEnLevel2, [in] LONG lbfEnAttr2, [out] EnTvRat_System *penSystem, [out] EnTvRat_GenericLevel *penEnLevel, [out] LONG *plbfEnAttr)
LONG HRESULT
Definition: typedefs.h:79
BOOL BlockUnRated
EnTvRat_System
Definition: tvratings.idl:5
static FILE * out
Definition: regtests2xml.c:44
BfEnTvRat_Attributes_CAE_TV
Definition: tvratings.idl:113
unsigned char BYTE
Definition: xxhash.c:193
HRESULT TestRating([in] EnTvRat_System enShowSystem, [in] EnTvRat_GenericLevel enShowLevel, [in] LONG lbfEnShowAttributes)
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
BfEnTvRat_Attributes_MPAA
Definition: tvratings.idl:107
GLenum GLuint id
Definition: glext.h:5579
BfEnTvRat_Attributes_US_TV
Definition: tvratings.idl:97
void * object
Definition: jmemsys.h:48