title: Accessing DirectDraw surface memory directly in C#
body: <p>I have a video capture card that works by periodically filling a user-specified buffer (a given memory address) with image data. That works for me in C++, because I can just give it a Surface.lpSurface pointer address and the capture card driver will automatically fill it with new image data every frame, upon which I can flip() and get the new image, resulting in a nice clean video feed.</p>
  
  <p>The problem is that I'm porting to C# and I need to be able to do the same thing, but the Managed version of DirectDraw.Surface has no method/property for obtaining the memory address of the surface memory area. All I need is this address, is there no way to get it using C#?</p>