If you mean MDX, itβs been a while since I played with it, so it can be completely stupid, but there should be a βLockβ method on the surface that will give access to bytes, but it can be a little slower than you are used to with direct access to the main pointer ...
Perhaps you can mark your project / class as "unsafe", then access the built-in DX procedures to get the pointer through pinvoke? Then, the insecure part of your code should be able to access data directly. Correctly?
, . , , DirectShow/MDX. , Google, .