Lock the buffer so the data can be read.
public: IBuffer^ LockRawImageBuffer()
Type: IBuffer
The buffer containing the raw image.
When you are finished reading the data, unlock the buffer.
Namespace: Windows.Kinect
Metadata: windows.winmd
ColorFrame Class
ColorFrame Members
Windows.Kinect Namespace