Please bear with me as I'm not well versed with driver development.
I have a composite device which exposes COM port driver and another NDIS driver. COM port driver is an existing driver which responds to AT commands. I need to access this COM port from NDIS driver.
I am Getting the Device interface by IoGetDeviceInterface and then trying to get the handle to COM port by calling zwcreatefile. I am getting the error code as STATUS_ACCESS_VIOLATION.
Following is my code, Please tell me if i had made a mistake anywhere.
status = IoGetDeviceInterfaces
(
(GUID*)GUID_DEVINTERFACE_COMPORT,
NULL,
0,
&pDevList
);
You are about to answer a thread that has been inactive for more than 6 months. If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.