- Do not generate manifest files for drivers or native apps.
[reactos.git] / reactos / drivers / multimedia / portcls / portcls.h
1 /*
2
3 Move to w32api when it is ready.
4
5 */
6 #ifndef _PORTCLS_H
7 #define _PORTCLS_H
8 #if __GNUC__ >=3
9 #pragma GCC system_header
10 #endif
11
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 /* This header is total bull**** */
17
18 #include <ntddk.h>
19
20 #define PORTCLASSAPI extern
21
22 PORTCLASSAPI NTSTATUS STDCALL
23 PcAddAdapterDevice(
24 ULONG DriverObject,
25 ULONG PhysicalDeviceObject,
26 ULONG StartDevice,
27 ULONG MaxObjects,
28 ULONG DeviceExtensionSize
29 );
30
31 PORTCLASSAPI NTSTATUS STDCALL
32 PcAddContentHandlers(
33 ULONG ContentId,
34 ULONG paHandlers,
35 ULONG NumHandlers
36 );
37
38 PORTCLASSAPI NTSTATUS STDCALL
39 PcCompleteIrp(
40 ULONG DeviceObject,
41 ULONG Irp,
42 ULONG Status
43 );
44
45 PORTCLASSAPI NTSTATUS STDCALL
46 PcCompletePendingPropertyRequest(
47 ULONG PropertyRequest,
48 ULONG NtStatus
49 );
50
51 PORTCLASSAPI NTSTATUS STDCALL
52 PcCreateContentMixed(
53 ULONG paContentId,
54 ULONG cContentId,
55 ULONG pMixedContentId
56 );
57
58 PORTCLASSAPI NTSTATUS STDCALL
59 PcDestroyContent(
60 ULONG ContentId
61 );
62
63 PORTCLASSAPI NTSTATUS STDCALL
64 PcDispatchIrp(
65 ULONG DeviceObject,
66 ULONG Irp
67 );
68
69 PORTCLASSAPI NTSTATUS STDCALL
70 PcForwardContentToDeviceObject(
71 ULONG ContentId,
72 ULONG Reserved,
73 ULONG DrmForward
74 );
75
76 PORTCLASSAPI NTSTATUS STDCALL
77 PcForwardContentToFileObject(
78 ULONG ContentId,
79 ULONG FileObject
80 );
81
82 PORTCLASSAPI NTSTATUS STDCALL
83 PcForwardContentToInterface(
84 ULONG ContentId,
85 ULONG Unknown,
86 ULONG NumMethods
87 );
88
89 PORTCLASSAPI NTSTATUS STDCALL
90 PcForwardIrpSynchronous(
91 ULONG DeviceObject,
92 ULONG Irp
93 );
94
95 PORTCLASSAPI NTSTATUS STDCALL
96 PcGetContentRights(
97 ULONG ContentId,
98 ULONG DrmRights
99 );
100
101 PORTCLASSAPI NTSTATUS STDCALL
102 PcGetDeviceProperty(
103 ULONG DeviceObject,
104 ULONG DeviceProperty,
105 ULONG BufferLength,
106 ULONG PropertyBuffer,
107 ULONG ResultLength
108 );
109
110 PORTCLASSAPI ULONGLONG STDCALL
111 PcGetTimeInterval(
112 ULONGLONG Timei
113 );
114
115 PORTCLASSAPI NTSTATUS STDCALL
116 PcInitializeAdapterDriver(
117 ULONG DriverObject,
118 ULONG RegistryPathName,
119 ULONG AddDevice
120 );
121
122 PORTCLASSAPI NTSTATUS STDCALL
123 PcNewDmaChannel(
124 ULONG OutDmaChannel,
125 ULONG Unknown,
126 ULONG PoolType,
127 ULONG DeviceDescription,
128 ULONG DeviceObject
129 );
130
131 PORTCLASSAPI NTSTATUS STDCALL
132 PcNewInterruptSync(
133 ULONG OutInterruptSync,
134 ULONG Unknown,
135 ULONG ResourceList,
136 ULONG ResourceIndex,
137 ULONG Mode
138 );
139
140 PORTCLASSAPI NTSTATUS STDCALL
141 PcNewMiniport(
142 ULONG OutMiniport,
143 ULONG ClassId
144 );
145
146 PORTCLASSAPI NTSTATUS STDCALL
147 PcNewPort(
148 ULONG OutPort,
149 ULONG ClassId
150 );
151
152 PORTCLASSAPI NTSTATUS STDCALL
153 PcNewRegistryKey(
154 ULONG OutRegistryKey,
155 ULONG Unknown,
156 ULONG RegistryKeyType,
157 ULONG DesiredAccess,
158 ULONG DeviceObject,
159 ULONG SubDevice,
160 ULONG ObjectAttributes,
161 ULONG CreateOptions,
162 ULONG Disposition
163 );
164
165 PORTCLASSAPI NTSTATUS STDCALL
166 PcNewResourceList(
167 ULONG OutResourceList,
168 ULONG Unknown,
169 ULONG PoolType,
170 ULONG TranslatedResources,
171 ULONG UntranslatedResources
172 );
173
174 PORTCLASSAPI NTSTATUS STDCALL
175 PcNewResourceSublist(
176 ULONG OutResourceList,
177 ULONG Unknown,
178 ULONG PoolType,
179 ULONG ParentList,
180 ULONG MaximumEntries
181 );
182
183 PORTCLASSAPI NTSTATUS STDCALL
184 PcNewServiceGroup(
185 ULONG OutServiceGroup,
186 ULONG Unknown
187 );
188
189 PORTCLASSAPI NTSTATUS STDCALL
190 PcRegisterAdapterPowerManagement(
191 ULONG Unknown,
192 ULONG pvContext
193 );
194
195 PORTCLASSAPI NTSTATUS STDCALL
196 PcRegisterIoTimeout(
197 ULONG pDeviceObject,
198 ULONG pTimerRoutine,
199 ULONG pContext
200 );
201
202 PORTCLASSAPI NTSTATUS STDCALL
203 PcRegisterPhysicalConnection(
204 ULONG DeviceObject,
205 ULONG FromUnknown,
206 ULONG FromPin,
207 ULONG ToUnknown,
208 ULONG ToPin
209 );
210
211 PORTCLASSAPI NTSTATUS STDCALL
212 PcRegisterPhysicalConnectionFromExternal(
213 ULONG DeviceObject,
214 ULONG FromString,
215 ULONG FromPin,
216 ULONG ToUnknown,
217 ULONG ToPin
218 );
219
220 PORTCLASSAPI NTSTATUS STDCALL
221 PcRegisterPhysicalConnectionToExternal(
222 ULONG DeviceObject,
223 ULONG FromUnknown,
224 ULONG FromPin,
225 ULONG ToString,
226 ULONG ToPin
227 );
228
229 PORTCLASSAPI NTSTATUS STDCALL
230 PcRegisterSubdevice(
231 ULONG DeviceObject,
232 ULONG SubdevName,
233 ULONG Unknown
234 );
235
236 PORTCLASSAPI NTSTATUS STDCALL
237 PcRequestNewPowerState(
238 ULONG pDeviceObject,
239 ULONG RequestedNewState
240 );
241
242 PORTCLASSAPI NTSTATUS STDCALL
243 PcUnregisterIoTimeout(
244 ULONG pDeviceObject,
245 ULONG pTimerRoutine,
246 ULONG pContext
247 );
248
249 #ifdef __cplusplus
250 }
251 #endif
252
253 #endif