ReactOS  0.4.15-dev-2704-gd5265b0
ioctl.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (C) Microsoft Corporation. All rights reserved.
4 
5 Module Name:
6 
7  ioctl.h
8 
9 Abstract:
10 
11  Functions to handle IOCTLs.
12 
13 Author:
14 
15 Environment:
16 
17  kernel mode only
18 
19 Notes:
20 
21 
22 Revision History:
23 
24 --*/
25 
26 #ifndef __IOCTL_H__
27 #define __IOCTL_H__
28 
29 BOOLEAN
31  _In_ WDFDEVICE Device,
32  _In_ WDFREQUEST Request,
34  );
35 
36 BOOLEAN
38  _In_ WDFDEVICE Device,
39  _In_ WDFREQUEST Request,
41  );
42 
43 BOOLEAN
45  _In_ WDFDEVICE Device,
46  _In_ WDFREQUEST Request,
48  );
49 
50 BOOLEAN
52  _In_ WDFDEVICE Device,
53  _In_ WDFREQUEST Request,
55  );
56 
57 BOOLEAN
59  _In_ WDFDEVICE Device,
60  _In_ WDFREQUEST Request,
62  );
63 
64 //
65 // I/O Request Handlers
66 //
67 
68 // Handlers that are called directly in dispatch routine.
69 
72  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
73  _In_ WDFREQUEST Request,
75  _Out_ size_t * DataLength
76  );
77 
80  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
81  _In_ WDFREQUEST Request,
82  _Out_ size_t * DataLength
83  );
84 
87  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
88  _In_ WDFREQUEST Request,
90  _Out_ size_t * DataLength
91  );
92 
95  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
96  _In_ WDFREQUEST Request,
98  _Out_ size_t * DataLength
99  );
100 
101 NTSTATUS
103  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
104  _In_ WDFREQUEST Request,
106  _Out_ size_t * DataLength
107  );
108 
109 NTSTATUS
111  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
112  _In_ WDFREQUEST Request,
114  _Out_ size_t * DataLength
115  );
116 
117 NTSTATUS
119  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
120  _In_ WDFREQUEST Request,
122  _Out_ size_t * DataLength
123  );
124 
125 NTSTATUS
127  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
128  _In_ WDFREQUEST Request,
130  _Out_ size_t * DataLength
131  );
132 
134 NTSTATUS
135 RequestHandleEventNotification(
136  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
137  _In_opt_ WDFREQUEST Request,
139  _Out_ size_t * DataLength
140  );
141 
142 // Handlers that are called in RequestProcessSerializedIoctl in a work item.
143 
145 NTSTATUS
146 RequestHandleGetDvdRegion(
147  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
148  _In_ WDFREQUEST Request,
149  _Out_ size_t * DataLength
150  );
151 
152 NTSTATUS
154  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
155  _In_ WDFREQUEST Request,
157  _Out_ size_t * DataLength
158  );
159 
161 NTSTATUS
162 RequestHandleReadTOC(
163  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
164  _In_ WDFREQUEST Request,
166  _Out_ size_t * DataLength
167  );
168 
170 NTSTATUS
171 RequestHandleReadTocEx(
172  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
173  _In_ WDFREQUEST Request,
175  _Out_ size_t * DataLength
176  );
177 
179 NTSTATUS
180 RequestHandleGetConfiguration(
181  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
182  _In_ WDFREQUEST Request,
184  _Out_ size_t * DataLength
185  );
186 
188 NTSTATUS
189 RequestHandleGetDriveGeometry(
190  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
191  _In_ WDFREQUEST Request,
193  _Out_ size_t * DataLength
194  );
195 
197 NTSTATUS
198 RequestHandleDiskVerify(
199  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
200  _In_ WDFREQUEST Request,
202  _Out_ size_t * DataLength
203  );
204 
206 NTSTATUS
207 RequestHandleCheckVerify(
208  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
209  _In_ WDFREQUEST Request,
211  _Out_ size_t * DataLength
212  );
213 
215 NTSTATUS
216 RequestHandleFakePartitionInfo(
217  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
218  _In_ WDFREQUEST Request,
220  _Out_ size_t * DataLength
221  );
222 
224 NTSTATUS
225 RequestHandleEjectionControl(
226  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
227  _In_ WDFREQUEST Request,
229  _Out_ size_t * DataLength
230  );
231 
233 NTSTATUS
234 RequestHandleLoadEjectMedia(
235  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
236  _In_ WDFREQUEST Request,
238  _Out_ size_t * DataLength
239  );
240 
242 NTSTATUS
243 RequestHandleMcnControl(
244  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
245  _In_ WDFREQUEST Request,
246  _Out_ size_t * DataLength
247  );
248 
250 NTSTATUS
251 RequestHandleReserveRelease(
252  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
253  _In_ WDFREQUEST Request,
255  _Out_ size_t * DataLength
256  );
257 
259 NTSTATUS
260 RequestHandlePersistentReserve(
261  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
262  _In_ WDFREQUEST Request,
264  _Out_ size_t * DataLength
265  );
266 
267 #if (NTDDI_VERSION >= NTDDI_WIN8)
269 NTSTATUS
270 RequestHandleAreVolumesReady(
271  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
272  _In_ WDFREQUEST Request,
274  _Out_ size_t * DataLength
275  );
276 
278 NTSTATUS
279 RequestHandleVolumeOnline(
280  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
281  _In_ WDFREQUEST Request,
283  _Out_ size_t * DataLength
284  );
285 #endif
286 
288 NTSTATUS
289 DeviceHandleRawRead(
290  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
291  _In_ WDFREQUEST Request,
293  _Out_ size_t * DataLength
294  );
295 
297 NTSTATUS
298 DeviceHandlePlayAudioMsf(
299  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
300  _In_ WDFREQUEST Request,
302  _Out_ size_t * DataLength
303  );
304 
306 NTSTATUS
307 DeviceHandleReadQChannel(
308  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
309  _In_ WDFREQUEST Request,
311  _Out_ size_t * DataLength
312  );
313 
315 NTSTATUS
316 DeviceHandlePauseAudio(
317  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
318  _In_ WDFREQUEST Request,
319  _Out_ size_t * DataLength
320  );
321 
323 NTSTATUS
324 DeviceHandleResumeAudio(
325  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
326  _In_ WDFREQUEST Request,
327  _Out_ size_t * DataLength
328  );
329 
331 NTSTATUS
332 DeviceHandleSeekAudioMsf(
333  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
334  _In_ WDFREQUEST Request,
336  _Out_ size_t * DataLength
337  );
338 
340 NTSTATUS
341 DeviceHandleStopAudio(
342  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
343  _In_ WDFREQUEST Request,
344  _Out_ size_t * DataLength
345  );
346 
348 NTSTATUS
349 DeviceHandleGetSetVolume(
350  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
351  _In_ WDFREQUEST Request,
353  _Out_ size_t * DataLength
354  );
355 
357 NTSTATUS
358 DeviceHandleReadDvdStructure(
359  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
360  _In_ WDFREQUEST Request,
362  _Out_ size_t * DataLength
363  );
364 
366 NTSTATUS
367 DeviceHandleDvdEndSession(
368  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
369  _In_ WDFREQUEST Request,
371  _Out_ size_t * DataLength
372  );
373 
375 NTSTATUS
376 DeviceHandleDvdStartSessionReadKey(
377  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
378  _In_ WDFREQUEST Request,
380  _Out_ size_t * DataLength
381  );
382 
384 NTSTATUS
385 DeviceHandleDvdSendKey(
386  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
387  _In_ WDFREQUEST Request,
389  _Out_ size_t * DataLength
390  );
391 
393 NTSTATUS
394 DeviceHandleSetReadAhead(
395  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
396  _In_ WDFREQUEST Request,
398  _Out_ size_t * DataLength
399  );
400 
402 NTSTATUS
403 DeviceHandleSetSpeed(
404  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
405  _In_ WDFREQUEST Request,
407  _Out_ size_t * DataLength
408  );
409 
411 NTSTATUS
412 DeviceHandleAacsReadMediaKeyBlock(
413  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
414  _In_ WDFREQUEST Request,
416  _Out_ size_t * DataLength
417  );
418 
420 NTSTATUS
421 DeviceHandleAacsStartSession(
422  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
423  _In_ WDFREQUEST Request,
425  _Out_ size_t * DataLength
426  );
427 
429 NTSTATUS
430 DeviceHandleAacsEndSession(
431  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
432  _In_ WDFREQUEST Request,
434  _Out_ size_t * DataLength
435  );
436 
438 NTSTATUS
439 DeviceHandleAacsSendCertificate(
440  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
441  _In_ WDFREQUEST Request,
443  _Out_ size_t * DataLength
444  );
445 
447 NTSTATUS
448 DeviceHandleAacsGetCertificate(
449  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
450  _In_ WDFREQUEST Request,
452  _Out_ size_t * DataLength
453  );
454 
456 NTSTATUS
457 DeviceHandleAacsGetChallengeKey(
458  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
459  _In_ WDFREQUEST Request,
461  _Out_ size_t * DataLength
462  );
463 
465 NTSTATUS
466 DeviceHandleSendChallengeKey(
467  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
468  _In_ WDFREQUEST Request,
470  _Out_ size_t * DataLength
471  );
472 
474 NTSTATUS
475 DeviceHandleReadVolumeId(
476  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
477  _In_ WDFREQUEST Request,
479  _Out_ size_t * DataLength
480  );
481 
483 NTSTATUS
484 DeviceHandleAacsReadSerialNumber(
485  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
486  _In_ WDFREQUEST Request,
488  _Out_ size_t * DataLength
489  );
490 
492 NTSTATUS
493 DeviceHandleAacsReadMediaId(
494  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
495  _In_ WDFREQUEST Request,
497  _Out_ size_t * DataLength
498  );
499 
501 NTSTATUS
502 DeviceHandleAacsReadBindingNonce(
503  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
504  _In_ WDFREQUEST Request,
506  _Out_ size_t * DataLength
507  );
508 
510 NTSTATUS
511 DeviceHandleAacsGenerateBindingNonce(
512  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
513  _In_ WDFREQUEST Request,
515  _Out_ size_t * DataLength
516  );
517 
519 NTSTATUS
520 RequestHandleEnableStreaming(
521  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
522  _In_ WDFREQUEST Request,
523  _Out_ size_t * DataLength
524  );
525 
527 NTSTATUS
528 RequestHandleSendOpcInformation(
529  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
530  _In_ WDFREQUEST Request,
531  _Out_ size_t * DataLength
532  );
533 
535 NTSTATUS
536 RequestHandleGetPerformance(
537  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
538  _In_ WDFREQUEST Request,
540  _Out_ size_t * DataLength
541  );
542 
544 NTSTATUS
545 RequestHandleMcnSyncFakeIoctl(
546  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
547  _Out_ size_t * DataLength
548  );
549 
550 // Handlers that will be called by Sync process.
551 
552 // RequestHandleUnknownIoctl could be called at DISPATCH_LEVEL.
553 NTSTATUS
555  _In_ WDFDEVICE Device,
556  _In_ WDFREQUEST Request
557  );
558 
560 NTSTATUS
561 RequestHandleExclusiveAccessQueryLockState(
562  _In_ WDFDEVICE Device,
563  _In_ WDFREQUEST Request
564  );
565 
567 NTSTATUS
568 RequestHandleExclusiveAccessLockDevice(
569  _In_ WDFDEVICE Device,
570  _In_ WDFREQUEST Request
571  );
572 
574 NTSTATUS
575 RequestHandleExclusiveAccessUnlockDevice(
576  _In_ WDFDEVICE Device,
577  _In_ WDFREQUEST Request
578  );
579 
580 NTSTATUS
582  _In_ WDFDEVICE Device,
583  _In_ WDFREQUEST Request
584  );
585 
586 NTSTATUS
588  _In_ WDFDEVICE Device,
589  _In_ WDFREQUEST Request
590  );
591 
593 NTSTATUS
594 RequestHandleScsiPassThrough(
595  _In_ WDFDEVICE Device,
596  _In_ WDFREQUEST Request
597  );
598 
599 // Read/write handler called possibly at DISPATCH_LEVEL.
600 
601 NTSTATUS
603  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
604  _In_ WDFREQUEST Request,
606  );
607 
608 //
609 // I/O Request Validation helpers
610 //
611 
612 NTSTATUS
614  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
615  _In_ WDFREQUEST Request,
617  _Out_ size_t * DataLength
618  );
619 
620 NTSTATUS
622  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
623  _In_ WDFREQUEST Request,
625  _Out_ size_t * DataLength
626  );
627 
628 NTSTATUS
630  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
632  _Out_ size_t * DataLength
633  );
634 
635 NTSTATUS
637  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
639  _Out_ size_t * DataLength
640  );
641 
642 NTSTATUS
644  _In_ WDFREQUEST Request,
646  _Out_ size_t * DataLength
647  );
648 
649 NTSTATUS
651  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
653  _Out_ size_t * DataLength
654  );
655 
656 NTSTATUS
658  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
660  _Out_ size_t * DataLength
661  );
662 
663 NTSTATUS
665  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
666  _In_ WDFREQUEST Request,
668  _Out_ size_t * DataLength
669  );
670 
671 NTSTATUS
673  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
674  _In_ WDFREQUEST Request,
676  _Out_ size_t * DataLength
677  );
678 
679 NTSTATUS
681  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
682  _In_ WDFREQUEST Request,
684  _Out_ size_t * DataLength
685  );
686 
687 NTSTATUS
689  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
690  _In_ WDFREQUEST Request,
692  _Out_ size_t * DataLength
693  );
694 
695 NTSTATUS
697  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
698  _In_ WDFREQUEST Request,
700  _Out_ size_t * DataLength
701  );
702 
703 NTSTATUS
705  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
707  _Out_ size_t * DataLength
708  );
709 
710 NTSTATUS
712  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
713  _In_ WDFREQUEST Request,
715  _Out_ size_t * DataLength
716  );
717 
718 NTSTATUS
720  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
721  _In_ WDFREQUEST Request,
723  _Out_ size_t * DataLength
724  );
725 
726 NTSTATUS
728  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
729  _In_ WDFREQUEST Request,
731  _Out_ size_t * DataLength
732  );
733 
734 NTSTATUS
736  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
737  _In_ WDFREQUEST Request,
739  _Out_ size_t * DataLength
740  );
741 
742 NTSTATUS
744  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
745  _In_ WDFREQUEST Request,
747  _Out_ size_t * DataLength
748  );
749 
750 NTSTATUS
752  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
753  _In_ WDFREQUEST Request,
755  _Out_ size_t * DataLength
756  );
757 
758 NTSTATUS
760  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
761  _In_ WDFREQUEST Request,
763  _Out_ size_t * DataLength
764  );
765 
766 NTSTATUS
768  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
769  _In_ WDFREQUEST Request,
771  _Out_ size_t * DataLength
772  );
773 
774 NTSTATUS
776  _In_ WDFREQUEST Request,
778  _Out_ size_t * DataLength
779  );
780 
781 NTSTATUS
783  _In_ WDFREQUEST Request,
785  _Out_ size_t * DataLength
786  );
787 
788 NTSTATUS
790  _In_ WDFREQUEST Request,
792  _Out_ size_t * DataLength
793  );
794 
795 NTSTATUS
797  _In_ WDFREQUEST Request,
799  _Out_ size_t * DataLength
800  );
801 
802 BOOLEAN
804  _In_ WDFREQUEST Request,
805  _In_ BOOLEAN IsReadRequest
806  );
807 
808 NTSTATUS
810  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
811  _In_ WDFREQUEST Request,
813  );
814 
815 NTSTATUS
817  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
818  _In_ WDFREQUEST Request,
820  _Out_ size_t * DataLength
821  );
822 
823 NTSTATUS
825  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
826  _In_ WDFREQUEST Request,
828  _Out_ size_t * DataLength
829  );
830 
831 NTSTATUS
833  _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
834  _In_ WDFREQUEST Request,
836  _Out_ size_t * DataLength
837  );
838 
839 
840 //
841 // completion routines
842 //
843 
844 
845 
846 
847 #endif // __IOCTL_H__
NTSTATUS RequestValidateGetLastSession(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1029
_In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_PARAMETERS _Out_ size_t * DataLength
Definition: ioctl.h:137
NTSTATUS RequestValidateExclusiveAccess(_In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:2240
NTSTATUS RequestValidateAacsBindingNonce(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:2162
BOOLEAN RequestDispatchProcessDirectly(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: cdrom.c:1694
NTSTATUS RequestValidateRawRead(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:650
NTSTATUS RequestHandleQueryPropertyDeviceUniqueId(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request)
Definition: ioctl.c:2799
NTSTATUS RequestValidateAacsSendCertificate(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1697
NTSTATUS RequestValidateSendOpcInformation(_In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3576
NTSTATUS RequestHandleMountQueryUniqueId(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3939
LONG NTSTATUS
Definition: precomp.h:26
NTSTATUS RequestValidatePersistentReserve(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:6715
NTSTATUS RequestHandleUnknownIoctl(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request)
_In_ WDFREQUEST Request
Definition: wdfdevice.h:547
NTSTATUS RequestHandleGetMediaTypeEx(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _Out_ size_t *DataLength)
Definition: ioctl.c:336
NTSTATUS RequestValidateDvdSendKey(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1274
NTSTATUS RequestValidateAacsStartSession(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1651
NTSTATUS RequestHandleMountQuerySuggestedLinkName(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:4088
NTSTATUS RequestValidateDvdEndSession(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3408
#define _In_opt_
Definition: no_sal2.h:212
NTSTATUS RequestValidateEnableStreaming(_In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3515
NTSTATUS RequestValidateAacsEndSession(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3462
NTSTATUS RequestValidateDvdReadKey(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3286
unsigned char BOOLEAN
#define _Out_
Definition: no_sal2.h:160
NTSTATUS RequestValidateDvdStartSession(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1225
NTSTATUS RequestValidateAacsReadVolumeId(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1955
BOOLEAN RequestDispatchUnknownRequests(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: cdrom.c:3093
NTSTATUS RequestValidateReadWrite(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: ioctl.c:6117
NTSTATUS RequestValidateGetConfiguration(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1364
NTSTATUS RequestValidateReadQChannel(_In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1072
NTSTATUS RequestValidateAacsGetChallengeKey(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1826
NTSTATUS RequestValidateAacsReadMediaKeyBlock(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1584
BOOLEAN RequestDispatchSpecialIoctls(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: cdrom.c:2849
NTSTATUS RequestHandleGetDeviceNumber(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:5280
NTSTATUS RequestValidateAacsReadSerialNumber(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:2024
NTSTATUS RequestHandleGetInquiryData(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:270
NTSTATUS RequestHandleSetHotPlugInfo(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:5392
NTSTATUS RequestValidateReadTocEx(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:887
NTSTATUS RequestHandleMountQueryDeviceName(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:4015
NTSTATUS RequestHandleGetHotPlugInfo(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:5337
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
_Must_inspect_result_ _In_ WDFDEVICE Device
Definition: wdfchildlist.h:474
NTSTATUS RequestHandleReadWrite(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: ioctl.c:6353
NTSTATUS RequestHandleQueryPropertyWriteCache(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request)
Definition: ioctl.c:2974
#define _In_
Definition: no_sal2.h:158
_In_opt_ WDFREQUEST _In_opt_ PWDF_REQUEST_PARAMETERS RequestParameters
Definition: ioctl.h:137
BOOLEAN RequestDispatchSyncWithSequentialQueue(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: cdrom.c:2717
NTSTATUS RequestValidateAacsSendChallengeKey(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1895
NTSTATUS RequestValidateDvdReadStructure(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1151
NTSTATUS RequestHandleQueryPropertyRetrieveCachedData(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:2628
NTSTATUS RequestValidateAacsGetCertificate(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1757
_IRQL_requires_max_(APC_LEVEL) NTSTATUS RequestHandleEventNotification(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension
Definition: cddata.c:197
NTSTATUS RequestValidateGetPerformance(_In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:3634
NTSTATUS RequestValidateAacsReadMediaId(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:2093
NTSTATUS RequestValidateReadToc(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:984
#define APC_LEVEL
Definition: env_spec_w32.h:695
NTSTATUS RequestValidateSetSpeed(_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters, _Out_ size_t *DataLength)
Definition: ioctl.c:1501
BOOLEAN RequestIsRealtimeStreaming(_In_ WDFREQUEST Request, _In_ BOOLEAN IsReadRequest)
Definition: ioctl.c:6050
BOOLEAN RequestDispatchToSequentialQueue(_In_ WDFDEVICE Device, _In_ WDFREQUEST Request, _In_ WDF_REQUEST_PARAMETERS RequestParameters)
Definition: cdrom.c:1855