Browse by Tags

Tagged Content List
  • Blog Post: Interop: marshaling double pointers that can be null

    I recently had to implement IMediaBuffer in managed code. The GetBufferAndLength method takes a BYTE** ppBuffer argument, so I initially went with the following straightforward C# declaration: public void GetBufferAndLength( out IntPtr ppBuffer, out uint cbLength) { ppBuffer = myBuffer; …...
Page 1 of 1 (1 items)