Hello Doron,
Thank you for your reply. The output of !wdfkd.wdflogdump is following. If I understand it correctly, the IRP_MJ_CREATE request was not dispatched by my driver. How can I know if it was posted at all?
Could be the problem is with CreateFile call itself?
Thank you in advance.
kd> !wdfkd.wdflogdump mydriver.sys
Trace searchpath is:
Trace format prefix is: %7!u!: %!FUNC! -
TMF file used for formatting IFR log is: c:\WinDDK\6000\tools\tracing\i386\wdf01005.tmf
Log at 8196d000
Gather log: Please wait, this may take a moment (reading 4032 bytes).
% read so far … 10, 20, 30, 40, 50, 60, 70, 80, 90, 100
There are 110 log entries
— start of log —
211: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
212: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
213: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
214: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoRead for WDFREQUEST 0x7DE43C80
215: imp_WdfRequestRetrieveOutputBuffer - Enter: WDFREQUEST 0x7DE43C80
216: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB58
217: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
218: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x1, STATUS_SUCCESS
219: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
220: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
221: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
222: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
223: FxPkgIo::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000003(IRP_MJ_READ), IRP_MN 0, IRP 0x8150BBD8
224: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
225: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
226: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
227: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoRead for WDFREQUEST 0x7DE43C80
228: imp_WdfRequestRetrieveOutputBuffer - Enter: WDFREQUEST 0x7DE43C80
229: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB58
230: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
231: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x1, STATUS_SUCCESS
232: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
233: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
234: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
235: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
236: FxPkgIo::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000003(IRP_MJ_READ), IRP_MN 0, IRP 0x8150BBD8
237: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
238: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
239: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
240: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoRead for WDFREQUEST 0x7DE43C80
241: imp_WdfRequestRetrieveOutputBuffer - Enter: WDFREQUEST 0x7DE43C80
242: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB58
243: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
244: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x1, STATUS_SUCCESS
245: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
246: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
247: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
248: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
249: FxPkgIo::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000003(IRP_MJ_READ), IRP_MN 0, IRP 0x8150BBD8
250: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
251: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
252: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
253: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoRead for WDFREQUEST 0x7DE43C80
254: imp_WdfRequestRetrieveOutputBuffer - Enter: WDFREQUEST 0x7DE43C80
255: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB58
256: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
257: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x1, STATUS_SUCCESS
258: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
259: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
260: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
261: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
262: FxPkgIo::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000003(IRP_MJ_READ), IRP_MN 0, IRP 0x8150BBD8
263: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
264: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
265: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
266: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoRead for WDFREQUEST 0x7DE43C80
267: imp_WdfRequestRetrieveOutputBuffer - Enter: WDFREQUEST 0x7DE43C80
268: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB58
269: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
270: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x1, STATUS_SUCCESS
271: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
272: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
273: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
274: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
275: FxPkgIo::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000004(IRP_MJ_WRITE), IRP_MN 0, IRP 0x8150BBD8
276: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
277: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
278: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
279: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoWrite for WDFREQUEST 0x7DE43C80
280: imp_WdfRequestRetrieveInputBuffer - Enter: WDFREQUEST 0x7DE43C80
281: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB48
282: imp_WdfRequestMarkCancelable - Enter: WDFREQUEST 0x7DE43C80
283: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
284: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
285: imp_WdfRequestUnmarkCancelable - Enter: WDFREQUEST 0x7DE43C80
286: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
287: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x8, STATUS_SUCCESS
288: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
289: FxIoQueue::DispatchEvents - Thread 80558E20 is processing WDFQUEUE 0x7DCFAD08
290: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
291: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
292: FxPkgIo::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000003(IRP_MJ_READ), IRP_MN 0, IRP 0x8150BBD8
293: FxDevice::AllocateRequestMemory - Allocating FxRequest* 821BC378, WDFREQUEST 7DE43C80
294: FxIoQueue::QueueRequest - Queuing WDFREQUEST 0x7DE43C80 on WDFQUEUE 0x7DCFAD08
295: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
296: FxIoQueue::DispatchRequestToDriver - Calling driver EvtIoRead for WDFREQUEST 0x7DE43C80
297: imp_WdfRequestRetrieveOutputBuffer - Enter: WDFREQUEST 0x7DE43C80
298: imp_WdfRequestGetParameters - Enter: Request 7DE43C80, Parameters F49DFB58
299: imp_WdfRequestCompleteWithInformation - Completing WDFREQUEST 0x7DE43C80, STATUS_SUCCESS
300: FxRequest::Complete - Completing WDFREQUEST 0x7DE43C80 for IRP 0x8150BBD8 with Information 0x9, STATUS_SUCCESS
301: FxIoQueue::RequestCompletedCallback - Enter: WDFQUEUE 0x7DCFAD08, WDFREQUEST 0x7DE43C80
302: FxIoQueue::DispatchRequestToDriver - WDFREQUEST 0x7DE43C80 dispatched to driver
303: FxDevice::FreeRequestMemory - Free FxRequest* 821BC378 memory
304: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
305: FxPkgGeneral::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000012(IRP_MJ_CLEANUP) IRP 0x8150BBD8
306: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7E0BD1E8
307: FxIoQueue::DispatchEvents - Driver has configured WDFQUEUE 0x7E0BD1E8 for WdfIoQueueDispatchManual
308: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7DCFAD08
309: FxIoQueue::DispatchEvents - No requests on WDFQUEUE 0x7DCFAD08
310: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7E266688
311: FxIoQueue::DispatchEvents - Driver has configured WDFQUEUE 0x7E266688 for WdfIoQueueDispatchManual
312: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7E940C18
313: FxIoQueue::DispatchEvents - Driver has configured WDFQUEUE 0x7E940C18 for WdfIoQueueDispatchManual
314: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x7EAEF728
315: FxIoQueue::DispatchEvents - Driver has configured WDFQUEUE 0x7EAEF728 for WdfIoQueueDispatchManual
316: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x04945350
317: FxIoQueue::DispatchEvents - Driver has configured WDFQUEUE 0x04945350 for WdfIoQueueDispatchManual
318: FxIoQueue::DispatchEvents - Thread 814B4618 is processing WDFQUEUE 0x05046660
319: FxIoQueue::DispatchEvents - Driver has configured WDFQUEUE 0x05046660 for WdfIoQueueDispatchManual
320: FxPkgGeneral::Dispatch - WDFDEVICE 0x7E702BA8 !devobj 0xF8CE86E8 0x00000002(IRP_MJ_CLOSE) IRP 0x8150BBD8
---- end of log ----