IMemoryBufferReference and IMemoryBufferByteAccess

根据https://docs.microsoft.com/en-us/uwp/api/windows.foundation.imemorybufferreference,所有实现了IMemoryBufferReference接口的个体都实现了IMemoryBufferByteAccess。IMemoryBufferByteAccess的定义如下:

[ComImport]
[Guid("5B0D3235-4DBA-4D44-865E-8F1D0E4FD04D")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
unsafe interface IMemoryBufferByteAccess
{
    void GetBuffer(byte** buffer, uint* capacity);
}

 

上一篇:netty 的事件驱动


下一篇:react16.9最新特性之componentWillMount等生命周期即将废弃