Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.56 KB

imemorybufferreference.md

File metadata and controls

32 lines (22 loc) · 1.56 KB
-api-id -api-type
T:Windows.Foundation.IMemoryBufferReference
winrt interface

Windows.Foundation.IMemoryBufferReference

-description

Represents a reference to an IMemoryBuffer object.

-remarks

The IMemoryBufferReference interface allows a client to retrieve the Capacity of the memory buffer. The same object identity must also implement the COM interface IMemoryBufferByteAccess. A client retrieves the IMemoryBufferByteAccess interface pointer via a QueryInterface from the IMemoryBufferReference object.

C++/WinRT extension functions

Note

Extension functions exist on the C++/WinRT projection types for certain Windows Runtime APIs. For example, winrt::Windows::Foundation::IAsyncAction is the C++/WinRT projection type for IAsyncAction. The extension functions aren't part of the application binary interface (ABI) surface of the actual Windows Runtime types, so they're not listed as members of the Windows Runtime APIs. But you can call them from within any C++/WinRT project. See C++/WinRT functions that extend Windows Runtime APIs.

uint8_t* data() const;

Returns a pointer to the data held inside the buffer.

-examples

-see-also

IClosable