#include "stddef.h"
#include "string.h"
#include "ntddk.h"
#include "ntddstor.h"
#include "cdrom.h"
#include "mmc.h"
#include "scratch.h"
Go to the source code of this file.
◆ _IRQL_requires_max_() [1/2]
Definition at line 56 of file mmc.c.
76{
80
82
84 {
87 }
89 {
92 }
93 if (mmcData->CapabilitiesBuffer)
94 {
96 mmcData->CapabilitiesBuffer =
NULL;
97 }
99 {
102 }
106
107 return;
108}
VOID NTAPI IoFreeIrp(IN PIRP Irp)
CDROM_DATA DeviceAdditionalData
ULONG CapabilitiesBufferSize
WDFREQUEST CapabilitiesRequest
_Must_inspect_result_ _In_ WDFDEVICE Device
◆ _IRQL_requires_max_() [2/2]
Definition at line 111 of file mmc.c.
131{
137
139
142
143
144
146 &mmcData->CapabilitiesBuffer,
151 {
155 }
156
159
160
165 {
167 mmcData->CapabilitiesBuffer =
NULL;
170 }
171
172
175 {
179 mmcData->CapabilitiesBuffer =
NULL;
182 }
183
184
187 status = WdfRequestCreateFromIrp(&attributes,
192 {
194 }
195
197}
#define NT_SUCCESS(StatCode)
#define SCSI_GET_CONFIGURATION_REQUEST_TYPE_ALL
PIRP NTAPI IoAllocateIrp(IN CCHAR StackSize, IN BOOLEAN ChargeQuota)
PDEVICE_OBJECT DeviceObject
#define STATUS_INSUFFICIENT_RESOURCES
#define WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(_attributes, _contexttype)