#include "private.hpp"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ PSYNC_ENTRY
◆ CInterruptSynchronizedRoutine()
Definition at line 84 of file interrupt.cpp.
86{
89
90 DPRINT(
"CInterruptSynchronizedRoutine this %p SyncRoutine %p Context %p Status %x\n",
This,
This->m_SyncRoutine,
This->m_DynamicContext,
This->m_Status);
92}
_In_ PKSERVICE_ROUTINE _In_opt_ PVOID ServiceContext
◆ IInterruptServiceRoutine()
Definition at line 139 of file interrupt.cpp.
142{
147
149
150 DPRINT(
"IInterruptServiceRoutine Mode %u\n",
This->m_Mode);
151
154 {
155 CurEntry =
This->m_ServiceRoutines.Flink;
156 while (CurEntry != &
This->m_ServiceRoutines)
157 {
161 {
162
164 break;
165 }
166 CurEntry = CurEntry->
Flink;
167 }
168 return Ret;
169 }
171 {
172 CurEntry =
This->m_ServiceRoutines.Flink;
173 while (CurEntry != &
This->m_ServiceRoutines)
174 {
178 {
179
181 }
182 CurEntry = CurEntry->
Flink;
183 }
184 return Ret;
185 }
187 {
188 do
189 {
191 CurEntry =
This->m_ServiceRoutines.Flink;
192 while (CurEntry != &
This->m_ServiceRoutines)
193 {
197 {
198
201 }
202 CurEntry = CurEntry->
Flink;
203 }
205 return Ret;
206 }
207 else
208 {
210 return Ret;
211 }
212}
@ InterruptSyncModeNormal
@ InterruptSyncModeRepeat
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
◆ PcNewInterruptSync()
Definition at line 295 of file interrupt.cpp.
301{
304
305 DPRINT(
"PcNewInterruptSync entered OutInterruptSync %p OuterUnknown %p ResourceList %p ResourceIndex %u Mode %d\n",
307
310
313
317
318 Status =
This->QueryInterface(IID_IInterruptSync, (
PVOID*)OutInterruptSync);
319
321 {
324 }
325
327
328
329
330
332 This->m_ResourceIndex = ResourceIndex;
336
338}
#define NT_SUCCESS(StatCode)
#define InitializeListHead(ListHead)
#define KeInitializeSpinLock(sl)
#define CmResourceTypeInterrupt
#define STATUS_INVALID_PARAMETER
#define STATUS_INSUFFICIENT_RESOURCES
_Must_inspect_result_ _In_ WDFIORESREQLIST _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFIORESLIST * ResourceList
Referenced by CMiniport::ProcessResources(), CAC97MiniportWaveRT::ProcessResources(), and STDMETHODIMP_().