After the latest thread, I decided to convert the WDM driver I have to KMDF. I have a filter driver which captures the IOCTL_KS_READ_STREAM control code, and sets a completion routine with `WdfRequestSetCompletionRoutine` to post-process a camera's image.
I try to access the image structure and the frame in the callback, but unfortunately I weren't able to do this using KMDF API. In the WDM API, I accessed the following:
In the KMDF callback, I tried using these APIs:
But that doesn't work for me.
Could you suggest a way to access and modify the frame data? Thanks.